Skip to content

dedels/streampwp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streampwp

An SWI-Prolog library to compile PWP html files

See SWI-Prologs documentation on PWP: http://www.swi-prolog.org/pldoc/man?section=pwp

This library takes HTML files containing PWP markup and compiles them to callable Prolog clauses that return string documents. This library supports all features of PWP as well as some small extensions that gives template developers more control over the output.

The llama library associated with this should probably be remove. This was a half-baked idea of mine many years ago so that Prolog could do some more interesting destructuring of objects a-la ML style languages. This actually worked, but the surrounding code was brittle as it relied on strange hooks in SWI-Prolog's loader. If anyone is seriously interested in using this library, I could be convinced to remove this dependency and just use record.

About

streampwp - Prolog library to compile PWP html files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published