Oberon-07 translator
C Modula-2 Java Go Makefile JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo-server
documents
example
library
singularity
source
test
LICENSE-APACHE.txt
LICENSE-GPL.md
LICENSE-LGPL.md
Makefile
README-RU.md
README.md
make.cmd
make.sh

README.md

Проект "Восток" - более полная версия введения.

Project "Vostok"

Oberon-07 translator to C and Java.

License is LGPL for translator's code and Apache for libraries

Build:

Short build help for POSIX systems:

$ make help-en

Build translator for POSIX:

$ make
$ # or
$ ./make.sh && result/bs-o7c run make.Build -infr . -m source

Test under POSIX:

$ make test self self-full

Build under Windows using tcc:

> make.cmd
> :: or
> make.cmd
> result/bs-o7c run make.Build -infr . -m source -cc tcc

Test under POSIX and Windows

result/bs-o7c run 'make.Test; make.Self; make.SelfFull' -infr . -m source -cc tcc

Usage:

Help about translator usage:

$ result/o7c help

Oberon-modules running example:

$ result/o7c run 'Out.Int(999 * 555, 0); Out.Ln' -infr .

Example of executable binary build:

$ result/o7c to-bin ReadDir.Go result/Dir -infr . -m test/source
$ result/Dir

Demo web-server:

$ cd demo-server

$ go build server.go && ./server

Questions:

Russian-speaking forums, but possible to ask in english: forum.oberoncore.ru, zx.oberon2.ru