formats:zax
This is an old revision of the document!
Table of Contents
CObject Text File
Purpose:
zax files
textures
surface types (.STY) …?
EBNF specification
cobject = classname , [ init_args ] , EOL , cobject_data ;
init_args = "(" , int , { "," , int } , ")" ;
cobject_data = "{" , EOL, ( keyvalue_data | raw_data ) , "}" ; keyvalue_data = { key , "=" , value , EOL } ; raw_data = { value , EOL } ;
key = limited string ; value = string | bool | int | float | cobject ;
bool = "0" | "1" ; int = ( [ "-" ] , digit , { digit } ) | limited string ; float = float decimal | float exponential | limited string ; float decimal = [ "-" ] , digit , { digit } , "." , digit , { digit } ; float exponential = float decimal , "e" , [ "-" ] , digit , { digit } ; string = { printable | whitespace } ; limited string = printable | ( printable , string , printable } ;
EOL = "\r" , "\n" ; digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ; whitespace = " " ; printable = "\041" .. "\176" ; (* this is not EBNF, but what the heck *)
Classes
Activities/AIs, Actions, …
formats/zax.1257722663.txt.gz · Last modified: 2009-11-08 23:24 by edheldil