Skip to content
garyo edited this page Dec 13, 2014 · 3 revisions

CXXFile() builds a lexer from a lex file, typically ending with '.ll'.

## Beginning of script
CXXFile( target='lex.yy.cpp', source='parser.ll' );

The result will be a C++ file named 'lex.yy.cpp' which you can then compile and link with your project.

Clone this wiki locally