sectorc
sectorc copied to clipboard
C90 counterpart
Thanks for your fantastic work. You have literally changed my life by releasing a small non-copyrighted (subset of) C compiler.
I have made a public domain C90 equivalent to your (assembler) work which can be found here:
https://sourceforge.net/p/pdos/gitcode/ci/master/tree/util/multisc.c
It gives an error about variable/function/token name clashes, but otherwise it accepts the exact same language of Sector C. If there is a name clash, there is a debug option to assist in finding the two things that clashed.
It produces a .com file which can be run under both Freedos or PDOS/86 and presumably MSDOS.
Thanks. Paul.
Wow, I'm flattered Paul 🙏
I hope you enjoy using it as much as I enjoyed making and publishing it!
Try not to get caught off-guard by one of those stray hash collisions 😉😧
I have updated it to provide (so far incomplete) support for S/370 (z/Arch mainframe).
And that triggered the writing of a (bare bones) mainframe emulator:
Here is the sample MVS file to write ABCDE:
https://sourceforge.net/p/pdos/gitcode/ci/master/tree/util/mvssamp.c
And here is the emulator:
https://sourceforge.net/p/pdos/gitcode/ci/master/tree/util/mfemul.c