Mole Source Code Formating Style ::= ( |
| | )* ::= (
| | )*
::= ( | )* :== "(" ? ")" :== function | macro | app ::= "(" name STRING ") ::= "(" description STRING ")" ::= "(" code STRING ")" ::= "(" comment STRING ")" Chapter: ;============================================================= ; ; Description ; of the ; module Any number of sections or chunks may follow End of chapter is ";=" in the first position Section: ;----------------------------- ;
; Description ; of the ; section End of section is ";=" or ";-" in the first position NOTE: in chapter and section separators just two first characters are important: ";=" or ";-" respectively. Unit: ; Description ; of the ; chunk (chunk-code ... ...) End of chunk is one of: ";=" ";-" ";*" or "; " in the first position Chunk descriptions are of optional. Description-less chunks have to be nested in section or chapter. If they are nested in module they are ignored by parser. Head comment: ::= (^;;\S+$)+ ; Semicolons in the first and second pos