Matt Wette
2018-09-28 00:25:55 UTC
NYACC, for Not Yet Another Compiler Compiler, is set of guile modules for
generating parsers and lexical analyzers. It also provides sample parsers
and pretty-printers using SXML trees as an intermediate representation.
It provides a decent C parser and a `FFI Helper' tool to help create
Guile Scheme bindings for C-based libraries.
It provides (partially implemented) compilers based on above mentioned
parsers to allow execution with Guile as extension languages.
NYACC maturity is beta level.
Release 0.86.1 contains a few updates over 0.86.0:
1) lex.scm/make-comm-reader updated to allow comments ending in EOF
to match pattern which ends in newline
2) added "make install-nx-langauges" Makefile target
This will install nx-octave, nx-tcl and nx-javascript, which are
incomplete, but you can ...
guile> ,L nx-octave
nx-octave> a = 1.0;
nx-octave> ,L nx-javascript
nx-javascript> var b = a + 2;
nx-javascript> ,L nx-tcl
nx-tcl> set c [expr $a + $b + 3]
nx-tcl> ,L scheme
scheme> c
$1 = 7.0
NYACC is free software; the full source distribution is available through
* the tarball repository:
https://download.savannah.gnu.org/releases/nyacc/
* the git repository:
git://git.savannah.nongnu.org/nyacc.git
home page, project page and user's guide:
* http://www.nongnu.org/nyacc
* https://savannah.nongnu.org/projects/nyacc
* http://www.nongnu.org/nyacc/nyacc-ug.html
For support see:
https://savannah.nongnu.org/support/?group=nyacc
generating parsers and lexical analyzers. It also provides sample parsers
and pretty-printers using SXML trees as an intermediate representation.
It provides a decent C parser and a `FFI Helper' tool to help create
Guile Scheme bindings for C-based libraries.
It provides (partially implemented) compilers based on above mentioned
parsers to allow execution with Guile as extension languages.
NYACC maturity is beta level.
Release 0.86.1 contains a few updates over 0.86.0:
1) lex.scm/make-comm-reader updated to allow comments ending in EOF
to match pattern which ends in newline
2) added "make install-nx-langauges" Makefile target
This will install nx-octave, nx-tcl and nx-javascript, which are
incomplete, but you can ...
guile> ,L nx-octave
nx-octave> a = 1.0;
nx-octave> ,L nx-javascript
nx-javascript> var b = a + 2;
nx-javascript> ,L nx-tcl
nx-tcl> set c [expr $a + $b + 3]
nx-tcl> ,L scheme
scheme> c
$1 = 7.0
NYACC is free software; the full source distribution is available through
* the tarball repository:
https://download.savannah.gnu.org/releases/nyacc/
* the git repository:
git://git.savannah.nongnu.org/nyacc.git
home page, project page and user's guide:
* http://www.nongnu.org/nyacc
* https://savannah.nongnu.org/projects/nyacc
* http://www.nongnu.org/nyacc/nyacc-ug.html
For support see:
https://savannah.nongnu.org/support/?group=nyacc