DescriptionCompiles simple semicolon separated math expressions like this one,
1+1;into stack based SmileBASIC code like these:
I plan to expand this into a much larger fully featured compiler for a programming language.InstructionsChange your active project to MATHC go to create programs with SmileBASIC in the main menu. Run this command in direct mode:
EXEC "PRG1:COMPILER"The compiler will compile the code in IN and output SmileBASIC to OUT. If you wish to change the input to compiler you can edit the file named IN.