Allow verbs in the specification #56
Replies: 5 comments
-
Hi @LSWdigital I'm not exactly sure what you mean. Could you please give an example how verb is used? |
Beta Was this translation helpful? Give feedback.
-
An example is given in the readme
In principle, a robot chef could mash potatoes. It could provide an implementation cooklang with a builtin $mash{} in order to do this.
This would admittedly not be particularly useful for the main intended use of the language, but I think as an optional feature, it could keep the potential open as the language is developed. |
Beta Was this translation helpful? Give feedback.
-
@LSWdigital thanks for sharing the example. It's still not clear for me what is the use case and how this will be used in the end. Also, I assume we need to express a link between the verb and ingredient to make any use of it, right? |
Beta Was this translation helpful? Give feedback.
-
The fact that i'm mentioned in a repo i never heard about is hilarious, i kinda like the markup ;) |
Beta Was this translation helpful? Give feedback.
-
@potato haha, great username! |
Beta Was this translation helpful? Give feedback.
-
I have built a similar (toy) language for recipes in the past, and noted that such a language could be interpreted by a robot.
For this to take place, verbs should be available to the language, similar to the @, #, and ~ nouns. $ may be a sensible character to use.
The "standard library" should not provide any verbs (just as no @ or # nouns are provided).
Beta Was this translation helpful? Give feedback.
All reactions