I this case I don't need a formatter, since if the continuation format is wrong it won't compile. :)
That in mind, I've kept the syntax simple to parse to make it easy to write formatters and high-level tools. The language can be parsed and manipulated without really knowing the semantics of it.
It takes a long time to create a language that does something useful. I'm finally at the point where I can do stuff. I've decided to use SDL and start doing graphics, to keep it interesting. Simple games in particular for now.
I this case I don't need a formatter, since if the continuation format is wrong it won't compile. :)
That in mind, I've kept the syntax simple to parse to make it easy to write formatters and high-level tools. The language can be parsed and manipulated without really knowing the semantics of it.
It takes a long time to create a language that does something useful. I'm finally at the point where I can do stuff. I've decided to use SDL and start doing graphics, to keep it interesting. Simple games in particular for now.
You still may benefit from a formatter. Imagine the case where the user types:
It would still be nice to normalize it and remove the unnecessary whitespace (assuming that the above is not a lexer error):
That's awesome that it's in a workable state! I look forward to following your development!