about summary refs log tree commit diff
path: root/boot
AgeCommit message (Collapse)Author
2026-05-30Define name resolution behavior, clean-up langauge object resolutionMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-28Correct type modifier combinations and groupingMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-28Add tests for function value passing and capturing closure behaviorMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-28Allow no arguments for calls and constructsMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-28Test runner should ignore any hidden files in test foldersMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-28Use semicolon tokens as statement separatorsMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-28Split endless and while loops into `loop` and `while`Mel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-26Support multi-level closure capturesMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-26Locate and pass through captured locals to stateful closuresMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-26Lambda function emission, thin/fat calling conventions for (future) ↵Mel
closed-over state Signed-off-by: Mel <mel@rnrd.eu>
2026-05-24Power operator via runtime library implementationMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-24Emit IR/C increment/decrement in expression positionMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-24Support named-unnamed call and construction arguments and fields with final ↵Mel
resolved order Signed-off-by: Mel <mel@rnrd.eu>
2026-05-24Emit c-header pragmas as includesMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-24Make diagnostics generic over passes, condensing different error handlingMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-19Break up large IR lowering functions into sub-functions to clean upMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-19Simplify statement synthesis boilerplateMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-19Add IR constructorsMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-06Lowering pass test harness, and initial pass test suiteMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-06Tests for new IR transpilerMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-06Add a few mininmal print functions to catboot core runtimeMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-05Emit transpiled function bodies, blocks, statements, expressions, etc.Mel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-05Output transpiled function signatures and definitionsMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-05Type transpilation passes 1 & 2Mel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Initial structure for transpiler IR translation unit processMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Bump license year for touched filesMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Remove previous source tree-based transpiler, wire in lowering passMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Lift out any function closures in lowering pass 2Mel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Lower all styles of source loopsMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Lower source compound assigns and inc/dec statementsMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Lower source if + while + endless statementsMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Lowering pass lexical scope trackingMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Lower source expressions into simple IRMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Initial lowering pass 2 implementation, create shells for source expressions ↵Mel
and statements Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Lower down structural (inline) type definitions into type objectsMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04FNV-1a hashing algorithmMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Topologically sort types and their dependencies during lowering, report cyclesMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-04Complete lowering pass 1, fully collect all top-level declarations and their ↵Mel
dependencies Signed-off-by: Mel <mel@rnrd.eu>
2026-05-03IR lowering pass 1, function declarationsMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-03Macro for empty leaf walking for IR visiting, re-formatMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-03Lowering pass initial driver shellMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-03Add basic test harness for IR testingMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-03IR visit system and pretty printerMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-03Intermediate representation taxonomyMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-03Move tree visit definitions in visit.c to visit/tree.c for future consistencyMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-05-03Rename tree nodes to add consistent prefix, de-node, clean-up namesMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-01-27TinyCC (libtcc) backend for catbootMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-01-26Streamline build and temporary build directory, copy runtimeMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-01-25Allow different transpile pass output typesMel
Signed-off-by: Mel <mel@rnrd.eu>
2026-01-22Implement file embedding into compiler sources during buildMel
Signed-off-by: Mel <mel@rnrd.eu>