REM Generate parser_nodes.php and node_names.hpp php -f ./bin/xhpast-generate-nodes.php REM Compile the parser and scanner, resulting in parser.yacc.o and scanner.lex.o clang++ -c -I./ -o parser.yacc.o parser.yacc.cpp clang++ -c -I./ -o scanner.lex.o scanner.lex.cpp REM Compile the xhpast.exe REM Get the XHPAST_VERSION (in this case 7.1.6) by running: php -f ./bin/xhpast-generate-version.php clang++ -I./ -L./ -static -D XHPAST_VERSION='"7.1.6"' -o xhpast.exe parser.yacc.o scanner.lex.o xhpast.cpp