ELENA-LANG / elena-lang

ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. Rich set of tools are provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers, run-time interfaces
https://elena-lang.github.io/
MIT License
227 stars 23 forks source link

Operation with int constant #588

Closed arakov closed 3 months ago

arakov commented 1 year ago

Operations with an integer constant should be compiled similar to operations with int literal, e.g. the constant value should be evaluated and the actual value is used when it is possible

arakov commented 3 months ago

Already implemented in the previous commits