joshsh / ripple

Semantic Web scripting language
Other
102 stars 9 forks source link

How are @-commands different from programs? Which way is up in the stack? Braces? #61

Closed JeffreyBenjaminBrown closed 7 years ago

JeffreyBenjaminBrown commented 7 years ago

In the documentation I only seem to find @-commands defined on their own lines, as in @prefix : http://example.org/myPrograms# I never find them in sequence. Other commands, like add and mul, can chain together.

Also @-commands always precede their arguments, whereas other programs must follow their arguments. Which makes me ask: which side of a string of text is the top of the stack?

Are those prefix @-commands macros? Can they be interlaced with the (ordinary?) postfix programs? Are there parentheses?

joshsh commented 7 years ago

See answer at: https://groups.google.com/forum/#!topic/semantic-synchrony/1ykJc4LpCC0