Sen descrición

Vladislav Folts 7592a7ed4c Streamline `build.py`, update documentation and `bin/compiled.zip` %!s(int64=4) %!d(string=hai) anos
IDE 7592a7ed4c Streamline `build.py`, update documentation and `bin/compiled.zip` %!s(int64=4) %!d(string=hai) anos
bin 7592a7ed4c Streamline `build.py`, update documentation and `bin/compiled.zip` %!s(int64=4) %!d(string=hai) anos
browser 989479a2f2 improve codemirror script for Oberon07 %!s(int64=4) %!d(string=hai) anos
doc 7592a7ed4c Streamline `build.py`, update documentation and `bin/compiled.zip` %!s(int64=4) %!d(string=hai) anos
src 8cb0a1c138 localize compiler messages %!s(int64=4) %!d(string=hai) anos
test 8cb0a1c138 localize compiler messages %!s(int64=4) %!d(string=hai) anos
.gitattributes 53614ee1c1 initial commit %!s(int64=12) %!d(string=hai) anos
.gitignore 83ffadda90 move compiled source to archive (do not track compiled source) %!s(int64=11) %!d(string=hai) anos
.travis.yml f8192b6c8a Add Travis CI %!s(int64=4) %!d(string=hai) anos
LICENSE.md 649d2bc63e rename license file %!s(int64=12) %!d(string=hai) anos
README.md e2ca8d6378 Update the link to the online compiler %!s(int64=5) %!d(string=hai) anos
build.py 7592a7ed4c Streamline `build.py`, update documentation and `bin/compiled.zip` %!s(int64=4) %!d(string=hai) anos
pull_and_build_html.py 0521d9af2c executable attribute %!s(int64=11) %!d(string=hai) anos

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!