Module Meta File

Stratego -- Strategies for Program Transformation
In a Module Meta File you can store meta information for a StrategoModule?. The meta file must have the same name as the module, with the .meta extension and is in ATerm? format. The information in the Module Meta File is targeted at some tool that processes the module.

A meta file can contain any meta information for any tool, but an obvious target tool is the Stratego Compiler. The Parse Stratego component in stratego-front uses a Syntax specification in the meta file to determine the syntax that has to be used for parsing the module. This is required for programming with Concrete Syntax for the Meta Language?.

To use Concrete Syntax for XML using the xml-tools? package, you must for example instuct the Stratego Compiler to use the Stratego-xml syntax:

  Meta(
    [ Syntax("Stratego-xml") ]
  )

-- MartinBravenboer - 18 Mar 2003


CategoryConcreteObjectSyntax