ExC v0.2.0 ExC View Source

Main entry point that handles all the compiling process.

Link to this section Summary

Functions

Filters command line arguments.

Starts the compilation process given an input path.

Link to this section Functions

Filters command line arguments.

Specs

argv can take any of the following values:

  • -h or --help : displays help regarding the use of the compiler
  • -v or --verbose : executes the compiler with logs on each step
  • -v or --verbose : executes the compiler with logs on each step

Examples

  $ ./exc <file_to_compile>
Link to this function

start_compilation(file_path, verbose)

View Source

Starts the compilation process given an input path.

Specs

file_path is the path to the file to be compiled. verbose boolean to indicate if there should be a detailed output of each of the compiler's stages.

Examples

  $ ./exc examples/test.c