Methan0l

A dynamically-typed multi-paradigm interpreted programming language.


Language Reference Documentation

Available here.

How to Use the Interpreter CLI

Execute a program:

./methan0l [interpreter-args] /path/to/src-file.mt0 [script-args]


Start the interpreter in interactive mode:

./methan0l [interpreter-args]


Interpreter arguments:

Building Methan0l

Build requirements:
* GNU make 4.2+ * g++ 10+ * libboost

For Windows machines you need to have ports of everything listed above installed and added to PATH (MSYS2 ports are recommended).


Build interpreter & CLI:

cd build && make all


Build interpreter only (libmethan0l.so):

cd build && make lib


As a result, libmethan0l.so and / or CLI binary will be located in build directory and all headers will be copied under build/include/ preserving their directory structure.


Build modules:

cd build && make modules

or to build a specific module:

cd modules/[module_name] && make

where [module_name] is the name of the directory that contains the module’s sources.


Create an archive with CLI binary, libmethan0l.so, all modules and development headers:

cd build && make release

Resulting methan0l-<OS_NAME><BITS>.tar.gz will be located in build directory.

Tools