Keine Beschreibung

Vladislav Folts f8192b6c8a Add Travis CI vor 4 Jahren
IDE 2901e34529 Compile oberon source files from VSCode vor 4 Jahren
bin 8d2ae00f42 Let the compiler itself to report current module location on error vor 4 Jahren
browser 8d2ae00f42 Let the compiler itself to report current module location on error vor 4 Jahren
doc 7bece8683c Update documentation. vor 9 Jahren
src 8d2ae00f42 Let the compiler itself to report current module location on error vor 4 Jahren
test 8d2ae00f42 Let the compiler itself to report current module location on error vor 4 Jahren
.gitattributes 53614ee1c1 initial commit vor 12 Jahren
.gitignore 83ffadda90 move compiled source to archive (do not track compiled source) vor 11 Jahren
.travis.yml f8192b6c8a Add Travis CI vor 4 Jahren
LICENSE.md 649d2bc63e rename license file vor 12 Jahren
README.md e2ca8d6378 Update the link to the online compiler vor 5 Jahren
build.py 24624ec3dd expression parsing refactoring vor 9 Jahren
pull_and_build_html.py 0521d9af2c executable attribute vor 11 Jahren

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!