Michael2109 / cobalt

The Cobalt programming language
GNU Lesser General Public License v3.0
37 stars 10 forks source link

Generate bytecode for arithmetic expressions #524

Closed Michael2109 closed 6 years ago

Michael2109 commented 6 years ago

Added generation for integer arithmetic expressions. This needs to be extended to find the type of the expression (E.g. float, double, int, long) and then use the right operator such as IADD, FADD, etc.