Created
January 26, 2011 21:15
-
-
Save jamesladd/797477 to your computer and use it in GitHub Desktop.
ANTLR grammar for smalltalk chunks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program returns [Program n] | |
: (chunk)* EOF | |
; | |
chunk returns [Chunk n] | |
: sequence EOF | |
| sequence '!' | |
| '!' sequence '!' | |
| messagePattern sequence '! !' | |
; | |
messagePattern returns [MessagePattern n] | |
: NAME | |
| KEYWORD NAME | |
; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment