Vishap Oberon Compiler http://oberon.vishap.am
Find a file
Norayr Chilingarian 0358bfac55 OakFiles fixed
2013-10-21 20:27:54 +04:00
src OakFiles fixed 2013-10-21 20:27:54 +04:00
05vishap.conf ulmIO.Mod changed and now it works with 64 bit longint numbers. 2013-10-16 01:56:09 +04:00
changes voc compiler first commit 2013-09-27 22:34:17 +04:00
COMPILE improved makefiles, now it's easier to build a compiler. 2013-10-18 19:05:05 +04:00
FAQ ulmEvents.Mod does not use C/asm code anymore. getaddr code procedure is 2013-10-10 19:16:50 +04:00
hints voc compiler first commit 2013-09-27 22:34:17 +04:00
LICENSE Initial commit 2013-09-27 08:55:16 -07:00
makefile added OakFiles.Mod which does not search for files in OBERON path, implemented ReadLine procedure. 2013-10-21 19:53:26 +04:00
makefile.gnuc.armv6j added OakFiles.Mod which does not search for files in OBERON path, implemented ReadLine procedure. 2013-10-21 19:53:26 +04:00
makefile.gnuc.armv6j_hardfp added OakFiles.Mod which does not search for files in OBERON path, implemented ReadLine procedure. 2013-10-21 19:53:26 +04:00
makefile.gnuc.armv7a_hardfp added OakFiles.Mod which does not search for files in OBERON path, implemented ReadLine procedure. 2013-10-21 19:53:26 +04:00
makefile.gnuc.x86 added OakFiles.Mod which does not search for files in OBERON path, implemented ReadLine procedure. 2013-10-21 19:53:26 +04:00
makefile.gnuc.x86_64 added OakFiles.Mod which does not search for files in OBERON path, implemented ReadLine procedure. 2013-10-21 19:53:26 +04:00
ocat added OakFiles.Mod which does not search for files in OBERON path, implemented ReadLine procedure. 2013-10-21 19:53:26 +04:00
quick_start voc compiler first commit 2013-09-27 22:34:17 +04:00
README.md ulmEvents.Mod does not use C/asm code anymore. getaddr code procedure is 2013-10-10 19:16:50 +04:00
showdef added OakFiles.Mod which does not search for files in OBERON path, implemented ReadLine procedure. 2013-10-21 19:53:26 +04:00
voc added OakFiles.Mod which does not search for files in OBERON path, implemented ReadLine procedure. 2013-10-21 19:53:26 +04:00
voc.par voc compiler first commit 2013-09-27 22:34:17 +04:00
vocparam voc compiler first commit 2013-09-27 22:34:17 +04:00
vocstatic added OakFiles.Mod which does not search for files in OBERON path, implemented ReadLine procedure. 2013-10-21 19:53:26 +04:00
vocstatic.linux.gnuc.armv6j_hardfp voc compiler first commit 2013-09-27 22:34:17 +04:00
vocstatic.linux.gnuc.x86 improved makefiles, now it's easier to build a compiler. 2013-10-18 19:05:05 +04:00
vocstatic.linux.gnuc.x86_64 added OakFiles.Mod which does not search for files in OBERON path, implemented ReadLine procedure. 2013-10-21 19:53:26 +04:00

voc

vishap oberon compiler

How to install - see COMPILE file.

How to use:

Type voc and it'll show you help.

voc -M will compile your module and link it statically to libVishapOberon. voc -m will link the module dynamically.

If you have more than one module, and you want them to be compiled into elf filethen: Let's assume we have module M0 which imports M1;

voc -l M1.Mod -s M0.Mod -M

Here -l is a global option. Module M1 will be compiled with -s option, i. e. sym file will be generated.

Module M0 will be compiled and linked statically.

In case you have modules in different directories, like "ui", "logic", "math", then you need to export MODULES environment variable like this:

export MODULES=".:ui:logic:math"

and after call voc

voc -s ui0.Mod

Otherwise you can use full path:

voc -s ui/ui0.Mod