MetaL logo

Sample source and generated code




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

  • Hello world! generated in PHP
  • Source code of the Hello world! program generated in PHP by the MetaL compiler.

  • Hello world! generated in Java
  • Source code of the Hello world! program generated in Java by the MetaL compiler.

  • MetaL source code of a real example of a OOP class
  • Example of the definition of one real object oriented programming class written in Metal for generating XML documents.

  • PHP class generated from MetaL source code
  • Example of the PHP code generated from the MetaL source code above.

  • Java class generated from MetaL source code
  • Example of the Java code generated from the MetaL source code above.

  • Template for class documentation written in MetaL
  • Example a template definition of class documentation that is independent of the target document format and of the target programming language.

  • Class documentation automatically generated with PHP syntax
  • Example of HTML documentation generated automatically with PHP syntax from the MetaL source code above.

  • Class documentation automatically generated with Java syntax
  • Example of HTML documentation generated automatically with Java syntax from the MetaL source code above.



For more information contact: info-at-meta-language.net