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: formatter #42

Closed Gnarus-G closed 11 months ago

Gnarus-G commented 11 months ago

Realized this will be more complicated than I thought if I want to respect line column maximums - because then I don't know how I'd put line breaks in the middle of expressions. I think I might also have check line lengths multiple time for the same node to be sure it's good?

Gnarus-G commented 11 months ago

I won't implement maximum columns for now.

Gnarus-G commented 11 months ago

unfortunately, the fact that empty ${} in template strings disappear through the lexer defats formatted... need to regroup (refactor the lexer).

Also realize how bad those ParsedNodes in our AST really suck