package
Version:
v0.0.0-...-8bb7ff2
Opens a new window with list of versions in this module.
Published: Dec 2, 2020
License: GPL-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package compiler is the package which is actually responsible for reading
the user-program and generating the binary result.
Internally this uses the parser, as you would expect
Compiler holds our state
New creates a new instance of the compiler
Compile walks over the parser-generated AST and assembles the source
program.
Once the program has been completed an ELF executable will be produced
SetOutput sets the path to the executable we create.
If no output has been specified we default to `./a.out`.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.