vote up
0
vote down

Compiler code generation: just flatten the tree

I spent some time tonight working on the compiler I am writing for my own education. I started this project while only understanding bits and pieces of what it takes to write a compiler, but I am quickly learning more. Various texts on compilers start
Feb 09 2010 04:41 PM
vote up
0
vote down

How to use flex and bison with qmake (my own way)

qmake (sort of) supports lex/yacc, but modern people prefer to use flex/bison. If you google, you can find some tricks like convincing qmake that yacc is spelled ‘bison’ and so on. Morever qmake supports for lex/yacc has several drawbacks,
 
Thomas Capricelli
Nov 28 2009 04:06 PM