6 ms·
The parser design space is really interesting, but recursive descent seems to be the best go to, and you don’t have to think about parsing theory much. Or you c
by seanmcdirmid 3y ago
The parser design space is really interesting, but recursive descent seems to be the best go to, and you don’t have to think about parsing theory much. Or you could go with no syntax (lisp or scheme style), or a structured language (but you’ll need to do your own editor for that).
You could also try doing an embedded DSL in Haskell or even Kotlin if you just want to get your feet wet.