Skip to content

MikeRalphson/turbopascal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turbo Pascal Compiler

This is a Node.js and web-based Pascal compiler and UCSD p-code interpreter that runs a subset of Turbo Pascal 5.5 code.

See the full write-up or try it now!

To run the compiler from the command-line use the turbo command. This uses tpc.js which is a shell around the actual compiler and runtime.

To run the web version locally, run the "arapaho" script to start a web server and go to http://localhost:3000

Go to http://localhost:3000/unit.html to run the unit tests.

See the LICENSE file for the BSD 2-clause license.

Packages

No packages published

Languages

  • JavaScript 79.3%
  • Pascal 15.7%
  • HTML 4.5%
  • CSS 0.5%