Skip to content

Highlight input declarations and the values a spawn gives; 1.7.0 - #4

Merged
matthewp merged 1 commit into
mainfrom
spawn-input
Nov 20, 2026
Merged

matthewp merged 1 commit into
mainfrom
spawn-input

Conversation

@matthewp

Copy link
Copy Markdown
Collaborator

For lucydsl/liblucy#90, which adds inputs to the language.

  • input name is a keyword and the type in input name(Type) a class name, as for event. An event called input (input => idle) is not.
  • In a spawn's block, event in event.data, and self and parent after the =, are keywords (context already was). parent in send(parent, ...) is too. A state or an event called self or parent is not.

Checked by tokenising a sample with Prism 1.25, the version the website pins. Version 1.7.0; the website takes it when it documents inputs.

@matthewp
matthewp merged commit fdc2be6 into main Nov 20, 2026
2 checks passed
@matthewp
matthewp deleted the spawn-input branch November 20, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant