http://www.nongnu.org/libruin/
(Renderer for User Interfaces in Ncurses)
This is an excerpt from the home page:
libRUIN (Renderer for User Interfaces in Ncurses) is a rendering library
for various XML-based user interface markup languages (such as XHTML or
Mozilla XUL), using the Ncurses terminal control library as a rendering
target. GNU Guile and the SDOM Scheme module are used as the "glue" that
manages user input and event handling (as such, event handlers must
currently be written in Guile Scheme; support for ECMAscript event
handlers is being considered for inclusion). An application programmer
passes an XML document (including, potentially, a set of CSS
stylesheets) and an Ncurses WINDOW structure, and libRUIN paints the
WINDOW according to the markup and CSS; the programmer may subsequently
pass Ncurses-style input strings to that WINDOW via libRUIN, and libRUIN
will handle the resulting event flows.
Development status
* Many simple XUL documents can be rendered
* Many complex XHTML documents, such as the ones in the W3C CSS2.1
Test Suite, including ones that involve automatic table layout, can
be rendered
* User input is handled correctly and default handlers for several
inputs (such as the TAB key to switch focus) are working
* API documentation is in place, in the form of a UNIX man page and a
Texinfo manual; it is not, however, complete
It might be worth to try branching an elinks version based on libRUIN,
because it provides what elinks lacks currently: the DOM interface.
Note that javascript support is next to useless without a compliant DOM.
libRUIN implements the DOM with SDOM[1]: this is a scheme library
claiming function complete core and event API's.
[1] http://www.nongnu.org/sdom/
clemens
_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev