esoterra / claw-lang

The compiler for the Claw language
https://claw-lang.dev
Apache License 2.0
118 stars 4 forks source link

Fill in missing numeric operations #1

Open esoterra opened 11 months ago

esoterra commented 11 months ago

In the codegen module, lots of the binary operations are not yet mapped to instructions.

This just requires mapping every combination of ValType and BinaryOp to the correct Instruction.

esoterra commented 8 months ago

These are implemented but some do not have tests.

Test contributions for these operations would be greatly appreciated.