summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-01-29Update README and version # to reflect binary numbersHEADmasterbd
2025-01-29Add emission procedures for binary ops, fix unary parsing errorbd
2025-01-29Add fixup rules new binary operatorsbd
2025-01-29Modify assembly pass to expand new binary operatorsbd
2025-01-29tacky generation for binary operationsbd
2025-01-29Add new tokens for binary operations to IRbd
2025-01-28Fix namespace issues related to IR symbolsbd
2025-01-28Simplified declaring new IR nodes in (backend ast ir)bd
2025-01-28Minor cleanup to main ull driverbd
2025-01-28Fix various lexer/parser bugs, pass all tests for binary opsbd
2025-01-28[Ongoing] Rewrite frontend to use Flex/Bisonbd
This is a merge of another experiment, so the changes are large: - separated "modules" directory into frontend/backend - adjusted module names and moved files for this to happen - removed modules lexer & parser - removed all the unit tests (most were outdated) - added Bison, flex, and C development tools to manifest.scm - added lexer.l, a source file used by the flex utility with a functioning lexing implementation - added parser.y, a source file used by the bison utility with a functioning parser implementation - added node.c and node.h, which parser.y uses to construct an AST of a C source file (up to binary ops) - added driver.c, a Guile-C interface that provides a module to scheme programs - added a Makefile to make all of this - added stuff to .gitignore
2025-01-28Rename gscc to 'ull'bd
2025-01-18Add lexer support for add, mul, div, and modbd
2025-01-18Complete full translation for unary operatorsbd
2025-01-18set modules folder to modules pathbd
2025-01-18Add new emitter files for code generationbd
2025-01-18use a scheme procedures+eval to manage and transform ASTbd
Removes records for a more-managable scheme-syntax approach. Modules+overriding allows for the IR itself to be represented and evaluated as scheme code during each transformation.
2025-01-18Remove unused filesbd
2025-01-12Expansion of complex expressions into set of instructionsbd
2025-01-12*** empty log message ***bd
2025-01-04Modify parser to handle unary operatorsbd
2024-12-31bump version numberbd
2024-12-31Add (and test) sub, add, inc/decrement, and bit-complement to lexerbd
2024-12-30fix whitespace in lexerbd
2024-12-30Implement assembly emission, allowing execution of trivial programsbd
Rewrite preprocess to return an input port rather than a temporary file.
2024-12-28Assembly generation for trivial programsbd
2024-11-05Add parser and ast generation for trivial programsbd
2024-11-04Add keywords to lexerbd
2024-11-04setup parser, clean up lexer testsbd
2024-11-04Basic lexer with unit testsbd
2024-11-04Add modules, open port for readingbd
2024-11-04initial compiler driverbd