s-ludwig / sdlite

Light and fast SDLang parser/generator
MIT License
15 stars 5 forks source link

Add the possibility of arrays as `SDLValue`s #13

Open zyebytevt opened 10 months ago

zyebytevt commented 10 months ago

I realize that this goes against the SDL standard, however I think that adding arrays gives lots more flexibility when writing SDL by hand.

They use the syntax of (1 2 3), as normal braces weren't used at all before, and the omission of comma in-between values keeps it consistent with how multiple values for a node are written.