Message Grammar
From AMOS WIKI
								
												
				AMOS 3-code message specification
v1.3.0
NOTES:
- Whitespace is not allowed between symbols unless otherwise noted.
 - Character symbols are defined with Perl style character classes.
 - A multi-line field may not contain any lines that consist of a single period followed by a newline, as this is reserved for terminating the multi-line field.
 - Modeled on Celera Assembler 3-code format: "A Whole-Genome Assembly of Drosophila." Myers E, Sutton G, et. al., Science, 2000. 287(5461):2196-204.
 
GRAMMAR:
  Char:
	[^\n]
  Chars:
	Char
	Chars Char
  Field:
	Message
	FieldName FieldSeparator Line
	FieldName FieldSeparator NewLine Lines FieldTerminator NewLine
 Fields:
	Field
	Fields Field
 FieldName:
	LowerChar LowerChar LowerChar
 FieldSeparator:
	[:]
 FieldTerminator:
	[.]
 Line:
	Chars NewLine
 Lines:
	Line
	Lines Line
 LowerChar:
	[a-z0-9]
 Message:
	MessageOpen MessageType NewLine Fields MessageClose NewLine
 MessageClose:
	[}]
 MessageOpen:
	[{]
 MessageType:
	UpperChar UpperChar UpperChar
 NewLine:
	[\n]
 UpperChar:
	[A-Z0-9]