> From: Andy Ross > <snip> > Perl and Python get away without having character constants at all. > They do string indexing by making substrings at runtime. But > substrings are garbage-collected, which makes them a little expensive. > I don't want to thrash the heap just to iterate through a single > string (the lack of the ability to do this really annoys me in perl). > So basically, I can't just emulate C, perl or python here, I need to > "invent" a new syntax. >
You could perhaps extend the w3 named entity syntax which uses & as left delimiter and ; as right. So that &A; would equal A But maybe the ; would be a parsing headache... Best regards, Jim _______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d