plugin compiler
Georg Seidel <[email protected]>
| Newsgroups | gmane.comp.video.gephex.devel |
|---|---|
| Message-ID | <[email protected]> |
After I have looked at many lexer and parser generators for python, I came to the conclusion that it is best to write the lexer and parser by hand. Reason: All generators I found lacked one important feature. They could not generate a standalone parser, i.e. a python script that can be executed on every box that has python installed. Each generator requires a special library to be installed. Since everyone who wants to compile GePhex will need the parser, this would be a significant annoyance for many people. My current plan is to write a lexer and a parser for our simple spec language by hand and in pyhton. Probably the spec compiler will output some idl and an idl compiler will produce the code. Any objections? Georg