Skip to content

Support placeholder holes and prompt for implicit values when needed #115

Merged
istathar merged 8 commits into
technique-lang:mainfrom
istathar:more-ui-tweaks
Jun 16, 2026
Merged

Support placeholder holes and prompt for implicit values when needed #115
istathar merged 8 commits into
technique-lang:mainfrom
istathar:more-ui-tweaks

Conversation

@istathar

Copy link
Copy Markdown
Member

Improve presentation of procedures when running.

Introduce support for placeholder holes implicitly defined when invoking a procedure requiring input parameters. This is done when running by prompting the user to supply a value when invoking.

Correctness improvements related to Quitting and when + interrupted.

@istathar istathar self-assigned this Jun 15, 2026
@istathar

Copy link
Copy Markdown
Member Author

@istathar

Copy link
Copy Markdown
Member Author

When a parameter value is needed at an invocation point the prompt becomes

↘ /immediate_action:/1 <activate_crisis_management>(a : Alarm) ▶

showing the variable to be bound and its type, asking for a value (and accepting for a default). Obviously we don't have type construction defined yet, but passing a string literal Value serves well enough for now.

@istathar istathar changed the title More UI tweaks Support placeholder holes and prompt for implicit values when needed Jun 16, 2026
@istathar istathar merged commit 62bc41a into technique-lang:main Jun 16, 2026
1 check passed
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