Aleksey Rakov

Results 134 issues of 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(); }...

Optimization request

**Describe the bug** When following code is compiled the compiler is crashed. **To Reproduce** WindowHandle handle := cast WindowHandle(forward program.MainWindow) \ back:nil;

critical bug

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 +=...

bug

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);...

Design Idea

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)

Sample request
good first issue

**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 {...

bug

In the following code import extensions; interface IFoo { abstract bar() {} } A : interface { bar() { console.printLine("A implementation of IFoo") } } public program() { IFoo o...

Feature request
Optimization request

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...

API feature request

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)

Design Idea
Optimization request

Closures passed as parameters should be stack-allocated. To limit GC load

Optimization request