Created
June 26, 2014 10:06
-
-
Save morxa/9162dfc62261294621fd to your computer and use it in GitHub Desktop.
Latex Listing PDDL Language Definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\lst@definelanguage{pddl} | |
{ | |
keywords={ | |
define, | |
}, | |
morekeywords={[2] | |
domain, | |
problem, | |
requirements, | |
predicates, | |
types, | |
objects, | |
action, | |
init, | |
goal, | |
}, | |
morekeywords={[3] | |
parameters, | |
vars, | |
precondition, | |
effect, | |
}, | |
morekeywords={[4] | |
forall, | |
or, | |
and, | |
not, | |
when, | |
=, | |
exists, | |
imply, | |
}, | |
comment=[l]{\;}, | |
sensitive=true | |
}[keywords, comments] | |
\lst@definelanguage[mapl]{pddl}[]{pddl} | |
{ | |
morekeywords={[2] | |
sensor, | |
}, | |
morekeywords={[3] | |
sense, | |
replan, | |
}, | |
morekeywords={[4] | |
KIF, | |
}, | |
} |
Thanks man -- do you think this could be migrated to minted
?
I don't know minted but feel free to take this and migrate it!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, could we please have an example on how to use this. Thank you.

Edit: Found it, I have attached an example.