![JAR search and dependency download from the Maven repository](/logo.png)
jason.2.3.source-code.pygments_init.rb Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jason Show documentation
Show all versions of jason Show documentation
Jason is a fully-fledged interpreter for an extended version of AgentSpeak, a BDI agent-oriented logic programming language.
The newest version!
require 'pygments'
# use a custom Pygments installation (directory that contains pygmentize)
Pygments.start ENV["PYGMENTS_PATH"] + '/..'
# example of registering a missing or additional lexer
Pygments::Lexer.create name: 'JasonAgent', aliases: ['jasonagent'],
filenames: ['*.asl'], mimetypes: ['text/x-jason']
Pygments::Lexer.create name: 'JasonProject', aliases: ['jasonproject'],
filenames: ['*.mas2j'], mimetypes: ['text/x-jasonproject']
Pygments::Lexer.create name: 'JaCaMoProject', aliases: ['jacamoproject'],
filenames: ['*.jcm'], mimetypes: ['text/x-jacamoproject']
© 2015 - 2025 Weber Informatics LLC | Privacy Policy