arden2bytecode [OPTIONS] [FILE]...
Modes (mutually exclusive)
.mlm
type) and write output of compiler to .class
files. See -d for output options..mlm
files which will be compiled in-memory or already compiled .class
MLMs. See -a for providing arguments to the MLMs.ctrl+c
. See Scheduling for more information about triggers and events. See -p on how to listen to external events.Control options
Execution Context
All further command line arguments will be regarded as input files.
Compile module1.mlm
and module2.mlm
and save the .class
files to the modules
directory:
arden2bytecode -d my_modules -c module1.mlm module2.mlm
Run already compiled MLM hello_world.class
:
arden2bytecode -r hello_world.class
Compile and run hello_world.mlm
without saving to .class
file:
arden2bytecode -r hello_world.mlm
Run two MLMs, first module1.mlm
then module2.mlm
:
arden2bytecode -r module1.mlm module2.mlm
Run MLM without displaying logo:
arden2bytecode -nr hello_world.mlm
Run the MLM with a list, string, number and duration as arguments:
arden2bytecode -a '(3.5,2)' '"Jane Doe"' 123 '5 WEEKS' -r arguments.mlm
Compile all MLMs in one directory verbosely. Don’t display logo. This will only work if your command line interpreter supports expansion of *
arguments.
arden2bytecode -nvc *.mlm
Start the evoke engine for multiple MLMs, and listen verbosely for incoming events on port 9701:
arden2bytecode -v -p 9701 -e *.mlm
Run an MLM which queries an SQLite database:
arden2bytecode --cp lib/sqlite-jdbc-3.7.2.jar --dbdriver org.sqlite.JDBC --environment jdbc:sqlite:person.sqlite -r sql-example.mlm
Start the evoke engine, listen for events on a port, and use a database to handle MLM queries. Verbosely, no logo.
arden2bytecode -nv -p 9701 --cp lib/sqlite-jdbc-3.7.2.jar --db org.sqlite.JDBC --env jdbc:sqlite:person.sqlite -e sql-example.mlm