Closed
Description
According to https://arxiv.org/pdf/0911.2899.pdf, the preferred layout for Prolog is to indent clause bodies with 4 and use spaces. I'm in favour of changing to this indentation and update the default settings for PceEmacs accordingly.
To facilitate this I wrote a Prolog program to convert the current layout reliably. I exploits the library prolog_colour
to created a detailed annotated parse tree. How to make this available?
Possibly additional transformations:
- Move the cut (!) to its own line?
Metadata
Metadata
Assignees
Labels
No labels