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 of OmniMark was 10.1.2, dated April 2016.
OmniMark is used to process data, and convert it from one format to another, using a streaming architecture 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.
OmniMark was originally created in the 1980s by Exoterica, a Canadian software company, as a SGML processing program called XTRAN. 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.
In 1999, OmniMark president and CEO John McFadden announced that OmniMark 5 would be available free of charge, to better compete with Perl.. OmniMark is no longer distributed under such a model.
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
- 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.
- "Guide to OmniMark 10.1.2". OmniMark Developer Resources. Retrieved 24 September 2018.
- Stilo International (2004). Beginner's Guide to OmniMark (PDF). p. 3. Retrieved 24 September 2018.
- Travis, Brian L. (1997). OmniMark at work: Getting Started. Englewood, CO: SGML University Press. p. vii.
- "Office Locations". Stilo. Retrieved 24 September 2018.
- "OmniMark 5 is Free". Cover Pages. Retrieved 24 September 2018.
- Stilo Omnimark
- OmniMark Developer Resources
- OmniMark Programming Principles - General Index (Internet archive snapshot of online book by Errol Chopping)
|This computer-programming-related article is a stub. You can help Wikipedia by expanding it.|