Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

When making a list of things, like so:


dark_zone : zone

  locations = [ a, b, c, d..... ]


The parser moans about an unexpected "\n" if you break the list up to make the list look neater.    Any chance you can  tell the parser to treat \n as whitespace when parsing lists?

  locations = [a,

                           b,

                          c]


type of thing :)

:)

Yes. Just don't put the first item on the first line.

locations = [
a,
b,
c,
d
]
(+1)

OK, unusual, but ok, that'll help me lay some stuff out nicely.  thanks! :)

Yeah, I've raised this before. The white-space handling in Adventuron is a bit weird. As Chris knows, I have trouble with Ctrl+Space working. The hinting and auto-completion shown in the videos doesn't work at all. The code suggestions don't work if there's an error and often don't work unless the cursor is on a blank line. And the syntax colouring doesn't work properly if the opening curly bracket '{' following key words is on a new line.

(+1)

This is related to your "order of blocks" issue from before. It's (largely) a problem with the iterative parser. The syntax highlighting issue is separate and I'll look at that too.