RFC: Atlas specification v0.3.0-working
Credits
Revision history
Requirements document
revision #8
Basic semantics
Everything in Atlas is expressed as object. Object has optional
name and nonoptional type and value.
Object definition
Object consist of :
- name: optional string (should probably be something all
programming languages can deal with and be URI compatible)
Each named object is called attribute.
- physical type: value
If object looks like:
object name:character, value:list:
- object name:HP, value:int:10
- object name:location, value:list:
- object name:parent, value:id:""
- object name:coords, value:floatlist:1.0,2.0,-3.5
C equivalent could be something like this:
struct character {
int HP;
struct location_st {
void *parent;
double coords[3];
} location;
} foo_character = {10,{NULL,{1.0,2.0,-3.5}}};
Syntax that is used here for objects with predefined attributes:
character:
- HP:10
- location:
- parent:""
- coords:1.0,2.0,-3.5
So "object name:" and "value:" parts are stripped away. Thus
object name:, value:int:10
after stripping looks like:
:10
Object tree
Objects in tree branches inherit attributes from their parents.
Note that what following defines is default and implementations
can change values or add new attributes as needed. However if you
change too much existing ones entities, then new clients might
become confused.
- root: you can browse whole object tree starting here
Codec negotiation (achat)
Bach Syntax
XML Syntax
Packed Syntax
Binary1 beta2 Syntax
Binary2 to be written.
Links that are linked from operation page
More about movement
More about OOG Atlas
Aloril
Last modified: Tue Jul 2 09:09:03 EEST 2002