pyPEG is a quick and easy solution for creating a parser in Python programs. pyPEG uses a PEG language in Python data structures to parse, so it can be used dynamically to parse nearly every context free language. The output is a plain Python data structure called pyAST, or, as an alternative, XML.
The IEC 61131-3 Structured Text to XML Compiler parses an IEC Structured Text source and generates an XML representation of the syntax tree of the source. Names defined in the IEC 61131-3 grammar are used as tag names, though underscore characters in the names of the non-terminal symbols are replaced with a minus sign. The result then can be further processed with the YML toolchain or with an XSLT stylesheet. The compiler is compatible with the 61131-3 ST standard as used in the Beremiz project, as well as with the dialect of EPAS 4.
Re: YAML also uses .yml file extension > Hm, the .yml file extension has already > been used for YAML files (e.g. > Ruby-on-Rails configuration files) for a > very long time......
Re: YAML also uses .yml file extension > Hm, the .yml file extension has already > been used for YAML files Hm... ;-) Never used it. Maybe. It's a pity, that they didn't use...