Quasar
Moderator

Posts: 5139
Registered: 08-00 |
Gez said:
I'm looking for a full list of all EDF keywords. The wiki doesn't present an exhaustive list anywhere (for example, it mentions thingdelta in several place, but there's no listing of thingdelta along with thingtype and the likes). Also, is the language case-sensitive?
The old HTML documentation for Eternity is still more complete than the wiki articles. Amongst other things it fully describes the syntax including the fact that all EDF constructs (except string literals obviously) are interpreted as case-insensitive, including the mnemonics of things, states, terrain objects, etc.
Please see http://eternity.mancubus.net/stuff/edf_keywords.h
This is not a source file from EE; I pasted all the various defines into a single file. The section keywords are not included but are mentioned in the comments.
Also note that due to the functioning of libConfuse, keywords are only reserved when the grammar of the language expects a keyword to occur. For example:
code:
thingtype thingtype
{
...
}
This is a perfectly valid construct and will define a thing named "thingtype". This is in marked contrast to languages like C/C++/Java where you cannot, for example, define a variable named "int" or "for" or "return".
|