Sin descripción

Vladislav Folts e2ca8d6378 Update the link to the online compiler hace 5 años
Sublime Text d6398680f6 make sublime build work on Windows hace 9 años
bin b5c9786bf3 Redo JS reserved words mangling: mangle identifiers in code generation hace 8 años
browser 841d11c51d add "checked indexes" option on html page hace 9 años
doc 7bece8683c Update documentation. hace 9 años
src de5159d484 cleanup hace 8 años
test b5c9786bf3 Redo JS reserved words mangling: mangle identifiers in code generation hace 8 años
.gitattributes 53614ee1c1 initial commit hace 12 años
.gitignore 83ffadda90 move compiled source to archive (do not track compiled source) hace 11 años
LICENSE.md 649d2bc63e rename license file hace 12 años
README.md e2ca8d6378 Update the link to the online compiler hace 5 años
build.py 24624ec3dd expression parsing refactoring hace 9 años
pull_and_build_html.py 0521d9af2c executable attribute hace 11 años

README.md

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!