Quantcast
Channel: Planet Object Pascal
Viewing all articles
Browse latest Browse all 1725

Delphi Code Monkey: TurboPascal PCODE compiler implemented in JavaScript

$
0
0
Anybody who doubts the sincerity of my last post (the PC desktop is headed inexorably towards a  legacy technology status) and who also is into Nostalgia, should check this out.

It's a mostly-complete TurboPascal compiler written in JavaScript that compiles to a UCSD-PCODE equivalent bytecode instead of native X86.  The resulting code runs in a UCDS-PCODE vm also implemented in JavaScript.

Now that's what I call a killer Blog Post. Read the blog post and try this over here.

Oh yea, and he posted to code on GitHub.  Anybody want to implement  Pascal RAD IDE in their web browser? Should only take a few weekends here and there.  I kid, I kid.   A desktop IDE, and a real compiler do a lot more, and take a lot longer to build, than this Just For Kicks thing did.  But if this person had realized that they could just download the real DOS TurboPascal from the Embarcadero/Borland Museum, and done that, then there wouldn't be a new JavaScript pascal parser out there.  Which is inherently a cool thing. 






Viewing all articles
Browse latest Browse all 1725

Trending Articles