johanwk / elot

Emacs Literate Ontology Tool
GNU General Public License v3.0
7 stars 3 forks source link

Manchester Syntax support #8

Closed VladimirAlexiev closed 6 months ago

VladimirAlexiev commented 7 months ago

Do we want a setup for Manchester Syntax? At least syntax highlighting, maybe also indentation. My org code blocks are highlighted, I think thanks to a module by the fabulous "jkitchin".

There is omn-mode for emacs:

It is in ELPA:

BTW, it's used in a Clojure-based ontology creation environment, similar to the idea of your "elot": https://github.com/phillord/tawny-owl

johanwk commented 6 months ago

I use omn-mode myself. It works, but could be improved -- especially when exporting to HTML, prefixes are not handled well. Probably omn-mode is such a "must have" for ELOT that it would make sense to make it a dependency, in some sense of the word. It seems natural to me to automatically install it with ELOT, which I think you are suggesting.

There's an interesting new development for Manchester Syntax described here, i.e., extending to cover all of OWL: https://ceur-ws.org/Vol-3515/paper-12.pdf, which is also apparently (partly at least) in the OWL API https://github.com/owlcs/owlapi/pull/1104. I would think the omn-mode doesn't cover the latest improvements. Well, maybe we could try to help with that.

VladimirAlexiev commented 6 months ago
johanwk commented 6 months ago

omn-mode added as a requirement