Page MenuHomePhorge

xhpast-make.bat

Authored By
speck
Feb 6 2024, 02:16
Size
505 B
Referenced Files
None
Subscribers
None

xhpast-make.bat

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

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
467894
Default Alt Text
xhpast-make.bat (505 B)

Event Timeline