logoalt Hacker News

ashdnazg • yesterday at 3:48 PM • 1 reply • view on HN

Nice!

I'm quite far with Microsoft C 5.1, I wonder how much similarity there is, if any.


Replies

1313ed01 • yesterday at 9:58 PM

Not a lawyer, but I guess since the binaries for that version (plus MASM and more) are available with a MIT license, it would be OK to decompile and distribute the source code too?

https://github.com/microsoft/MS-DOS/tree/main/v4.0/src/TOOLS

Not that I have found anything that I felt like I wanted to change. Maybe bring it up to full ANSI C89? It is already quite close though. Think there was some minor thing I ran into that was missing, but usually it just works to treat it as C89, and LLMs seem to have no problem with it either.