CompilersFromScratch icon indicating copy to clipboard operation
CompilersFromScratch copied to clipboard

LambdaJam 2013 Workshop

CompilersFromScratch

https://www.fpcomplete.com/user/dfeltey/compilers-from-scratch

LambdaJam 2013 Workshop

Some resources:

http://sebfisch.github.io/haskell-regexp/

http://matt.might.net/articles/implementation-of-regular-expression-matching-in-scheme-with-derivatives/

http://www.mpi-sws.org/~turon/re-deriv.pdf

http://matt.might.net/articles/cek-machines/

http://www.cs.tufts.edu/~nr/cs257/archive/doaitse-swierstra/combinator-parsing-tutorial.pdf

The parsing library for this workshop follows the implementation of the basic combinators in the above paper.

http://www.brics.dk/RS/03/14/BRICS-RS-03-14.pdf

The CEK machine built in this workshop is based on the derivation in the above paper, extended with printing, if statements, and binary operations.

http://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours