Thanks Dimitry & Derek,
That did the trick. Premise grammar 1.0 complete for now. 
Cheers,
~PM
------------------------------------------------------------------------------------------------------------------------------------------------
term ::= number | moment | string  | symbol | scheme | collection
number ::= float_positive | float_negative
float_positive ::= '#' [0-9]+ '.' [0-9]* 
float_negative ::= '#-' [0-9]+ '.' [0-9]* 
moment ::= '@' [0-9]+                    
letter ::= uppercase | lowercase 
lowercase ::= [a-z]
uppercase ::= [A-Z]
digit ::= [0-9]
string ::= '$[' ( letter | digit | " " )* ']'
symbol ::= letter ( letter | digit )*
scheme ::=  positional | slotted                      
positional ::=  symbol '(' term ( ',' term )* ')'                   
slotted ::=  symbol '(' slot ':' term ( ',' slot ':' term )* ')'                
     
slot ::= symbol
collection ::=  sequence | concurrence | choice | cycle
sequence ::= '[' term* ']'                                     
concurrence ::=  '(' term* ')'                               
choice ::= '{' term* '}'                                        
cycle ::=  '<' term* '>'                                        
------------------------------------------------------------------------------------------------------------------------------------------------

                                          


-------------------------------------------
AGI
Archives: https://www.listbox.com/member/archive/303/=now
RSS Feed: https://www.listbox.com/member/archive/rss/303/21088071-f452e424
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21088071&id_secret=21088071-58d57657
Powered by Listbox: http://www.listbox.com

Reply via email to