Borland's DOS compilers, rebuilt from their own binaries
frostbyte7
219 points
81 comments
November 29, 2026
Related Discussions
Found 5 related stories in 51.3ms across 4,908 title embeddings via pgvector HNSW
- They don't make 'em like that any more: Borland Turbo Pascal 7 andsoitis · 196 pts · November 07, 2026 · 56% similar
- Show HN: Custom X64-86 Operating System Written from Scratch adrianbyte · 12 pts · December 03, 2026 · 55% similar
- ClawDOS – An AI coding agent for DOS Ricapar · 162 pts · November 21, 2026 · 51% similar
- Beyond the compiler: Making IBM i run modified native code dnet · 15 pts · November 10, 2026 · 48% similar
- Bo3mac: Static ARM64 Recompiler and Direct Metal Port of Black Ops III mawlicious · 16 pts · November 25, 2026 · 47% similar
Discussion Highlights (18 comments)
codazoda
I've been building a web based editor inspired by the Borland Turbo Pascal/Basic editors. It uses an optional GitHub token to save files directly to your repo. You can try it here: https://codazoda.github.io/blue
squarefoot
Since we live in the age of vibe recompilation, reverse engineering etc where everything seems possible, let me drop a wish for a "Turbo Zig" CLI IDE + compiler that covers most well known microcontrollers.
Waraqa
To clarify, 'rebuilt' in the title means reverse-engineered and reconstructed by AI.
smallerfish
Watch the use of the word "own" - it's an AI giveaway.
noahbp
This is going to be very helpful for any project to decompile binaries that were compiled with these compilers. I'm working on something similar though shot of a full decompilation for Microsoft Visual C++, to trace and report the knobs to tune in the internal register allocation algorithm (among other things) to make reversing and decompiling binaries that were compiled with MSVC a much easier task: https://github.com/NoahBPeterson/c2scope
abecedarius
I'd love to run this for the nostalgia value, and I did buy the original software but left it behind long ago. Oh, well. ("You need the original Borland programs" -- very reasonably.)
humblefly
Sincere question: why? Source like this is a notch better than raw decompiler output in the pre-AI era, but what's the expectation / use case? if((ES_B(_BX,MEMB_FLAGS)&3)==3) { _DI=ES_W(_BX,MEMB_VALUE); _ES=SYMBOL_POOL_SEG;ES_W(0,SYM_TYPE)=base; if(ES_W(_DI,SYM_FUNC_KIND)==2) { while(!TYPES_COMPATIBLE(TYPE_W(SYM_W(_DI,SYM_TYPE),TYPE_TARGET),TYPE_W(base,TYPE_TARGET),0)) _DI=SYM_W(_DI,SYM_NEXT_OVERLOAD); } else { while(!SAME_SIGNATURE(SYM_W(_DI,SYM_TYPE),base)) _DI=SYM_W(_DI,SYM_NEXT_OVERLOAD); } if(_DI==0) {_DI=_DI;goto next_param;} I grant you that it's a thing you can do with agents, and it's impressive that it works, but once the tokens are spent, what does anyone get out of it? I guess I wonder if AI projects are becoming a bit of a "social proof of money spent".
saturn_vk
What’s up with ai titles of the format: Short description, adjective more description
owlstuffing
Impressive. But the critical missing feature is a step in the process that transforms the resulting source into readable source, using transforms that are provably identical in behavior.
Quitschquat
Claude usually gives me some bullshit nannying when I try to reverse engineer stuff.
airstrike
I can tell this is Claude from the title alone
lp4v4n
Can anyone who knows the mainframe domain explain why legacy COBOL applications are not being aggressively ported to modern java applications? It sounds like an obvious usage of AI to solve a real world problem and yet I barely hear about it.
pmkary
Who would have thought abandonware gets to have a Christmas like this five years ago?
igravious
OOF nostalgia increases “You need the original Borland programs (not included: see NOTICE.md).” i had these all on 3.5" 'floppy' disks back in the day (like many old fogies 'round here i'm sure) but god knows where they are now -- should have kept them safe and sound sigh :(
whobre
Borland’s fine, but I would really like to see some of the Digital Research compilers reverse engineered, including the legendary Kildall’s PL/I
diavelguru
OMG I wrote code for these compilers on a 286 back in '94. wow I took a C++ class and my final project was a checkers game. I ended up getting my first technology job due to a printout of that code!
elvis70
While we're at it: Commented disassembly of Turbo Pascal 3.01A for DOS: https://pcengines.ch/tp3.htm Commented disassembly of Turbo Pascal 3 for CP/M Z80: https://mark-ogden.uk/mirrors/www.cirsovius.de/CPM/Projekte/... Disassembly/leak of TURBO.EXE (IDE + Compiler) from TP6. Written in TP6 and assembly, but without comments.
regnull
Borland reborn could be Reborland. A missed opportunity there.