Skip to content

Instantly share code, notes, and snippets.

@evaisse
Created December 3, 2010 16:46
Show Gist options
  • Save evaisse/727204 to your computer and use it in GitHub Desktop.
Save evaisse/727204 to your computer and use it in GitHub Desktop.
A sample Grammar
Struct.Import
a(): 5,6,7
#
IF
a(): ENDDEF ()
ENDDEF
{b:2, c:34, g:i}
a: 2
FOR a IN b
ENDFOR
a: OR Object.new.
SET a Object.new
IF NOT
myobject.has_key?
ENDIF
CLASS My_class:
EXTENDS
PROPERTIES
PRIVATE
a:
hasKey?(Array ii, Properties i):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment