Turbo Pascal compiler in JavaScript

Languages and libraries

compiler

SHOW HN2013

101points
81comments
#227of 1,739 in 2013
Top 14%of 2013 by points

How HN took it

LovedMost comments that take a side are positive

14 positive, 3 neutral or asking, 2 mixed, 0 critical, out of 19 comments about the project. Thread score +0.63.

Docs: 2 for, 0 againstIdea: 1 for, 0 againstPerformance: 1 for, 0 againstDesign: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Nostalgia for Turbo Pascal and fast compilation

    From 5 comments
    • Your project is great, Pascal is really underrated language. I looked at parser (hand written are best), this part spotted my eyes…
      ret on HN
    • OMG!!! That was my favorite TP. I learned to program using Turbo Pascal. Congratulations on your work and thanks for the nostalgia!
      soapdog on HN
    • Pascal, my childhood love. I spent so many days in TP 7.1 coding games with the graph library! At some point I made a GUI for DOS, similar to Windows Explorer (with a desktop,…
      optymizer on HN
    • The examples compile super fast. How long did it use to take?
      paulrademacher on HN
    • ..Turbo Pascal was sort of shocking, since it basically did everything that IBM Pascal did, only it ran in about 33K of memory including the text editor. This was nothing short…
      kristiandupont on HN

Objections

  • Hard to imagine using it without DOS-era libraries

    From 1 comment
    • Seriously cool. But I can't imagine ever using it ;-) Half the fun of TP was all the libraries, like to interface Souldblaster, modems, etc. All that stuff is long gone.
      pjbrunet on HN

Requests

  • Commenter asked for an overview of compiler components to study

    From 1 comment
    • Great work, well done! Pascal was the second language I learned, after Basic. I'm interested in studying the code and possibly replicating it for the purpose of learning about…
      sina on HN

Questions

  • Does it support a Compile option producing COM or EXE files

    From 2 comments
    • Nice, no Compile option though? Is it an interpreter? I tried a Hello, World, and the (Input,Output) after the program name choked it. Nice job!
      efutch on HN
    • The "Compile" option was, I think, for when you wanted to generate a .COM or .EXE. So I don't support that. The "Run" command does compile and run, though.
      lkesteloot on HN

Alternatives named

  • UCSD Pascal

    From 1 comment
    • I remember that differently: on Z80 CPU machines, UCSD Pascal was slow. It compiled to the p-code (it was both an "operating system and compiler" and they wanted it portable). On…
      acqq on HN
  • Microsoft Pascal

    From 1 comment
    • I remember that differently: on Z80 CPU machines, UCSD Pascal was slow. It compiled to the p-code (it was both an "operating system and compiler" and they wanted it portable). On…
      acqq on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/6572349)