|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#5
|
|||||
|
|||||
|
The only machine generated files are pbasic.tab.c, pbasic.tab.h, and lex.yy.c. All the other files were written by me. I also don't tend to use goto's in my code.
But basically all the generated parsers are are state machines. And some of the code that actually gets put in the generated files was written by me. Bison and Flex have the ability (and it's used most of the time) to put code insert code inline. If you look at the various pbasic.y and pbasic.l files you can see where the code that's dropped in inline is.Matt |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| emulationFIRST v0.04 | Matt Leese | Programming | 7 | 09-07-2002 08:54 |
| emulationFIRST v0.03 | Matt Leese | Programming | 7 | 03-07-2002 13:00 |
| emulationFIRST v0.02 | Matt Leese | Programming | 3 | 02-07-2002 16:37 |
| emulationFIRST (aka PBasic emulator) | Matt Leese | Programming | 5 | 30-06-2002 12:06 |