[HN Gopher] Web-based Turbo Pascal compiler
       ___________________________________________________________________
        
       Web-based Turbo Pascal compiler
        
       Author : andsoitis
       Score  : 94 points
       Date   : 2024-04-15 16:15 UTC (6 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | hnlmorg wrote:
       | > This is a web-based Pascal compiler that runs a subset of Turbo
       | Pascal 5.5 code.
       | 
       | Given how powerful modern computers are, you could run the
       | original TP in an emulated DOS virtual machine from the browser.
       | 
       | I get this is a hobby project though. Looks a fun thing to work
       | on
        
         | nerpderp82 wrote:
         | https://github.com/copy/v86
        
           | hnlmorg wrote:
           | That's just one of many. eg
           | 
           | + https://github.com/jeffpar/pcjs
           | 
           | + https://js-dos.com/
           | 
           | The Internet Archive even has a copy of TP7 that you can run
           | in a browser: https://archive.org/details/tpuve
        
       | pjmlp wrote:
       | TP 5.5 was my introduction to OOP, sweet memories.
        
         | zamalek wrote:
         | TP (and Delphi) was such a great language. A lot of the
         | benefits of a compiled language without all the complexity
         | (accidental complexity for 80% of projects) that C++ pulls in.
        
           | pjmlp wrote:
           | Indeed, although we should also thank Apple for Object
           | Pascal, whose extensions were the basis for TP 5.5.
        
       | dang wrote:
       | Related:
       | 
       |  _Turbo Pascal Compiler in JavaScript_ -
       | https://news.ycombinator.com/item?id=26207624 - Feb 2021 (72
       | comments)
       | 
       |  _Turbo Pascal Compiler (2013)_ -
       | https://news.ycombinator.com/item?id=13434318 - Jan 2017 (93
       | comments)
       | 
       |  _Web-Based Turbo Pascal compiler (2013)_ -
       | https://news.ycombinator.com/item?id=8391364 - Sept 2014 (6
       | comments)
       | 
       |  _Show HN: My Turbo Pascal compiler in JavaScript_ -
       | https://news.ycombinator.com/item?id=6572349 - Oct 2013 (81
       | comments)
        
       | wduquette wrote:
       | I'm rather bemused by this, as it's targeting a subset of Turbo
       | Pascal 5.5 while emulating the Turbo Pascal 1.0 UI. I used Turbo
       | Pascal 1.0 on CP/M-80, and Turbo Pascal 1.0 through 4.0 (or
       | thereabouts) on DOS (and UCSD Pascal on three different systems
       | before that), and it's fascinating looking back at it how the
       | notion of the "IDE" developed an expanded over that time.
       | 
       | The IDE shown here is, as I say, pretty much the Turbo Pascal 1.0
       | IDE...and it truly was an IDE. Being able to run your code with a
       | keystroke or two--and then to see your next syntax error in the
       | editor--it was mindblowing.
        
       ___________________________________________________________________
       (page generated 2024-04-15 23:00 UTC)