News for hackers. Stuff that matters.
Re:Chumsky: A Tutorial by postalrat on Tuesday April 12, 2022 @02:20PM (#31006450)
No where in the title or article did I read "compiler".
Re:Chumsky: A Tutorial by gnulinux on Tuesday April 12, 2022 @04:25PM (#31007820)
A programming language implementation is either a compiler or interpreter. Title says "write your own programming language..." which implies an implementation. But that's not the case. As other commenters point out parser is a tiny, usually inconsequential part of a lang implementation.
Re:Chumsky: A Tutorial by zokier on Tuesday April 12, 2022 @04:50PM (#31008079)
The article contains full interpreter?
Re:Chumsky: A Tutorial by gnulinux on Wednesday April 13, 2022 @03:43PM (#31019301)
I wouldn't call it a full interpreter, it just walks expressions' AST. No way to create class/abstractions.
Re:Chumsky: A Tutorial by mhh__ on Tuesday April 12, 2022 @03:57PM (#31007544)
Nearly all mature language implementations are compilers to some extent