Gnarus-G / rested

Language/Interpreter for easily defining and running requests to an http server.
GNU General Public License v2.0
2 stars 0 forks source link

feat: formatting #47

Closed Gnarus-G closed 3 months ago

Gnarus-G commented 11 months ago

accidentally merged #42

Gnarus-G commented 4 months ago

So. The fact that empty ${} in template strings disappear through the lexer is fine, because `${}` and "" (an empty string) are equivalent.

Gnarus-G commented 4 months ago

Will refactor the template literal parsing after all. We lose too much information. `${"asdfasdf"}` != `"asdfasdf"` yet the formatter can only assume otherwise because the lexer is too dumb.