Methanol
Methanol is a server-side macro language interpreter designed for use
with HTML and CGI. It allows World Wide Web authors to effectively write
CGI scripts into their HTML files.
- server-side:
- Methanol doesn't care what browser you use. It is mostly invisible
to the client (browser) program. The client will treat Methanol
just as it would any other CGI script. In order to publish a
Methanol file, however, the Methanol CGI Interpreter must be
installed on the web server.
- macro language:
- Methanol allows authors to define commonly used segments of HTML
code or other text as "Macros." The macros can be invoked as often
as necessary later. The importance of this may not be readily
apparent to non-programmers. By building more and more powerful
macros based on smaller ones, ultimately based on the simple
commands provided by Methanol itself, authors can build their own
libraries of complex functions.
- interpreter:
- Methanol does not compile anything. It doesn't even half-compile
like Java does. When the Methanol CGI Interpreter receives a
request for a Methanol file, it reads the current contents of that
file and evaluates any Methanol tags it finds. This means that the
author need only write the Methanol files and put them somewhere
Methanol can find them, just as one would do with normal HTML files.
- for use with HTML and CGI
- Methanol was designed to be accessed through the Common Gateway
Interface, much like a standard HTML form. It is compatible with
HTML 2.0, HTML2+, HTML 3.0, Netscape Enhancements, and MicroSoft
Enhancements. As long as new versions of HTML do not conflict with
Methanol's tags, it will continue to be compatible in the future.
This site abides by the
Web Interoperability Pledge
.