Usage

Learn how to use Cyclone compiler and inetrpreter.


Cyclone compiler and interpreter can be downloaded from the releases page. Or you can build it from the source code using this guide.

Cyclone Compiler

Run following command to compile a Cyclone source file. Make sure cycompiler is in your system path or in same directory as your working directory of command prompt.

cycompiler <source-file> -o <output-file>

Cyclone Interpreter

Interpreter runs in two modes:

  • Interactive mode: Run following command to start interpreter in interactive mode.
cyinterpreter
  • File mode: Run following command to run a Cyclone source file.
cyinterpreter <source-file>

Multiple Files Compilation

You can compile multiple files at once by providing multiple source files.

cycompiler <source-file-1> <source-file-2> -o <output-file>

Or you can compile multiple files in same directory

cycompiler <directory containing multiple files> -o <output-file>

Or in case of interpreter, you can run multiple files at once.

cyinterpreter <source-file-1> <source-file-2>

Or you can run all files in a directory.

cyinterpreter <directory containing multiple files>

    Theme

    Presets

    Background

    Custom:

    Primary

    Custom:

    Secondary

    Custom:

    Border

    Custom:

    Mode

    Light
    Dark