-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Types from beginning to end #37
Commits on Jan 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0d41365 - Browse repository at this point
Copy the full SHA 0d41365View commit details
Commits on Jan 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fe4610d - Browse repository at this point
Copy the full SHA fe4610dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f4d462 - Browse repository at this point
Copy the full SHA 2f4d462View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a013f3 - Browse repository at this point
Copy the full SHA 9a013f3View commit details
Commits on Jan 23, 2023
-
[Bugfix] Fix error in format string
I forgot we have special ways to do that now
Configuration menu - View commit details
-
Copy full SHA for 5831094 - Browse repository at this point
Copy the full SHA 5831094View commit details
Commits on Jan 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 055931c - Browse repository at this point
Copy the full SHA 055931cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08f8d36 - Browse repository at this point
Copy the full SHA 08f8d36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2578acc - Browse repository at this point
Copy the full SHA 2578accView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89337ae - Browse repository at this point
Copy the full SHA 89337aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fa9485 - Browse repository at this point
Copy the full SHA 9fa9485View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3457d53 - Browse repository at this point
Copy the full SHA 3457d53View commit details
Commits on Jan 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b5b3183 - Browse repository at this point
Copy the full SHA b5b3183View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a94037 - Browse repository at this point
Copy the full SHA 8a94037View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61f28a8 - Browse repository at this point
Copy the full SHA 61f28a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98ae71e - Browse repository at this point
Copy the full SHA 98ae71eView commit details -
[Codegen] Handle subscript operator all at once, instead of split
I'd say it's much easier to see how subscript is handled when it isn't split between two different places :Þ
Configuration menu - View commit details
-
Copy full SHA for f06972a - Browse repository at this point
Copy the full SHA f06972aView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa23eae - Browse repository at this point
Copy the full SHA aa23eaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9be95c - Browse repository at this point
Copy the full SHA c9be95cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61d343d - Browse repository at this point
Copy the full SHA 61d343dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ad6dbf - Browse repository at this point
Copy the full SHA 1ad6dbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d82cd3d - Browse repository at this point
Copy the full SHA d82cd3dView commit details -
[Codegen/IR] Make variable allocation instructions pointers to type
This feels like too much bodge; I'm sure there is some refactor that will make this more elegant, but this gets the same amount of tests passing and failing, as well as the same tests.
Configuration menu - View commit details
-
Copy full SHA for 9b30942 - Browse repository at this point
Copy the full SHA 9b30942View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20e42a0 - Browse repository at this point
Copy the full SHA 20e42a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ad2392 - Browse repository at this point
Copy the full SHA 3ad2392View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7d77a7 - Browse repository at this point
Copy the full SHA e7d77a7View commit details
Commits on Jan 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b4af7c9 - Browse repository at this point
Copy the full SHA b4af7c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8013c43 - Browse repository at this point
Copy the full SHA 8013c43View commit details -
[Codegen/x86_64] Add
t_pointer
primitive typeThis is most useful when you just need the sizeof a pointer, for example.
Configuration menu - View commit details
-
Copy full SHA for a836f0b - Browse repository at this point
Copy the full SHA a836f0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d23bd2 - Browse repository at this point
Copy the full SHA 9d23bd2View commit details
Commits on Jan 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 55e1ec0 - Browse repository at this point
Copy the full SHA 55e1ec0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e339100 - Browse repository at this point
Copy the full SHA e339100View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c4570d - Browse repository at this point
Copy the full SHA 6c4570dView commit details
Commits on Feb 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a94f836 - Browse repository at this point
Copy the full SHA a94f836View commit details -
Configuration menu - View commit details
-
Copy full SHA for 933ed59 - Browse repository at this point
Copy the full SHA 933ed59View commit details -
[Codegen] Very basic codegen of string literals
They're still all zeroes, but we're closer!!
Configuration menu - View commit details
-
Copy full SHA for 312d4e7 - Browse repository at this point
Copy the full SHA 312d4e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac386a8 - Browse repository at this point
Copy the full SHA ac386a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab4eac2 - Browse repository at this point
Copy the full SHA ab4eac2View commit details
Commits on Feb 2, 2023
-
[AST] Make
ast_print_node
publicly availableAlso remove unused bitfield; we can add one if we end up adding a lot of bools there, I guess.
Configuration menu - View commit details
-
Copy full SHA for 4423fee - Browse repository at this point
Copy the full SHA 4423feeView commit details -
Move an `if` into the surrounding switch with `case`. Make needless multiline declarations a single line.
Configuration menu - View commit details
-
Copy full SHA for c57b388 - Browse repository at this point
Copy the full SHA c57b388View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab7dcf8 - Browse repository at this point
Copy the full SHA ab7dcf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for db2d432 - Browse repository at this point
Copy the full SHA db2d432View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bd10b3 - Browse repository at this point
Copy the full SHA 1bd10b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66f7289 - Browse repository at this point
Copy the full SHA 66f7289View commit details -
Configuration menu - View commit details
-
Copy full SHA for b125c17 - Browse repository at this point
Copy the full SHA b125c17View commit details -
[AST] Remove
id
system entirelyWith primitives now being implemented as the address of global definitions, we can compare pointers instead of needing a unique id. Plus, the one case that ids were handling (t_integer_literal and t_integer being implicitly equal) was already specifically handled in the one place that used the id system.
Configuration menu - View commit details
-
Copy full SHA for bee8136 - Browse repository at this point
Copy the full SHA bee8136View commit details -
[Tests] Two tests---one passes, one fails
This is hopefully some motivation to get codegen of static variable initialisation done. The passing one will ensure we can manipulate arrays
Configuration menu - View commit details
-
Copy full SHA for afebae2 - Browse repository at this point
Copy the full SHA afebae2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e669db3 - Browse repository at this point
Copy the full SHA e669db3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9ccbb2 - Browse repository at this point
Copy the full SHA c9ccbb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6615957 - Browse repository at this point
Copy the full SHA 6615957View commit details -
[Codegen/IR] Fix overwrite of
rhs
of subscript operatorThis was bad due to optimisation expecting an unscaled value in the subscripts `rhs`
Configuration menu - View commit details
-
Copy full SHA for 9b71982 - Browse repository at this point
Copy the full SHA 9b71982View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc49514 - Browse repository at this point
Copy the full SHA dc49514View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e3e0f8 - Browse repository at this point
Copy the full SHA 4e3e0f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec7b772 - Browse repository at this point
Copy the full SHA ec7b772View commit details -
Configuration menu - View commit details
-
Copy full SHA for 974bdff - Browse repository at this point
Copy the full SHA 974bdffView commit details
Commits on Feb 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 32f6a44 - Browse repository at this point
Copy the full SHA 32f6a44View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2d090d - Browse repository at this point
Copy the full SHA b2d090dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b14fa1c - Browse repository at this point
Copy the full SHA b14fa1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8281a44 - Browse repository at this point
Copy the full SHA 8281a44View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec35e50 - Browse repository at this point
Copy the full SHA ec35e50View commit details -
[Codegen/x86_64] Move further away from variable args...
Still more todo; it's mostly memory interaction stuff
Configuration menu - View commit details
-
Copy full SHA for 6574a1d - Browse repository at this point
Copy the full SHA 6574a1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e830a9f - Browse repository at this point
Copy the full SHA e830a9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 339e07c - Browse repository at this point
Copy the full SHA 339e07cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84f1e10 - Browse repository at this point
Copy the full SHA 84f1e10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80749cf - Browse repository at this point
Copy the full SHA 80749cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81aaf8e - Browse repository at this point
Copy the full SHA 81aaf8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a400f57 - Browse repository at this point
Copy the full SHA a400f57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a70c4c - Browse repository at this point
Copy the full SHA 4a70c4cView commit details -
[Minor/Codegen] Outline places where string literals need handled
Always more todo...
Configuration menu - View commit details
-
Copy full SHA for cd2381a - Browse repository at this point
Copy the full SHA cd2381aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f922e21 - Browse repository at this point
Copy the full SHA f922e21View commit details
Commits on Feb 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 13b8210 - Browse repository at this point
Copy the full SHA 13b8210View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33c195c - Browse repository at this point
Copy the full SHA 33c195cView commit details
Commits on Feb 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 49c9970 - Browse repository at this point
Copy the full SHA 49c9970View commit details
Commits on Feb 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e594ee5 - Browse repository at this point
Copy the full SHA e594ee5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b95d879 - Browse repository at this point
Copy the full SHA b95d879View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7be438 - Browse repository at this point
Copy the full SHA b7be438View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49f6762 - Browse repository at this point
Copy the full SHA 49f6762View commit details -
[Sema] Move some
type_is_*
functions up toast.h
from `typechecke……r.c` There are more to come, I'm sure.
Configuration menu - View commit details
-
Copy full SHA for 6c49cac - Browse repository at this point
Copy the full SHA 6c49cacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7253339 - Browse repository at this point
Copy the full SHA 7253339View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b84f66 - Browse repository at this point
Copy the full SHA 7b84f66View commit details -
[Minor/Sema] This should now work pretty much as expected
Promise, last one lmao. Still have to fix assignment source location, eventually
Configuration menu - View commit details
-
Copy full SHA for 771b9b4 - Browse repository at this point
Copy the full SHA 771b9b4View commit details -
[Minor/Sema] Very minor formatting
Okay I lied this is the last one, lmao.
Configuration menu - View commit details
-
Copy full SHA for df8ffb0 - Browse repository at this point
Copy the full SHA df8ffb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a60f48 - Browse repository at this point
Copy the full SHA 5a60f48View commit details -
[Sema] Use
type_is_*
instead of direct comparisonsThis will eventually allow for typedefs to be a drop-in-place feature, rather than requiring extensive rewriting
Configuration menu - View commit details
-
Copy full SHA for cc09b8b - Browse repository at this point
Copy the full SHA cc09b8bView commit details -
[Codegen] Improve codegen of subscript variable reference
This will now allow `ir_static_reference` to take in a direct `IRStaticVariable`, when necessary, instead of just a name span. Still not sure how to go about handling the local version of this, to be honest. Maybe a `copy`?
Configuration menu - View commit details
-
Copy full SHA for 836f99b - Browse repository at this point
Copy the full SHA 836f99bView commit details -
Configuration menu - View commit details
-
Copy full SHA for acd725c - Browse repository at this point
Copy the full SHA acd725cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3fab2d - Browse repository at this point
Copy the full SHA f3fab2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8241fa - Browse repository at this point
Copy the full SHA a8241faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c027c7 - Browse repository at this point
Copy the full SHA 6c027c7View commit details -
[Codegen/x86_64] Fix clobber values of
does_clobber
for shift instr……uctions ``` femit_reg_to_reg(context, I_MOV, inst->rhs->result, REG_RCX); femit_reg(context, I_SAR, inst->lhs->result); femit_reg_to_reg(context, I_MOV, inst->lhs->result, inst->result); ``` This clobbers left, not the right.
Configuration menu - View commit details
-
Copy full SHA for c7f87aa - Browse repository at this point
Copy the full SHA c7f87aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88715b4 - Browse repository at this point
Copy the full SHA 88715b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1104d93 - Browse repository at this point
Copy the full SHA 1104d93View commit details -
Configuration menu - View commit details
-
Copy full SHA for b222c7f - Browse repository at this point
Copy the full SHA b222c7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6411d36 - Browse repository at this point
Copy the full SHA 6411d36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40b4430 - Browse repository at this point
Copy the full SHA 40b4430View commit details -
[Codegen] Rename
var
to the more correctvar_decl
Also add error for unhandled IR instruction types, just in case.
Configuration menu - View commit details
-
Copy full SHA for f1f876c - Browse repository at this point
Copy the full SHA f1f876cView commit details -
[Sema] Get rid of
is_*
wrappers, where possibleThere are still some we need to transfer over, like `is_integer` and such... We'll get there.
Configuration menu - View commit details
-
Copy full SHA for 8282edc - Browse repository at this point
Copy the full SHA 8282edcView commit details -
[Codegen/IR] Fix assigned type of
IR_LOAD
instructionsThis is sort of a bodge, but is work towards the final destination.
Configuration menu - View commit details
-
Copy full SHA for 3a9c115 - Browse repository at this point
Copy the full SHA 3a9c115View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79c22b1 - Browse repository at this point
Copy the full SHA 79c22b1View commit details