pervognsen / bitwise

Bitwise is an educational project where we create the software/hardware stack for a computer from scratch.
Other
5.13k stars 213 forks source link

Ion builtin conflicts #61

Open tjpalmer opened 6 years ago

tjpalmer commented 6 years ago

In porting the ion compiler to ion, I had conflicts with ion builtins, specifically the TYPE_... constants. I ended up renaming the TYPE_... constants in the compiler to CMPL_TYPE_..., though it's easy to mix things up, still.

Maybe this isn't likely to trip people up, but any ongoing additions to builtins can break existing code.

I'm not sure the right way to address this matter. Some possibilities:

Maybe other options, too.