Skip to content

Oberon 07 compiler (written in JavaScript and translates to JavaScript)

License

Notifications You must be signed in to change notification settings

iadenisov/oberonjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oberon 07 compiler

Translates Oberon to JavaScript code ready to be run in web browser or nodejs. Compiler itself is written in Oberon (with extensions) and compiled to JavaScript. The compiler supports both "pure" and "plus extensions" mode. Pure mode is a strict implementation of original Oberon language report. Language extensions implemented in my own way and available as a separate compiler mode.

Quick start

You can try the compiler online here.

To build it locally run "python build.py html" (Python 2.x or 3.x is required). It will make _out/os.js and _out/oberonjs.html. Open oberonjs.html in the browser and try the compiler!

About

Oberon 07 compiler (written in JavaScript and translates to JavaScript)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.2%
  • Python 2.8%
  • CSS 1.1%
  • Other 0.9%