Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

VisualB4BigD

XML Scripting Language?

This topic is 5789 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Well take a look at AIML (Artifical Intellegence Markup Language). They use if thens and what not and an XML interpreter can read it, maybe I''m way off here?

Share this post


Link to post
Share on other sites
AIML is far from a "scripting language" it''s a data schema. While you can write languages with XML is possible, its definitly not a good idea. You should learn more about XML and then you will understand why.

-SniperBoB-


What if The Matrix was recursive?

Share this post


Link to post
Share on other sites
quote:
Original post by Kylotan
XML is for data, not program flow. To use it as a scripting language would have to involve some perverse misuses of the language, in my opinion.

I take it you have never seen XSL/T?


"It is precisely because it is fashionable for Americans to know no science, even though they may be well educated otherwise, that they so easily fall prey to nonsense. They thus become part of the armies of the night, the purveyors of nitwittery, the retailers of intellectual junk food, the feeders on mental cardboard, for their ignorance keeps them from distinguishing nectar from sewage."
Isaac Asimov

Share this post


Link to post
Share on other sites
I would advise you not to use XML as a scripting language. I have seen workflow done wrong by people whose career is in XML (well SGML). Expressing certain things can get messy quick. As well you''d have to write your own interpreter, which could lead to a lot of unnecessary work.

Basically XML doesn''t lend itself to scripting languages. You''d be better to use an existing scripting language, especially since many are easily embedded into programs.


University is a fountain of knowledge, and students go there to drink.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!