Paste: joy ebnf

Author: inforichland
Mode: factor
Date: Wed, 5 Aug 2009 02:28:00
Plain Text |
Definition = Identifier OptionalWhitespace "==" OptionalWhitespace Code
Define = "DEFINE"
         Whitespace
         (Definition OptionalWhitespace)?:

Annotation: definitions

Author: inforichland
Mode: factor
Date: Wed, 5 Aug 2009 03:55:54
Plain Text |
Definition = Identifier:i OptionalWhitespace "==" (Expression)+:j => [[ i >string j >array ast-definition boa ]]

Defines = "DEFINE" Whitespace (Definition OptionalWhitespace ";")*:d OptionalWhitespace Definition:e OptionalWhitespace "."
 => [[ d >array e suffix ast-definitions boa ]]

New Annotation

Summary:
Author:
Mode:
Body: