phillipstanleymarbell / Noisy-lang-compiler

Noisy language compiler
MIT License
17 stars 1 forks source link

Flag for unitless number handling strictness #570

Open blackgeorge-boom opened 2 years ago

blackgeorge-boom commented 2 years ago

Add a compiler flag for the Newton LLVM IR Pass, to determine the strictness of the dimensionality check regarding arithmetic operations between Newton signals and constant numbers, that do not have an explicit Newton type.

Consider the case of adding one Newton signal and a number: