tool: Rie
-
Language:
|
attribute grammar
|
|---|
-
Version:
|
1.0.6
|
|---|
-
Parts:
|
compiler generator, attribute evaluator generator
|
|---|
-
Author:
|
Masataka Sassa, Kazuhiro Kuroishi, Teruhisa Hirai and
Yoshiki Ohshima
|
|---|
-
Location:
|
ftp://ftp.is.titech.ac.jp/pub/Rie/*
|
|---|
-
Description:
|
Rie is a yet another compiler generator which is based on
a one-pass attribute grammar called ECLR-attributed grammar.
ECLR-attributed grammar is a superset of LR-attributed
grammar, and the generated compiler can evaluate both
inherited and synthesized attributes in parallel with LR
parsing without creating a parse tree. The style of the
Rie description is derived from Yacc, but the semantic
section of a production may contain attribution rules.
Because the specification is based on attribute grammar,
user can integrate syntax and semantics in one description.
Rie also accepts shorthand notations, context conditions
and `local' attributes, which are useful to write actual
compilers.
The generated compiler is only 1.8 times slower than a
handwritten compiler. Rie generates an attribute evaluator
in C source.
The package includes sample descriptions of PL/0 compiler
and of a sample of simple semantic analyzer, and documentation.
|
|---|
-
Reference:
|
Sassa, M., Ishizuka, H., and Nakata, I.:
Rie, a Compiler Generator Based on a One-Pass
Attribute Grammar, Res. Rep. C-107, Dept. of Inf.
Sci., Tokyo Institute of Technology
(Now, only a printed version is available. Contact
rie-info@is.titech.ac.jp. Electric version will be
available from ftp://ftp.is.titech.ac.jp/pub/Rie/Papers/* .)
|
|---|
-
Bugs:
|
Bug reports are welcome to rie-comments@is.titech.ac.jp.
|
|---|
-
Restriction:
|
Rie is implemented by modifying Bison, so Rie must be
also covered by GNU General Public License version 2
and Bison's restriction.
|
|---|
-
Requires:
|
C compiler
|
|---|
-
Ports:
|
UNIX, DOS, etc. (same as bison) and Sharp X68000
|
|---|
-
Status:
|
We hope that it is stable
|
|---|
-
Contact:
|
rie-info@is.titech.ac.jp>
|
|---|
-
Updated:
|
September 20th, 1995
|
|---|
category: compiler generators and related tools
summary, or
expanded.
category: text manipulation
summary, or
expanded.
|
|