| 10 Dec 2025 |
piegames | Though on a first glance the ariadne API seems a lot simpler | 15:32:55 |
Charles | hmm what about chumsky precludes its use for LSPs and formatters? | 15:34:30 |
kloenk | my want for a lossless syntax tree. Chumsky apparently can somehow integrate into rowan, but found it so painful that I decided to use logos and do it with only logos | 15:35:09 |
Charles | oh right yeah i forgot to mention rowan exists | 15:35:29 |
kloenk | yeah that is true. and apparently they have a todo for screen reader output so maybe at some point | 15:35:52 |
piegames | For lix performance will be key and everything else will require a secondary parser. Maybe even error handling will get a secondary parser | 15:35:59 |
piegames | In reply to @kloenk:kloenk.eu my want for a lossless syntax tree. Chumsky apparently can somehow integrate into rowan, but found it so painful that I decided to use logos and do it with only logos With lossless syntax tree you mean CST? | 15:36:19 |
kloenk | then cumsky could be interesting. but apparently it's a pain with the type signatures. My (kconfig) project sadly is single threaded either way as the language is shit | 15:36:46 |
kloenk | yeah I think that's the same. never exatly sure what is what | 15:37:00 |
piegames | One thing I worry about nom is that statless parsing is simpler but may end up requiring more allocations/moves of data and thus hurt performance. Winnow seems to support stateful parsing. How does chumpksy work there? | 15:39:10 |
piegames | Stateful parsing is more annoying on backtracking, but the Nix language is almost LL1 and the two edge cases where it isn't can be handled manually | 15:39:52 |
K900 | cumsky | 15:40:12 |
K900 | Sorry | 15:40:14 |
piegames | Chompsky | 15:41:12 |