Skip to content
williamblevins edited this page Jun 17, 2015 · 3 revisions

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

#!python
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