From: stephan b. <st...@ei...> - 2003-09-04 12:06:01
|
Thursday 04 September 2003 14:01, stephan beal wrote: > Attached is the lex input. It won't compile as-is because it needs > some external code, but it'll give you and idea of how simple it was. > i will proactively admit that it may contain any number of lex > faux-pas (faux-pi?), as it is my very first lex work. Sample output from gev.map: ~/cvs/elib/lex> time ./ltest --e-ENm=enm < gev.map > foo main.cpp:326 : 701 nodes traversed. real 0m0.380s user 0m0.310s sys 0m0.070s stephan@cheyenne:~/cvs/elib/lex> less foo main.cpp:160 : 1 Opening new node [fun::HexMap[elib::EPropertyList],map] main.cpp:133 : 1 map: add_property(gameboxName,G.E.V.) main.cpp:133 : 1 map: add_property(gameboxVers,0.1) main.cpp:133 : 1 map: add_property(asiz,529) main.cpp:160 : 2 Opening new node [GEVHex[elib::EPropertyList],area] main.cpp:133 : 2 area: add_property(name,0101) main.cpp:133 : 2 area: add_property(id,0) main.cpp:177 : 2 Closing node [GEVHex,area] main.cpp:160 : 2 Opening new node [GEVHex[elib::EPropertyList],area] main.cpp:133 : 2 area: add_property(name,0102) ... ad nauseum... ... main.cpp:160 : 2 Opening new node [fun::HexNumberStyle[elib::EPropertyList],xstyle] main.cpp:133 : 2 xstyle: add_property(first,01) main.cpp:133 : 2 xstyle: add_property(ascending,true) main.cpp:133 : 2 xstyle: add_property(numeric,true) main.cpp:177 : 2 Closing node [fun::HexNumberStyle,xstyle] main.cpp:160 : 2 Opening new node [fun::HexNumberStyle[elib::EPropertyList],ystyle] main.cpp:133 : 2 ystyle: add_property(first,01) main.cpp:133 : 2 ystyle: add_property(ascending,true) main.cpp:133 : 2 ystyle: add_property(numeric,true) main.cpp:177 : 2 Closing node [fun::HexNumberStyle,ystyle] main.cpp:177 : 1 Closing node [fun::HexMap,map] -- ----- stephan st...@ei... - http://www.einsurance.de "...control is a degree of inhibition, and a system which is perfectly inhibited is completely frozen." -- Alan W. Watts |