Difference between revisions of "SCI Parser Programmer's Reference/Examples"

From SCI Wiki
Jump to navigationJump to search
 
(9 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
[[SCI Parser Programmer's Reference/User Parse Trees|2]] |  
 
[[SCI Parser Programmer's Reference/User Parse Trees|2]] |  
 
[[SCI Parser Programmer's Reference/Said Specs|3]] |  
 
[[SCI Parser Programmer's Reference/Said Specs|3]] |  
[[SCI Parser Programmer's Reference/Syntax|4]] |  
+
[[SCI Parser Programmer's Reference/Said Syntax|4]] |  
[[SCI Parser Programmer's Reference/Spec Trees|5]] |  
+
[[SCI Parser Programmer's Reference/Said Spec Trees|5]] |  
 
[[SCI Parser Programmer's Reference/Tree Matching|6]] |  
 
[[SCI Parser Programmer's Reference/Tree Matching|6]] |  
 
[[SCI Parser Programmer's Reference/Examples|7]] |  
 
[[SCI Parser Programmer's Reference/Examples|7]] |  
Line 21: Line 21:
 
==<br /> EXAMPLES ==
 
==<br /> EXAMPLES ==
  
{|
+
{| class="Mono"
|"get rock"||'get/rock'||'get[/rock]'<br />'[get]/rock'<br />'get' or '/rock'
+
| width= "300" valign= "top"|"get rock"||'get/rock'<br />'get[/rock]'<br />'[get]/rock'<br />'get' or '/rock'
 
|-
 
|-
|"hit tree with ax"||'hit/tree/ax<with'<br />'hit/tree/ax[<with]'  
+
| valign= "top"|"hit tree with ax"||'hit/tree/ax<with'<br />'hit/tree/ax[<with]'  
 
|-
 
|-
 
|"go get prison guard jacket"||'get<go/jacket<(guard<prison)'  
 
|"go get prison guard jacket"||'get<go/jacket<(guard<prison)'  

Latest revision as of 02:01, 22 December 2015

Official SCI Documentation

Chapter: 1 | 2 | 3 | 4 | 5 | 6 | 7 | Index


Examples

Author: Pablo Ghenis

Date: 21 July 1988 9:56:56 am

 


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


 

Table of Contents

 

< Previous: Tree Matching Next: Index >