weave icon

Weave for RISC OS

Weave is a language for describing tagged text and, in particular, webpages. Why not use HTML? Because it has no provision for variables or functions. It has no abstraction facilities. By contrast Weave can be used as simply as HTML, but gives you a lot more descriptive power. You can create a whole website with a single Weave script. Alternatively you can split a website description up among various Weave scripts, each specialised for different aspects, e.g. content versus page furniture, site structure from the visual aspects of the navigation furniture, and so on. Objects common to more than one page need never be duplicated. Weave is a lot more powerful and abstract than HTML.

Manual for Weave 2.0   Tutorial for Weave 2.00

The shift from version 1.6 to 2.0 is more radical than previous updates. Early versions of Weave were designed solely for HTML. Which version of HTML and which tags were available was fixed. Later versions had two modes - a default mode specialized for HTML and a more general mode. Version 2.00 is in general mode by default, and is written for portability to other platforms. Even loading in the HTML mode does not define the tags for you. Instead you must define your tags yourself. Very few web pages use more than 15 or so kinds of tag, so it is really not sensible for Weave to predefine all possible varieties. The trend towards the use of CSS also means that fewer sorts of tag are needed. The table notation for attributes has gone, and so has the facility for evaluating expressions inside text. Version 2.0 is simpler, and has better error handling. It also has version checking.

zip archive
Weave 2.0
zip archive
Weave 1.6
zip archive
SH Manual 1.6
The application sets up the Weave filetype

weave filetype icon

so that double-clicking a Weave script causes it to be compiled to HTML files. Weave is based on Lua 5.1. You do not need the RiscLua module to run it but you do need a 32-bit compatible version of the shared C library.

Back to RISC OS stuff