Extending Xtend type system with own kinds of type? [message #1848122] |
Mon, 22 November 2021 00:12 |
Constantine Plotnikov Messages: 1 Registered: November 2021 |
Junior Member |
|
|
Hello!
I'm planning to do some experiments and demos on general-purpose extensions to type systems later this year. I basically need to add new kind of type (that will expand to several java types and a lot of fields and methods) that could happen anywhere where class could be defined, and a corresponding value constructor for that kind of type (that could happen anywhere where new object could be created). I want to reach demoware stage of an idea, so performance and other quality requirements are not high right now.
The problem is that I want to keep all existing features and overall syntax of Xtend and even to reuse them of for new kinds of types. This is different from available entity sample. So, I want to extend Xtend to some Xtend+ instead of replicating it entirely in parallel as in the entity sample.
I'm interested if there are projects that do similar magic of extending Xtend with new types of types and value expressions, so I could use it as a guidance. Xtend looks like an interesting platform for programming language research, but I'm somewhat lost where to start if I'm working with existing rather than completely new languages.
Best Regards,
Constantine Plotnikov
|
|
|
Powered by
FUDForum. Page generated in 0.02140 seconds