← Back to context

Comment by WhyOhWhyQ

1 month ago

Any recommendations on books / resources to read in order to participate as a beginner (language creator that is..., not beginner with programming games)?

Racket for sure, it goes straight to the heart of everything. You want simple macro compilers so you can see how simple it all is, not being confused by complex interpreters which totally obscure what is being done here.

Heh, I guess you could read my two books, "Crafting Interpreters", and "Game Programming Patterns". :)

  • Well this is certainly cool! Your first book has been on my reading list. I'm cracking it open tomorrow!

Jack Crenshaw's 1988-1995 series Let's Build a Compiler [1]

Graydon Hoare's 2002 talk `"One Day Compilers" or how I learned to stop worrying and love static metaprogramming` [2] (implements a compiler for a DSL that's a subset of makefile syntax in < 400 lines of code using ocaml toolchain)

edit: on second thoughts, aiming to ship a game in a novel _compiled_ language in a 7 day language+game jam is probably a lot more optimistic than aiming for an interpreted language.

[1] https://compilers.iecc.com/crenshaw/

[2] https://www.venge.net/graydon/talks/