Basic, C, Pascal for the Propeller
hippy
Posts: 1,981
Propellent ( http://forums.parallax.com/showthread.php?p=728775 ) got me fired up enough to return to a project I'd put on the back burner; a multi-language converter to Spin.
So far supports Basic and a subset of C and Pascal. Still a way to go yet and the syntax parsing is held together with duct tape just enough to make the example compile and there are almost zero semantic checks but here's a sneak preview to get people excited
It's currently a 16-bit MSDOS command line utility so 8-dot-3 filenames. SPP-DEMO.PCC is the source, SPI-DEMO.SPI is the output, compile with "SPP SPP-DEMO".
Supports #Includes, #Defines and #If conditional compilation.
So far supports Basic and a subset of C and Pascal. Still a way to go yet and the syntax parsing is held together with duct tape just enough to make the example compile and there are almost zero semantic checks but here's a sneak preview to get people excited
It's currently a 16-bit MSDOS command line utility so 8-dot-3 filenames. SPP-DEMO.PCC is the source, SPI-DEMO.SPI is the output, compile with "SPP SPP-DEMO".
Supports #Includes, #Defines and #If conditional compilation.
Comments
(I'm a Pascal hack from a _long_ way back so I'm very interested in what transpires!)