I gave it a try, but I downloaded SCM_DOS from the GitHub link you shared. I quickly ran into errors and gave up. I do not program in Scheme, so I didn't have sufficient motivation to debug it. :-)
The makefile is written for GCC, and I don't have IA-16 GCC installed on my FreeDOS virtual machine at the moment. I tried it with Open Watcom C, but I got these errors (below). The first error is because token.c uses reallocarray to resize the array. I wrote a quick wrapper to use realloc and got past it, but the other errors were there. Maybe this will compile if you use GCC instead of Open Watcom C. >>D:\TEMP\SCM>wcl -q -fe=scm.exe *.c >>TOKEN.C(50): Warning! W131: No prototype found for function 'reallocarray' >>TOKEN.C(50): Warning! W102: Type mismatch (warning) >>TOKEN.C(50): Note! I2003: source conversion type is 'int ' >>TOKEN.C(50): Note! I2004: target conversion type is 'struct token_t *' >>TOKEN.C(52): Warning! W124: Comparison result always 0 >>TOKEN.C(61): Warning! W102: Type mismatch (warning) >>TOKEN.C(61): Note! I2003: source conversion type is 'int ' >>TOKEN.C(61): Note! I2004: target conversion type is 'struct token_t *' >>TOKEN.C(65): Error! E1063: Missing operand >>TOKEN.C(65): Warning! W111: Meaningless use of an expression >>TOKEN.C(65): Error! E1009: Expecting ';' but found 'int' >>TOKEN.C(65): Error! E1063: Missing operand >>TOKEN.C(65): Error! E1009: Expecting ';' but found 'int' >>TOKEN.C(65): Error! E1063: Missing operand >>TOKEN.C(65): Warning! W111: Meaningless use of an expression >>TOKEN.C(65): Error! E1009: Expecting ')' but found 'int' >>TOKEN.C(65): Error! E1011: Symbol 'i' has not been declared >>TOKEN.C(65): Warning! W111: Meaningless use of an expression >>TOKEN.C(65): Error! E1009: Expecting ';' but found ')' >>Error: Compiler returned a bad status compiling "TOKEN.C" On Mon, Jul 6, 2026 at 6:22 PM Tomas By via Freedos-user <[email protected]> wrote: > > Hi all, > > Which Scheme implementations are available for DOS? > > There is Texas Instruments PC-Scheme, and google turned up this one > https://github.com/arturo211234/SCM_DOS > which seems very minimal. > > Non-DOS ones are listed here > https://get.scheme.org/ > > On this page > https://people.csail.mit.edu/jaffer/SCM > it says SCM runs under MS-DOS, but has binaries only for Windows. > > Has anybody compiled SCM for DOS? Any other options? > > /Tomas _______________________________________________ Freedos-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-user
