Lisp/Scheme S-expressions provide a convenient notation and
data-structure for text-markup, in particular for XML or
HTML documents.
Here is an incomplete list of parsers, generators, whatever, that run
in scsh:
- SSAX
Oleg Kiselyov's SSAX functional XML parsing framework
serves s-exp based XML parsing, query, conversion. The ssax-r5rs port
runs in scsh; best installed from Emilio Lopes' package kit for SSAX 5.1, Michel Schinz' package kit for SSAX 4.9.
- sxml->xml library
An SXML (Sexp-XML) to XML transformer prepackaged for scsh.
- SXPath packaged for scsh
Oleg Kiselyov's SXPath is a query language for SXML (Sexp-XML) implementing XPath.
- PLT x-expression lib
The scsh port of the XML library from PLT Scheme was intended to be shipped with SUnet 2.0; superseded by SSAX but still available from the SUnet CVS tree at SourceForge.
- HtmlPrag packaged for Scsh
HtmlPrag provides permissive HTML parsing and emitting capability to Scheme programs.
- markup
A simple text-markup language by Jonathan Rees and Scott Draves.
Has LaTeX and HTML backends. Is very extensible:
written in Scheme, and has extensible syntax. Available from the local scsh contrib repository.
- Doedel and Statixite for authoring simple static websites
Schnada.de provides Doedel – sexponential HTML,
a little sexp-based HTML generation package, and its bigger and better successor, Statixite for authoring simple static websites, specifically for Schnada.de. Statixite packages SSAX/SXML transformations (macros) and scsh procedures for handling the source pages and resources. The concrete sxml macros are site-specific, but some utilities are more general, in particular the sxml->html conversion with reasonable line-breaks and an include macro. Works with SSAX-5.1, scsh-0.6, sunterlib-0.8.
- wiki-scsh
Ed Kademan's wiki port from Perl of the software distributed via the book The Wiki Way by Leuf and Cunningham.
- schtml at SourceForge
enables one to use
HTML (served by Apache) with Scheme code embedded into it, in a similar vein
to other server parsed HTML systems.
|