A Pygments lexer for both the AgentSpeak extension interpreted by Jason and Jason/JaCaMo project files.
With PyPI:
$ sudo pip3 install pygments-agentspeak
From GitHub:
$ git clone https://github.com/lcpz/pygments-agentspeak.git $ cd pygments-agentspeak $ sudo pip3 install .
Define jason
, jasonproject
or jacamoproject
as the language to be used.
You can also use jacamo
as style.
See the minted package.
Check also this.