Related articles |
---|
A tool for interpreter construction jsm@it.dtu.dk (J. Steensgaard) (2001-04-12) |
From: | "J. Steensgaard" <jsm@it.dtu.dk> |
Newsgroups: | comp.compilers |
Date: | 12 Apr 2001 02:47:43 -0400 |
Organization: | IT, DTU |
Keywords: | interpreter, tools, available |
Posted-Date: | 12 Apr 2001 02:47:43 EDT |
The latest version of ULC is available under the LGPL license as
http://www.imm.dtu.dk/~jsm/system/ulcsys.tgz
ULC is a system to build interpreters for languages that adhere to a
uniform principle for composition of operations, where operations may
be like usual statements or (stack allocated) objects possibly of
higher order. Expressions can be used as scripts.
Possibly overloaded, binary infix operators are supported. The
languages are all statically typed and allows parametric polymorphism.
Implementations are built incrementally and the system comes with a
number of contributions for basic facilities. Contributions are
libraries of GNU C routines.
The hype:
ULC should be for interpreted computations what XML should be
for data, i.e. ULC is not an interpreted language, but a
system for building interpreters. Structurally it uses some
mechanism made familiar with XML, but the notation is
different.
An expression like
html("Example"){"Hello world"^}
may, when interpreted, give the obvious HTML document as its
result. The HTML document is an example of data of the kind
that XML can describe. Likewise any data, structured according
to an XML description, can be written as a constant expression
in a ULC supported language.
The ULC bonus is that expressions need not be constants.
On the net you can find information about how to use XML for
remote procedure calls. With ULC one can build a server that
responds to composite expressions, somewhat like a SQL server.
You can read more about ULC at
http://www.imm.dtu.dk/~jsm/ulc/
Help will be welcome, especially to build contributions: data base
access, windowing etc.
--
Jørgen Steensgaard-Madsen | Phone: +45 45 25 37 32
Informatics and Mathematical Modelling | Fax: +45 45 93 00 74
DTU, Building 322 | WWW:
http://www.imm.dtu.dk/~jsm
DK-2800 Lyngby | Off: Building 322, Room 115
Return to the
comp.compilers page.
Search the
comp.compilers archives again.