-
882607b13d
Add LICENSE
main
Bananymous
2024-04-30 01:34:05 +03:00
-
0508bde07c
Add some code examples that I used as test cases during implementation
Bananymous
2024-04-30 01:29:09 +03:00
-
83c560b2a9
Add a text document descibing my implementation of Phase 4
Bananymous
2024-04-30 01:28:10 +03:00
-
3fa0e5f655
Fix check for when stack frame is needed
Bananymous
2024-04-30 00:05:52 +03:00
-
c37e48e8b2
Make boolean variables be only bottom byte of %rax (%al)
Bananymous
2024-04-29 22:23:57 +03:00
-
8bd65f4c05
Don't save stack frame if function does no calls
Bananymous
2024-04-29 22:21:09 +03:00
-
e70b078b35
Make optimization optional with flag
Bananymous
2024-04-29 22:18:10 +03:00
-
999cc0d5d1
Fix bugs about bound checking for immediate
Bananymous
2024-04-29 21:57:45 +03:00
-
db4f37709f
Optimize consecutive mov/add/sub instructions to single instruction
Bananymous
2024-04-29 21:53:50 +03:00
-
1e8bdf6cd2
Optimize addition/subtraction of immediate 1 and zeroring registers
Bananymous
2024-04-29 21:34:44 +03:00
-
2141a17d1e
Optimize artithmetic with immediate values
Bananymous
2024-04-29 21:19:16 +03:00
-
351634e512
Fix bug with temporary registers and optimize binary_op code gen
Bananymous
2024-04-29 21:03:39 +03:00
-
69ae83efcb
Implement basic optimization step for generated assembly
Bananymous
2024-04-29 18:18:42 +03:00
-
79ca8e78b3
Optimize binary_op generation to use less stack if possible
Bananymous
2024-04-29 18:18:24 +03:00
-
56bcad6fc1
Generated code is now kept as list of instructions
Bananymous
2024-04-29 17:03:51 +03:00
-
8c8d294527
Cleanup arguments
Bananymous
2024-04-28 03:22:32 +03:00
-
8656d74139
Cleanup code and add arguments for compiling code
Bananymous
2024-04-28 03:02:25 +03:00
-
5c5942629d
Implement date attribute reading
Bananymous
2024-04-28 02:22:32 +03:00
-
1c1d721f7c
Fix attribute_{read,write} types to int
Bananymous
2024-04-28 02:20:35 +03:00
-
9238eae5ee
Implement simple assembly transpiler for phase 4
Bananymous
2024-04-28 01:37:24 +03:00
-
53e945fbe5
Fix true/false naming on unless_expression
Bananymous
2024-04-28 01:35:48 +03:00
-
04a899247e
Implement proper semantic checking for full AST
Bananymous
2024-04-26 13:36:20 +03:00
-
7a306b7904
Add phase 3 text document
Bananymous
2024-04-13 23:26:13 +03:00
-
91a3a0ba2e
Implement phase 3 semantic checking
Bananymous
2024-04-13 22:51:45 +03:00
-
004ee25273
Make comments greedy
Bananymous
2024-03-15 08:35:17 +02:00
-
cb4c194420
Add exception handling for date parsing in lexer
Bananymous
2024-03-04 02:01:19 +02:00
-
3ae6068215
Phase 02: write required text document
Bananymous
2024-03-04 01:54:59 +02:00
-
edadabc7ba
Implement phase 02 syntax analysis
Bananymous
2024-03-04 01:54:42 +02:00
-
d4708ae322
Add README.md for phase 1
Bananymous
2024-02-14 02:41:33 +02:00
-
9510c0d7a6
Implement phase 1 lexer
Bananymous
2024-02-14 02:32:21 +02:00
-
91716ae12f
spring 2024 git template
Jyke Savia
2023-12-18 07:45:29 +02:00
-
c98ef5f0bf
Template repository initialization
repolainen
2023-12-15 11:12:30 +02:00