The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

pascal.js

Posted by jpluimers on 2025/10/22

Because it is cool: interactive [Wayback/Archive] pascal.js that shows the intermediate steps:

  1. Turbo Pascal 1.0-ish code
  2. Abstract Syntax Tree (in JSON notation)
  3. LLVM IR (intermediate representation)
  4. Emscripten compiled JavaScript
  5. Console output (stdout)

Source is at GitHub: [Wayback/Archive] GitHub – kanaka/pascal.js: Pascal compiler implemented in JavaScript

Via: [Wayback/Archive] javascript pascal at DuckDuckGo

--jeroen

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.