Skip to content

Quick start

Run the following commands to set cont up:

$ python3 -V
 Python >=3.10

$ git clone https://github.com/farkon00/cont.git
$ cd cont

# Install fasm with your package manager, nodejs for testing wasm
$ sudo apt install fasm nodejs 
$ python3 -m pip install pytest
$ pytest test.py

$ python3 cont.py <source_code>.cn -r

Hello world

Now let's write our first hello world in cont:

include std.cn

"Hello world" println

Now you can run it using the following command:

$ python3 cont.py hello_world.cn -r