Aucune description

Ivan Denisov 989479a2f2 improve codemirror script for Oberon07 il y a 4 ans
IDE 2901e34529 Compile oberon source files from VSCode il y a 4 ans
bin 7931464e14 Handle module reading/compilation errors separately from IMPORT errors il y a 4 ans
browser 989479a2f2 improve codemirror script for Oberon07 il y a 4 ans
doc 189c137aa5 Make possible to assign any variable to `JS.var` but not the opposite il y a 4 ans
src 7931464e14 Handle module reading/compilation errors separately from IMPORT errors il y a 4 ans
test 189c137aa5 Make possible to assign any variable to `JS.var` but not the opposite il y a 4 ans
.gitattributes 53614ee1c1 initial commit il y a 12 ans
.gitignore 83ffadda90 move compiled source to archive (do not track compiled source) il y a 11 ans
.travis.yml f8192b6c8a Add Travis CI il y a 4 ans
LICENSE.md 649d2bc63e rename license file il y a 12 ans
README.md e2ca8d6378 Update the link to the online compiler il y a 5 ans
build.py 50b9eb5dc3 Make possible to localize compiler messages il y a 4 ans
pull_and_build_html.py 0521d9af2c executable attribute il y a 11 ans

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!