MetaL (programming language)

From Wikipedia, the free encyclopedia

MetaL
Image:Metal-logo.gif
Paradigm multi-paradigm: logic, functional, imperative, object-oriented, constraint, meta-programming
Appeared in 2001
Designed by Manuel Lemos
Developer Manuel Lemos
Typing discipline dynamic
Dialects XML
Influenced by XML

MetaL programming language is shorthand for Meta-programming Language.[1] Meta-programming is a method to develop computer programs. It works by generating source code in a target language from a program specification in a higher level language. MetaL programs source code is based on XML. MetaL compiler engine can be used to generate the same program from MetaL source code to potentially any target language. Currently supported target languages are PHP, Java and Perl. The support for other languages can be added any time.[2]

[edit] Hello world! written in MetaL

Source code of the Hello world! program written in MetaL.

<?xml version="1.0"?>
<output>
 <script>
  <string>Hello World!
</string>
 </script>
</output>

[edit] External links

  1. ^ MetaL home page
  2. ^ MetaL - Frequently asked questions