formats:zax
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
formats:zax [2009-11-03 13:46] – edheldil | formats:zax [2010-10-17 21:51] (current) – edheldil | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== CObject Text File ==== | ==== CObject Text File ==== | ||
+ | |||
+ | Most of the text data files in Lionheart are text dumps of classes. They are the same general format, so this page should suffice to describe them all. | ||
==== Purpose: ==== | ==== Purpose: ==== | ||
Line 12: | Line 14: | ||
==== EBNF specification ==== | ==== EBNF specification ==== | ||
- | | + | |
- | + | (* FIXME: Dynamic Properties are not handled in this description *) | |
- | init_args | + | (* FIXME: DialogTree dash lines are not handled in this description *) |
- | | e | + | (* FIXME: spurious empty lines and EOLs are not handled as well *) |
- | + | ||
- | | + | cobject |
- | | + | |
- | | e | + | init_args = " |
- | | + | |
- | ... | + | |
- | + | | |
- | | + | |
- | | + | |
+ | key = limited string ; | ||
+ | value = string | ||
+ | | ||
+ | |||
+ | bool = "0" | " | ||
+ | int = ( [ "-" ] , digit , { digit } ) | limited string ; | ||
+ | float = float decimal | float exponential | limited string ; | ||
+ | float decimal = [ " | ||
+ | | ||
+ | string = { printable | whitespace } ; | ||
+ | limited string = keychar | ( keychar , { keychar | whitespace } , keychar } ; | ||
+ | classname = letter , { letter | digit | " | ||
+ | |||
+ | EOL = " | ||
+ | digit = " | ||
+ | whitespace = " " | " | ||
+ | |||
+ | (* meaning of these is hopefully clear *) | ||
+ | printable = ? " | ||
+ | | ||
+ | | ||
==== Classes ==== | ==== Classes ==== | ||
Activities/ | Activities/ | ||
formats/zax.txt · Last modified: 2010-10-17 21:51 by edheldil