about summary refs log tree commit diff
path: root/boot/common.c
AgeCommit message (Collapse)Author
2025-08-05Add core library for catskill transpiled source, output defined types in ↵Mel
transpiler Signed-off-by: Mel <mel@rnrd.eu>
2025-07-23Add option to test suite to auto-adjust expected output in definitionMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-07-10Expand common string library with `String_View` and format macrosMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-07-09Add NORETURN to failure functions, add `unreachable`Mel
Signed-off-by: Mel <mel@rnrd.eu>
2025-07-09Multi-error display and fix up finding line boundriesMel
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-04Test suite runner prototype for `catboot`Mel
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-30Re-format FOR_EACH macros as control structuresMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-06-15`void` for parameter-less functions (I keep forgetting I'm not writing C++ ↵Mel
anymore.. ^^') Signed-off-by: Mel <mel@rnrd.eu>
2025-06-12Fix `failure()` colors + stream flush, define ANSI escape codesMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-06-12Parse most primitive types into treeMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-05-31Keyword-less variable declaration parsingMel
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-15Add POSIX CRC32 algorithm implementation to common libraryMel
Signed-off-by: Mel <mel@rnrd.eu>
2025-03-15Access string data directly in iteration macro to avoid bounds-checkingMel
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>