Skip to content

Source code documentation

Note

The source can be found here.

These files contain the source code documentation, meaning documentation about public and private functions or classes, variables and more.

List

Name Type Description
lib.rs Rust source code Contains "links" to dependencies of main.rs
main.rs Rust source code Main source code file, combines lexer, parser, compiler and VM and loads CLI arguments
Compiler/compiler.rs Rust source code Compiles the AST given by the parser
Compiler/mod.rs Rust source code File allowing compiler.rs to be imported everywhere
Grammar/fileextensions File extension list File extensions allowed for I Language files
Grammar/grammar.pest Pest grammar specification Grammar for the language
Grammar/grammar.rs Rust source code Reads the grammar.pest file and processes it
Grammar/mod.rs Rust source code File allowing grammar.rs to be imported everywhere
Installer/Linux/installer.bash Bash script Linux command line installer
Installer/Windows/add_desktop_icon.bat Batch script Adds a desktop shortcut
Installer/Windows/add_to_path.bat Batch script Adds a path to the variable PATH.
Installer/Windows/associate_file_extension.bat Batch script Associates .il with the I language compiler
Installer/Windows/setup.iss Inno setup file Configures inno setup to make a windows GUI installer
Installer/Windows/unassociate_file_extension.bat Batch script Unassociates .il with the I language compiler
Installer/Windows/Server/installer.bat Batch script Windows command line installer
Lexer/lexer.rs Rust source code Lexes the code given
Lexer/mod.rs Rust source code File allowing lexer.rs to be imported everywhere
Parser/mod.rs Rust source code File allowing parser.rs to be imported everywhere
Parser/parser.rs Rust source code Parses the lexer output into an AST

Last update: 2024-02-20