Saturday 30th March, 2013
11:00am to 12:00pm
Writing compilers is fun, useful, and not as hard as you think. In this talk we'll take a simple, pragmatic approach to writing compilers. In one hour we'll go from zero to a C-like language, with support for complex expressions, if/else conditionals, loops, variables and function definitions - running on a virtual machine we wrote ourselves. We'll implement in Lua and use PEGs to do the dirty work. Example source code included.
Sign in to add slides, notes or videos to this session