philm@programming.devtoProgramming Languages@programming.dev•Language Design: Stop Using <> for Generics
2·
9 months agoYeah lemmy-ui doesn’t escape/sanitizes properly…
Yeah lemmy-ui doesn’t escape/sanitizes properly…
For basic usage (similar as vimtutor
): hx --tutor
For the other stuff, as already said, the docs should be rather thorough, the wiki may also be a starting point
I just default to recursive descent parsers (with pratt parsing), simple, efficient, great error messages and almighty (CFGs). For quick prototyping I really like to use https://github.com/zesterer/chumsky currently (pratt parsing was just added, need to try that out again).
But writing a parser generator is certainly an interesting academic task.
Thanks for the link.
It would be interesting, whether this handles macro-expansion as well (I doubt that, haven’t looked into detail yet though).