Skip to content

Implement evaluation of foreach and repeat keywords - #106

Merged
istathar merged 11 commits into
technique-lang:mainfrom
istathar:run-4
Jun 1, 2026
Merged

Implement evaluation of foreach and repeat keywords#106
istathar merged 11 commits into
technique-lang:mainfrom
istathar:run-4

Conversation

@istathar

Copy link
Copy Markdown
Member

Further implement the evaluator to handle the scopes created by the foreach and repeat keywords.

Fix a bug where a binding in a descriptive paragraph was evaluated twice.

Introduce a new translation error if the Technique attempts to bind the result of a Operation::Loop over: None operation. At present that doesn't make sense, as repeat loops infinitely and doesn't return.

Preliminay implementation of binding command-line arguments to the parameters of the top-level entry procedure.

@istathar istathar self-assigned this May 31, 2026
@istathar istathar changed the title Implement evaluation of foeach and repeat keywords Implement evaluation of foreach and repeat keywords May 31, 2026
@istathar
istathar merged commit 9ade8a2 into technique-lang:main Jun 1, 2026
1 check passed
@istathar
istathar deleted the run-4 branch June 14, 2026 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant