Difference between revisions of "SCI Parser Programmer's Reference/Examples"
From SCI Wiki
Jump to navigationJump to search (Created page with "Official SCI Documentation<br /> <div align="center"> Chapter: 1 | SCI Parser Programmer's Reference/User Parse Tre...") |
|||
| Line 19: | Line 19: | ||
| | ||
| − | -- | + | ==<br /> EXAMPLES == |
| + | |||
| + | {| | ||
| + | |"get rock"||'get/rock'||'get[/rock]'<br />'[get]/rock'<br />'get' or '/rock' | ||
| + | |- | ||
| + | |"hit tree with ax"||'hit/tree/ax<with'<br />'hit/tree/ax[<with]' | ||
| + | |- | ||
| + | |"go get prison guard jacket"||'get<go/jacket<(guard<prison)' | ||
| + | |- | ||
| + | |"get food" followed by|| | ||
| + | |- | ||
| + | |"eat it" is the same as|| | ||
| + | |- | ||
| + | |"get food" and "eat food"|| | ||
| + | |- | ||
| + | |"what time is it?"||'is<what<time' | ||
| + | |- | ||
| + | |"which witch made stew?"||'made<which<witch/stew' | ||
| + | |- | ||
| + | |"do fairies sleep?"||'sleep<fairies<do' | ||
| + | |- | ||
| + | |"when do fairies sleep?"||'(sleep<fairies<do)<when' | ||
| + | |- | ||
| + | |"get across creek with boat"||'get<across/creek/boat' | ||
| + | |- | ||
| + | |"hamburger"||'/hamburger' | ||
| + | |- | ||
| + | |"coffee with sugar"||'/coffee/sugar<with' | ||
| + | |} | ||
| | ||
Revision as of 01:43, 22 December 2015
EXAMPLES
| "get rock" | 'get/rock' | 'get[/rock]' '[get]/rock' 'get' or '/rock' |
| "hit tree with ax" | 'hit/tree/ax<with' 'hit/tree/ax[<with]' | |
| "go get prison guard jacket" | 'get<go/jacket<(guard<prison)' | |
| "get food" followed by | ||
| "eat it" is the same as | ||
| "get food" and "eat food" | ||
| "what time is it?" | 'is<what<time' | |
| "which witch made stew?" | 'made<which<witch/stew' | |
| "do fairies sleep?" | 'sleep<fairies<do' | |
| "when do fairies sleep?" | '(sleep<fairies<do)<when' | |
| "get across creek with boat" | 'get<across/creek/boat' | |
| "hamburger" | '/hamburger' | |
| "coffee with sugar" | '/coffee/sugar<with' |
- Notes
< Previous: Tree Matching Next: Index >