You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
All of the math operations of Daybreak are defined as macros. These should be defined in Daybreak and not be defined directly as C code in the generation step.
Describe the solution you'd like
This should be the syntax for macros
defc add(x y) do// ASM code in here, asm being whatever output language we are generating
((x)+(y))
end
Describe alternatives you've considered
I have considered directly taking the C syntax but that feels nasty. This is consistent with the language's general design.
Additional context
This will be the equivalent to emitting assembly for our language for expressions. Our assembly being the underlying language you emit to.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
All of the math operations of Daybreak are defined as macros. These should be defined in Daybreak and not be defined directly as C code in the generation step.
Describe the solution you'd like
This should be the syntax for macros
Describe alternatives you've considered
I have considered directly taking the C syntax but that feels nasty. This is consistent with the language's general design.
Additional context
This will be the equivalent to emitting assembly for our language for expressions. Our assembly being the underlying language you emit to.
The text was updated successfully, but these errors were encountered: