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-10-11 00:53] – edheldil | formats:zax [2010-10-17 21:51] (current) – edheldil | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== ZAX File Format | + | ==== CObject Text File ==== |
- | === Purpose: === | + | 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: | ||
zax files | zax files | ||
Line 10: | Line 12: | ||
...? | ...? | ||
- | === EBNF specification === | + | ==== EBNF specification |
- | | + | |
- | | + | (* FIXME: Dynamic Properties are not handled in this description *) |
- | | + | (* FIXME: DialogTree dash lines are not handled in this description *) |
- | | e | + | (* FIXME: spurious empty lines and EOLs are not handled as well *) |
- | | + | |
- | ... | + | cobject |
+ | | ||
+ | init_args | ||
+ | |||
+ | | ||
+ | | ||
+ | raw_data = { indent , value , EOL } ; | ||
+ | |||
+ | key = limited string ; | ||
+ | value = string | bool | int | float | cobject ; | ||
+ | indent = { whitespace } | ||
+ | |||
+ | bool = " | ||
+ | int = ( [ " | ||
+ | | ||
+ | float decimal = [ " | ||
+ | float exponential = 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 = ? " | ||
+ | keychar = ? " | ||
+ | letter = ? " | ||
- | === Classes === | + | ==== Classes |
Activities/ | Activities/ | ||
formats/zax.txt · Last modified: 2010-10-17 21:51 by edheldil