about summary refs log tree commit diff
path: root/boot/catboot.c
AgeCommit message (Collapse)Author
2025-07-10Display causing tokens lexeme directly from source for error messagesMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-07-09Display human-readable, informative parser error messages w/ source snippetMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-07-06Print formatted lex token value next to token typeMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-07-04Argument parser for catboot tool, different command executionMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-07-01Remove older non-visit tree printing codeMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-06-30Factor out translation unit includes to seperate headerMel
This allows both the usual build compiler and an LSP server like `clangd` to correctly locate symbols throughout every subunit. Signed-off-by: Mel <mel@rnrd.eu>
2025-06-30License project files under MPL-2.0Mel
Signed-off-by: Mel <mel@rnrd.eu>
2025-06-30Implement Visitor system for syntax tree, with re-written tree printer as ↵Mel
first usage Signed-off-by: Mel <mel@rnrd.eu>
2025-06-14Prevent mmap of empty fileMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-05-21Basic expression parser with operator precedence and associativityMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-05-18Define basic syntax tree (mostly expressions), with simple debug printingMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-03-14Bootstrapping lexerMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-03-14Add compound literal casts to common functions (this isn't C++)Mel
Signed-off-by: Mel <mel@rnrd.eu>
2025-03-11Add common library for basic types, functions and macrosMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-02-28Map and read source fileMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-02-16Add bootstrap entrypointMel
Signed-off-by: Mel <mel@rnrd.eu>