martin-azpillaga / M

Data oriented programming language for game developers
https://minim.tools/M
GNU Affero General Public License v3.0
22 stars 0 forks source link

Single pass local validation #454

Closed martin-azpillaga closed 4 years ago

martin-azpillaga commented 4 years ago

Currently, the parsed model is traversed twice. First for detecting all functions and components and then for actual validation.

A single pass validation is theoretically possible if the constraint checking (undefined and redefined symbols) is deferred for after the pass.