The GRM Project: Visual analysis tool for context-free grammars
GRM is a Java Swing application, that runs on top of SSDM, mainly utilizing its Lisp interpreter and boolean matrix operations library.
GRM can be run under Windows and Linux, however,install, grmgui and the converter scripts are currently provided for Windows only. Users are encouraged to port and test these scripts under Linux.
-
Download SSDM from http://www.it.uu.se/research/group/udbl/SciSPARQL/ and unpack it
-
Set
AMOS_HOMEenvironment variable to the root directory of the unpacked SSDM archive -
Run
installfor both Java and Amos Image compilation -
To run, use
grmguiin applications/grmgui
Internally, GRM uses its own lisp-based format for representing grammars.
Included are the converters from Bison/Yacc .y files, and from Extended Bachus-Naur Form in version that disallows spaces in symbol names. Most standard specifications, e.g. ones from W3C.
-
use
yy2grm grammarto convert file.\grammar.yto.\grammar.lsp, where Lisp symbolgrammarwill be defined. -
use
ebnf2grm grammarto convert file.\grammar.ebnfto.\grammar.lsp, where Lisp symbolgrammarwill be defined.