Page 1 of 1
lex & yacc under visual studio 2008 - anyone ?
Posted: Mon Jul 19, 2010 8:40 pm
by frag.machine
I am trying to learn about lex & yacc and I would like to work with it under VS2008, but after googling for a while haven't found any useful info in how to setup things. Anyone already did that ? Any tips ?
Posted: Fri Nov 19, 2010 1:37 am
by revelator
definatly not a guru in that but i can give a hint at what to look for.
tenebraes particle system used flex lexers find the file lex_part.l in the source.
im not certain how the lexer parses the info in the .l file (really not alot of code in it) but it expands into a rather massive lex.yy.c if you run a win32 lex.exe on it.
the idea aint bad since it opens up the possibility of creating dynamically updated code, can probably be used for many other things such as setting flags on things normally hardcoded in quake.
i do have a win32 lex.exe if you have trouble finding one.