c2compiler icon indicating copy to clipboard operation
c2compiler copied to clipboard

Compiler: add builtin properties for min/max etc.

Open chqrlie opened this issue 6 months ago • 0 comments

  • add support for builtin properties
  • handle min, max and width for integer types
  • handle min, max, width, inf, nan for floating point types
  • allow builtin names as module names
  • create c2 library with builtin property modules
  • add c2 module in c2 library and remove c2module_loader.c2
    • min_xxx and max_xxx definitions should be removed after boostrap
    • C types should be removed and replaced with extern "C" {} blocks
  • update tests

chqrlie avatar Jun 11 '25 07:06 chqrlie