The transpiler takes Mys source code as input and outputs C++ source code.

Build process

mys build, mys run and mys test does the following:

  1. Use Python’s parser to transform the source code to an Abstract Syntax Tree (AST).

  2. Generate C++ code from the AST.

  3. Compile the C++ code with g++.

  4. Link the application with g++.