A Pygments lexer for the Morloc language.
pip install morloclexer
Once installed, Pygments will automatically detect .loc files:
pygmentize -l morloc example.locOr use it in Python:
from pygments import highlight
from pygments.formatters import HtmlFormatter
from morloclexer.lexer import MorlocLexer
code = 'module main (*)\nimport math (sqrt)\n'
html = highlight(code, MorlocLexer(), HtmlFormatter())