4 ms·
Can you tell any other part of the compiler ecosystem that helps you write a new programming language in 1 hour? This is supposed to be a fun article for exper
by xiphias2 5y ago
Can you tell any other part of the compiler ecosystem that helps you write a new programming language in 1 hour?
This is supposed to be a fun article for experimentation in programming languages, not a new advancement in a garbage collection algorithm for increasing the efficiency of a datacenter by 2%.
My favourite new programming language is Svelte for example (just a parser that emits javascript), it's just a little different from HTML/CSS/JS, but just enough to make web development fun again for me.
- DylanSp 5y agoRust already has Nom for parser combinators, though. This library looks fine (at first glance) for a parser library, but it doesn't seem like it helps with building languages beyond just parsing (which is what I expected from the title).
- zesterer 5y agoThe main points of focus for chumsky, beyond nom, are: - Ease of use + ergonomics - Backtracking 'by default' - High quality errors and error recovery Nom is very specifically designed for parsing input not intended to be read by humans, and that focus is evident in the things is prioritises.
- charcircuit 5y agoLLVM