AdaCore / langkit

Language creation framework.

Home Page:https://www.adacore.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Free functions

raph-amiard opened this issue · comments

As discussed live, opening an issue for this.

For the moment we can only have properties, that apply to ast nodes. Properties are akin to methods. As a consequence, we have a lot of code that should be in functions/static methods and that in the end is on nodes.

This issue is to implement free functions in the DSL. This encompasses generating code for them, as well as making them part of the public API.