aboutsummaryrefslogtreecommitdiff
path: root/src/cljcc/driver.clj
AgeCommit message (Collapse)Author
2024-12-14Add code emission for long typeShagun Agrawal
Finish chapter 11 Fix several bugs caused due to refactoring Add code emission for longs
2024-12-12Assembly codeden for long typeShagun Agrawal
Used clojure core match Added assembly phase
2024-12-01Typechecking for int, long typesShagun Agrawal
Refactored files to /analyze folder
2024-10-30Add emission for functionsShagun Agrawal
Able to execute "hello, world" program. Some segmentation faults in specific test steps. Executables not exiting on their own.
2024-09-19Add driver option and lexing stage for functions Ch 9Shagun Agrawal
2024-08-30Add compound statementsShagun Agrawal
Adding compound statements Variable values changed based on scope
2024-08-22Add analyzer for validating program semanticsShagun Agrawal
Add validator for semantic analysis Pass ch5 test cases for validate flag
2024-08-16Switch to hand made parser, refactor asts to adjust changeShagun Agrawal
Switch to hand made recursive descent parser. Remove instaparse from dependencies.
2024-08-11Add lexerShagun Agrawal
Add custom lexer Pass chapter 1 lex stages
2024-08-11Add bitwise operatorsShagun Agrawal
2024-08-10Add code emission for chapter 3Shagun Agrawal
Fix small bug in driver, it emitted the file in assembly step Add new instructions for code emission
2024-08-08Add code emission, pass chapter 2 testsShagun Agrawal
Add generic code emitters Fix some minor bugs
2024-08-03Add tacky IR stageShagun Agrawal
Add Tacky IR stage General formatting etc
2024-07-30Fix linux specific compilation bugShagun Agrawal
Add the line which specifies linux does not need executable stack at the end.
2024-07-28Refactor compiler driver, add running individual stages from cliShagun Agrawal
2024-07-26Add cli options for pasing and codegenShagun Agrawal
Add cli options specific for only parsing and codegen add logger for help in debugging
2024-07-24throw exception in case of parsing failureShagun Agrawal
passed chapter 1 tests
2024-07-24Fix reflection warnings for graal VM compilationShagun Agrawal
2024-07-24Add initial compiler implementationShagun Agrawal