Scripting languages support
Status: Inactive
Brought to you by:
barade
Add Bison (.y) and Flex (.l) files for scripting languages JASS, vJass, Zinc, cJass and JASS++. Try to create as many abstract classes which can be derived by all scripting languages as possible (e. g. class Token which has attributes file, line number, column and full scope name). Besides languages should use parser functionality of other languages if required (e. g. vJass needs JASS parser).
Furthermore you should add an abstract parser class which is able to use any Bison/Flex generated parser.
There is some example class like Driver which should be used together with wc3lib's custom class Parser. We have to set some more rules to use Bison and Flex from C++ correctly.