|
|
|
|
|
by williamcotton
964 days ago
|
|
I started down this path sometime last year with Crafting Interpreters and I’ve gotten obsessed with this entire world since. I wrote a little language [0] using Python Lex Yacc a couple of months ago because I wanted an awk-like way to quickly make graphs/charts from the CLI. Then I wrote a parser-as-a-type in TypeScript [1] for the same grammar. My plan was to take a look at OCaml for future tinkerings with parsers, but man, F# is already looking very familiar between TypeScript and Lex/Yacc-like things. Thanks for this post, I think I might have a new favorite language in the oven! [0] https://github.com/williamcotton/dotfiles/blob/master/bin/pl... [1] https://github.com/williamcotton/dotfiles/blob/master/bin/pl... |
|