XML Programming Languages – Overview of XML Based Programming Languages

language-designprogramming-languagesxml

I was looking at wikipedia – Category:XML-based programming languages.

Why would someone take this approach for designing a language?
What are the advantages of it?

I can only think of disadvantages.

  • hard to maintain
  • hard to read
  • hard to write

Best Answer

one of the biggest advantages of an XML based language is that it looks easy to implement

no really, there are a ton of validating parsers available which will diagnose the syntax related compile errors and give you the AST for free

the execution is also simply iterating over said AST and keeping a map of the functions and variables

Related Topic