Aleksey Rakov
Aleksey Rakov
If there is only one argument -> do not create frame, just replace the old argument with new one after typecasting. A; B { A cast() = new A(); }...
**Describe the bug** When following code is compiled the compiler is crashed. **To Reproduce** WindowHandle handle := cast WindowHandle(forward program.MainWindow) \ back:nil;
The following code should work: B; C { B cast() = new B(); } singleton E { load(params B[] o) { for(int i := 0, i < o.Length, i +=...
When there is only single variant of multi-method, the autogenerated multi-dispatcher should typecast the value to expected types E.g. in the following code: public interface Glyph { abstract draw(Window w);...
Would you like to learn a new programming language and contribute to an open source project? Try ELENA. Write a tutorial in ELENA and publish it at [ELENA-LANG/tutorials](https://github.com/ELENA-LANG/tutorials)
**Describe the bug** A dispatch handler ignores the target expression (as it was only an object without any operation). **To Reproduce** import extensions; singleton FieldExtender { Field = new {...
In the following code import extensions; interface IFoo { abstract bar() {} } A : interface { bar() { console.printLine("A implementation of IFoo") } } public program() { IFoo o...
ELENA Virtual Machine should support compile-time compilation. As a result the system will provide two alternative ways how to generate a code in run-time - using script engine and interpreter...
Support final variables / fields. So the compiler can directly resolve the methods. The variable / class can be assigned only with specified type (non-polymorphic variables)
Closures passed as parameters should be stack-allocated. To limit GC load