We're now actually compiling CODEGEN.SLC to CODEGEN.COM using SLC.COM, TASM.EXE and TLINK.EXE. All text in the yellow section is DOS output.

executing "slc codegen" via DOSCMD...

Simple Little Compiler v0.05 [DOS]; Copyright (C) 1998-2001 by Rowan Crowe.

*** info: main() function detected, will call link at end of compile.


Runtime error #2  [invalid pointer to free]



You can see the source of CODEGEN.SLC here.

Want the see the compiled program in action? Enter your input to CODEGEN.EXE here:


Some examples if you're not sure what to input:
a + b
(a * b) - 5
a + (b - (c * (d / 3)))



Return to SLC homepage