| summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'content/fate_v1/declarations')
| -rw-r--r-- | content/fate_v1/declarations/events/_index.md | 2 | ||||
| -rw-r--r-- | content/fate_v1/declarations/text_effects/_index.md | 4 | ||||
| -rw-r--r-- | content/fate_v1/declarations/types/_index.md | 8 |
3 files changed, 9 insertions, 5 deletions
diff --git a/content/fate_v1/declarations/events/_index.md b/content/fate_v1/declarations/events/_index.md index 5493cd7..0c00d52 100644 --- a/content/fate_v1/declarations/events/_index.md +++ b/content/fate_v1/declarations/events/_index.md @@ -12,7 +12,7 @@ event type must be declared before use. `[C0]`, ..., `[CN]` can be used. ## Examples -* `(declare_event_type user_string_input rich_text (ptr string))` +* `(declare_event_type user_string_input text (ptr string))` * `(declare_event_type wait int)` * `(declare_event_type set_background_to string)` * `(declare_event_type rumble)` diff --git a/content/fate_v1/declarations/text_effects/_index.md b/content/fate_v1/declarations/text_effects/_index.md index 3bf7a08..fd3742d 100644 --- a/content/fate_v1/declarations/text_effects/_index.md +++ b/content/fate_v1/declarations/text_effects/_index.md @@ -1,10 +1,10 @@ --- title: Text Effects --- -Text effects are attributes that can be given to rich text elements. The +Text effects are attributes that can be given to text elements. The effects themselves can take parameters. To avoid errors that would be difficult to detect, Tonkadur expects text effects to be declared before being used. -Note that multiple text effects can be applied to the same rich text elements, +Note that multiple text effects can be applied to the same text elements, so there is no need to create text effects that combine other text effects. Two text effects cannot have the same name, even if their parameter types diff --git a/content/fate_v1/declarations/types/_index.md b/content/fate_v1/declarations/types/_index.md index 81f295b..5844895 100644 --- a/content/fate_v1/declarations/types/_index.md +++ b/content/fate_v1/declarations/types/_index.md @@ -33,11 +33,15 @@ Lambda computations are available: to a lambda function returning a value of type `R` and taking parameters of types `A0` ... `AN`. +Procedures/sequences can be stored for future reference: +* `(sequence ([A0 = TYPE] ... [AN = TYPE]))` is a type corresponding + to a procedure/sequence taking parameters of types `A0` ... `AN`. + ### Common Type Groupings * `[NUMBER]` corresponds to `int`, `float`. * `[COLLECTION]` corresponds to `(list [TYPE])` and `(set [COMPARABLE TYPE])`. -* `[PRIMITIVE]` `int`, `float`, `bool`, `string`, `rich_text`. -* `[COMPARABLE]` corresponds to `int`, `float`, `bool`, `string`, `rich_text`, +* `[PRIMITIVE]` `int`, `float`, `bool`, `string`, `text`. +* `[COMPARABLE]` corresponds to `int`, `float`, `bool`, `string`, `text`, and `(ptr [TYPE])`. This indicates types for which operators such as `<` are defined. |


