NAME

oadlx - OADL binary interpreter

SYNOPSIS

oadlx [flags] filename [args]

The [flags] are zero or more of:

-b
break to system debugger on error
-m size
initial size of the heap (default 1MB)
-ah thresh
sets array heap-vs-malloc threshold
-t
generate instruction traces during execution
-lLIB
loads libLIB.oax from the OADL library path
-Ldir
adds dir to the library search path

The filename is an executable file (with a suffix of ".oax"). The optional [args] are passed to the OADL main proc.

DESCRIPTION

oadlx is the OADL binary interpreter. It will run a pre-compiled OADL program. Full documentation of the OADL language may be found at http://rcunniff.com/OADL/oadl.html. Sample OADL test programs may be found at http://rcunniff.com/OADL/Tests/index.html and at http://rcunniff.com/OADL/ADV/index.html.

EXAMPLE

    bash $ cat hello.oad
    proc main()
    {
        "Hello, world!\n";
    }
    bash $ oadlc hello.oad -o hello.oax
    bash $ oadlx hello.oax
    Hello, world!

ENVIRONMENT

The following environment variables are used by oadlx:

OADL_SYS
Semicolon-separated list of directories to be searched for OADL system dynamic link libraries
OADL_LIB
Semicolon-separated list of directories to be searched for .oax files specified via the -l option
PATH
System path; used to find and restart OADL if requested

SEE ALSO

oadlc
oadlx
oadldb
oadldump