Skip to content

PlasmaSoftware/ExtensibleManifestFormat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExtensibleManifestFormat

The reference implementation for the XMF markup language.

What is this, exactly?

The XMF file format specifies a declarative and fairly simple language designed for "manifests". It is designed to be easily modified in order to be applied many different cases. The best way to think of these files are to compare them to Docker's Dockerfiles as they serve very similar purposes. The main differences are that XMFs are entirely customizable, and have the ability to interact with and manipulate variables.

Example .xmf File

IMPORT path/to/another/file.xmf  # Extend xmfs or simply import their defined functions
IMPORT classpath:/xmf/utils.xmf  # We bundle some optional utilities for conveinence
DEFINE MyVerb some.identifier.MyVerb  # This hooks your implementation of MyVerb to the current .xmf file

MyVerb blah blah  # Interact with verbs

$MY_VARIABLE<-yes, this is my variable  # Declare a variable

PRINT $MY_VARIABLE  # Prints the contents of $MY_VARIABLE to stdout

Want more info?

Check out the XMF file specifications here or view some example (and builtin) xmf files here

About

The reference implementation for the XMF markup language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages