Chacal wrote:Pardon my noobness, but it seems to me AlcScript isn't a script at all, it's a set of keys and values.
Wasn't a markup language named XML invented for precisely that purpose?
XML was considered as a notation format for this, but was rejected because:
- writing XML from scratch is a bit of a hacker thing which wasn't expected to fit really well with the less tech-savvy writers.
- manually typing up XML can get annoying (specifically having to type the name of the key twice (once in the opening and once in the closing tag)) when having to type a fairly large bit of code (though I agree that the legibility is better)
- afaik XML wasn't really designed to be manually written by humans.
- the use of indentation for nesting groups is similar to python, which people will have to learn anyway
YAML was chosen as an alternative because it seemed to be easier on the non-tech savvy, and a parser for it already exisited.
The name AlcScript was just chosen because basically I couldn't figure otu a better name

(Note that the AlcScript implementation does allow for an XML backend to be written, without noticably affecting the rest of the code)