This is the specification for structures in Chasm. I need to create a DTM or something right? Some day. For now...
NOTE: no reason to modify these by hand except for the name parts to get the directories right. Use the ChasmGui
See parsing ChasmXML.
<CHASMConcept name="" abstractbuilder="" height="" width="" abstract=""> <parent name="">description</parent> <state name="" access = {public|protected|private} x="" y="" height="" width="">description</state> <symbol name="" x="" y="" height="" width="">description</symbol> <transition from="" to="" by="">description</transition> <component name="" concept="" access = {public|protected|private} cif = {passed|potential|vacant|created}>description</component> <response name="" component="" state="" symbol="">description</response> </CHASMConcept>
<CHASMInstance name="" instance=""> <response ...as above...></response> </CHASMInstance>
For the future, I would like to add more information so we get a snapshot of the values in the instance. Linking with gdb to access the symbol table would enable this!
NOTE: I think the only thing that depends on caps is CHASMConcept and CHASMInstance. Let me know if this is not the case.