3 ms·
Most auto generated code isn't that readable and this should surprise you. What you're seeing is the result of an asm "translator" with some manual modification
by nocturnial 6y ago
Most auto generated code isn't that readable and this should surprise you. What you're seeing is the result of an asm "translator" with some manual modifications to make it work on the x86 platform. [1]
That's why you see in the source code the phrase "This translation created on...". Microsoft, at this time, hasn't made available the tools they used to generate this code or the original version it was created from.
[1] https://devblogs.microsoft.com/commandline/microsoft-open-sources-gw-basic/ https://devblogs.microsoft.com/commandline/microsoft-open-so...
- WorldMaker 6y agoThough this was also a fork from whatever "intermediate assembly language" the earlier versions used. GW-BASIC was far enough in "x86 is the only thing we need to support at Microsoft now" territory that presumably a lot of the GW-specific additions were done directly to this code instead of at the "next level up" in whatever that previous translator worked in. This also seems corroborated in the dev blog you link, though without source control history, the upstream translation layer, and the original "intermediate assembly" code, the details at this point are relatively fuzzy.