crashappsec / libcon4m

Base Compiler and Runtime Support for con4m
Apache License 2.0
0 stars 0 forks source link

Code generation #31

Closed viega closed 2 months ago

viega commented 2 months ago

The first pass of code generation is done enough. There are definitely a few things on the con4m-specific features where I haven't yet done everything I needed to do, but are more naturally addressed as I try to add the con4m-specific functionality back in the next phase.

One major thing waiting for that pass-- I only implemented code generation for binary ops (well, any builtin polymorphic op) if the operands are int types.

The tests starting with basic are all meant to run (and currently do). There are a lot of basics that are still completely untested. I'll add more tests as I go.