numere-org / NumeRe

Framework for numerical computations, data analysis and visualisation
https://www.numere.org
GNU General Public License v3.0
20 stars 7 forks source link

Allow var, str, cst, tab in control flow blocks #221

Closed numeredev closed 2 months ago

numeredev commented 5 months ago

DESCRIPTION

Is your change request related to a problem? Please describe. The mentioned commands are simply ignored in control flow block context. Change this so that they are allowed.

Describe the solution you'd like Enable the usage of var, str, cst, tab in control flow blocks. It is fine, if they are only executed once and not re-initialized all the time.

Describe possible alternatives you've considered A clear and concise description of any alternative solutions or features you've considered, if any.

Additional context Add any other context or screenshots about the feature request here.

(Do not write below this line)


DEVS' SECTION

ANALYSIS

See description. The corresponding implementation is within the complile() function (which is only executed once).

IMPLEMENTATION STEPS

(see also our Wiki for implementation guidelines)

DOCUMENTATION STEPS

(see also our Wiki for further information)

PULL REQUEST