gopkg.in/rveen/ogdl.v1 (go): Package ogdl is used to process OGDL, the Ordered Graph Data Language.  OGDL is a textual format to write trees or graphs of text, where indentation and spaces define the structure. Here is an example:  The languange is simple, either in its textual representation or its number of productions (the specification rules), allowing for compact implementations.  OGDL character streams are normally formed by Unicode characters, and encoded as UTF-8 strings, but any encoding that is ASCII transparent is compatible with the specification.  See the full spec at http://ogdl.org.  To install this package just do:  If we have a text file 'config.g' containing:  then,  will print  If the timeout parameter was not present, then the default value (60) will be assigned to 'to'. The default value is optional, but be aware that Int64() will return 0 in case that the parameter doesn't exist.  The configuration file can be written in a conciser way:  The package includes a template processor. It takes an arbitrary input stream with some variables in it, and produces an output stream with the variables resolved out of a Graph object which acts as context.  For example (given the previous config file):  string(b) is then:  Some rules are followed:
Keywords: go|graph|ogdl