OCamlPro / niagara-lang

Compiler for the Niagara language
GNU Affero General Public License v3.0
3 stars 6 forks source link

More user-friendly generated program objects #21

Open Keryan-dev opened 11 months ago

Keryan-dev commented 11 months ago

Some part of the compiler need to generate intermediary objects that ends up visible to the user. Some of them could remain hidden, but others can't without obfuscating some details on how the program computes its values. As examples : generated events for when-guards, intermediary pools for advances, etc.

We need some control over what is visible or not, and some clarity on what is, through clever naming, metadata, or anything that we can explain and trace back to what the user wrote.