OmniMark

OmniMark is a fourth-generation programming language used mostly in the publishing industry. It is currently a proprietary software product of Stilo International. As of September 2018 the most recent release[1] of OmniMark was 10.1.2, dated April 2016.

Usage

OmniMark is used to process data, and convert it from one format to another, using a streaming architecture[2] that allows it to handle large volumes of content sequentially without having to keep it all in memory. It has a built-in XML parser, and support for XQuery via integration with Sedna native XML database. It also has features to process find rules which implement a similar concept to regular expressions, although the pattern expression syntax is more English-like than the regular expression syntax used in Perl and other languages like the Ruby programming language, both of which are more widely used than OmniMark. OmniMark can also be used for schema transformation tasks in the same way as XSLT, but supports switching between procedural and functional code without the need for any additional constructs to support the procedural elements.

History

OmniMark was originally created in the 1980s by Exoterica, a Canadian software company, as a SGML processing program called XTRAN.[3] XTRAN was later renamed OmniMark, and Exoterica became OmniMark Technologies. The current owners of OmniMark, Stilo International, have their main offices in the UK but also maintain an office in Canada.[4]

In 1999, OmniMark president and CEO John McFadden announced that OmniMark 5 would be available free of charge, to better compete with Perl.[5]. OmniMark is no longer distributed under such a model.

Example code

This is the basic "Hello, World!" program:

 process
    output "Hello World!"

This program outputs all words starting with a capital letter in a text file:

 process
    submit file "myfile.txt" or
    submit "ANY TEXT"
 
 find (uc letter*)=>temp
    output temp || "%n"
 
 find any

Further reading

  • Baker, Mark (2000). Internet Programming with OmniMark. Boston: Kluwer Academic Publishers.
  • Smith, Norman E. (1998). Practical Guide to SGML/XML Filters. Plano, TX: WordWare Publishing.
gollark: It has been done.
gollark: I have no idea how that works, so... no, unless someone does.
gollark: Honestly, you make *one* dev version pink and you never hear the end of it.
gollark: https://forums.dragcave.net/topic/183544-yet-another-hatchery/Yet Another Hatchery is now on the forum!
gollark: Yes, that's fine, then.

References

  1. "Guide to OmniMark 10.1.2". OmniMark Developer Resources. Retrieved 24 September 2018.
  2. Stilo International (2004). Beginner's Guide to OmniMark (PDF). p. 3. Retrieved 24 September 2018.
  3. Travis, Brian L. (1997). OmniMark at work: Getting Started. Englewood, CO: SGML University Press. p. vii.
  4. "Office Locations". Stilo. Retrieved 24 September 2018.
  5. "OmniMark 5 is Free". Cover Pages. Retrieved 24 September 2018.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.