News for hackers. Stuff that matters.
Re:Chumsky: A Tutorial by xiphias2 on Tuesday April 12, 2022 @02:19PM (#31006441)
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.

Re:Chumsky: A Tutorial by DylanSp on Tuesday April 12, 2022 @04:48PM (#31008053)
Rust 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).
Re:Chumsky: A Tutorial by zesterer on Wednesday April 13, 2022 @05:37AM (#31012710)
The 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.

Re:Chumsky: A Tutorial by charcircuit on Tuesday April 12, 2022 @06:56PM (#31009231)
LLVM