sbarex / SourceCodeSyntaxHighlight

Quick Look extension for highlight source code files on macOS 10.15 and later.
GNU General Public License v3.0
3.02k stars 72 forks source link

Add support for PDDL files #128

Closed hectorpal closed 2 years ago

hectorpal commented 2 years ago

Could please add PDDL as an extension for highlight. As starter, please use Lisp highlight. Otherwise, the VSCode extension has many details on syntax. https://github.com/jan-dolejsi/vscode-pddl

This is probably useful:

> mdls -name kMDItemContentType -name kMDItemContentTypeTree  problem01.pddl 
kMDItemContentType     = "dyn.ah62d4rv4ge81a3deru"
kMDItemContentTypeTree = (
    "public.item",
    "dyn.ah62d4rv4ge81a3deru",
    "public.data"
)

Why?

PDDL is language for describing planning domains used by automated planners. See some examples here: https://github.com/aibasel/downward-benchmarks We have been using the same format for over 20 years, and continue using it today. https://www.icaps-conference.org/competitions/

We are improving the tooling. For instance, now we have a VSCode extension https://marketplace.visualstudio.com/items?itemName=jan-dolejsi.pddl

Thank you!

sbarex commented 2 years ago

I'm not the develeloper of the highlight engine. You have to ask André Simon to support a new language.

For now, with the release 2.1.4, pddl files are handled with the lisp format.

hectorpal commented 2 years ago

Thank you! That was fast. I would get in touch with André if I wanted specific highlight. For now, the lisp highlight should be good enough for a quick inspection.