[gambit-list] Need help with getting started with lalr
C K Kashyap
ckkashyap at gmail.com
Wed Jan 25 19:04:21 EST 2017
Hi tried on my mac now - looks like I am running into some networking
related problem. I've confirmed though that I can access network using gsi
....
kashyaps-mbp:SCHEMES kashyap$ tar xzf 90minutes/snow-generic-v1_1_2.tgz
kashyaps-mbp:SCHEMES kashyap$ cd snow-generic/v1.1.2/
kashyaps-mbp:v1.1.2 kashyap$ vim test.scm
kashyaps-mbp:v1.1.2 kashyap$ ./configure
Searching for the Scheme systems accessible in the current PATH:
Chez Scheme 9.4.1 -> /usr/local/bin/scheme
Chicken 4.11.0 -> /usr/local/bin/csi
Chicken compiler 4.11.0 -> /usr/local/bin/csc
Gambit 4.8.7 -> /usr/local/Gambit/bin/gsi
Gambit compiler 4.8.7 -> /usr/local/Gambit/bin/gsc
Petite Chez Scheme 9.4.1 -> /usr/local/bin/petite
These systems were not found (you might want to check the URL to install
them):
bigloo -> http://www-sop.inria.fr/mimosa/fp/Bigloo
gauche -> http://www.shiro.dreamhost.com/scheme/gauche
guile -> http://www.gnu.org/software/guile
kawa -> http://www.gnu.org/software/kawa
larceny -> http://www.ccs.neu.edu/home/will/Larceny
mit -> http://www.gnu.org/software/mit-scheme
mzscheme -> http://www.plt-scheme.org/software/mzscheme
rscheme -> http://www.rscheme.org
scheme48 -> http://s48.org
scm -> http://www-swiss.ai.mit.edu/~jaffer/SCM.html
scsh -> http://www.scsh.net
sisc -> http://sisc.sourceforge.net
stalin -> http://en.wikipedia.org/wiki/Stalin_Scheme_compiler
stklos -> http://www.stklos.org
Testing the Scheme systems:
----------------------------------------------- testing chez
START OF SELF TEST
exceptions
Exception: variable error-handler is not bound
chez has ***failed*** the self test
----------------------------------------------- testing chicken
Error: invalid syntax in macro form: (_snow:eval-in-macro-environment .
exprs)
Call history:
<syntax> (##core#set! snow-namespace-env g4849)
<syntax> (##core#set! ##sys#alias-global-hook g5051)
<syntax> (##core#begin (##core#undefined))
<syntax> (##core#undefined)
<syntax> (quote ())
<syntax> (##core#quote ())
<syntax> (##core#begin (set! ##sys#alias-global-hook
snow-namespace-rename))
<syntax> (set! ##sys#alias-global-hook snow-namespace-rename)
<syntax> (##core#set! ##sys#alias-global-hook snow-namespace-rename)
<syntax> (include "./base/snow.scm")
<syntax> (##core#include "./base/snow.scm")
<syntax> (##core#begin (cond-expand (mit (define-macro
(_snow:eval-in-macro-environment . exprs) (eval (cons ...
<syntax> (cond-expand (mit (define-macro (_snow:eval-in-macro-environment
. exprs) (eval (cons (quote begin) ...
<syntax> (##core#begin (define-macro (_snow:eval-in-macro-environment .
exprs) (if (pair? exprs) (eval (if (n...
<syntax> (define-macro (_snow:eval-in-macro-environment . exprs) (if
(pair? exprs) (eval (if (null? (cdr expr...
<syntax> (_snow:eval-in-macro-environment . exprs) <--
chicken has ***failed*** the self test
----------------------------------------------- testing gambit
START OF SELF TEST
exceptions, records, optional parameters, keywords, fixnum, homovector,
time, bignum, string, filesys, hostos/bin/sh: unknowncommand: command not
found
, random, extio, genport, digest, aes, http*** ERROR IN loop,
"pack/http/v1.0.2/snow/http.scm"@49.17 -- Connection reset by peer
(read-subu8vector '#u8(0) 0 1 '#<input-output-port #2 (tcp-client "
snow.iro.umontreal.ca" 80)>)
gambit has ***failed*** the self test
----------------------------------------------- testing petite
START OF SELF TEST
exceptions
Exception: variable error-handler is not bound
petite has ***failed*** the self test
-----------------------------------------------
*** None of the installed Scheme systems support Scheme Now!
*** Consequently, the Scheme Now! framework can't be installed.
*** You might want to install a Scheme system, add it to your
*** PATH, and then run the configure script again.
On Wed, Jan 25, 2017 at 3:19 PM, Bradley Lucier <lucier at math.purdue.edu>
wrote:
> I'm not having any problem (the "vi test.scm" is to comment out the
> failing test):
>
> heine:~/lang/scheme/snow> /bin/rm -rf snow-generic/
> heine:~/lang/scheme/snow> tar zxf ~/Downloads/snow-generic-v1_1_2.tgz
> heine:~/lang/scheme/snow> cd snow-generic/v1.1.2/
> heine:~/lang/scheme/snow/snow-generic/v1.1.2> vi test.scm
>
> heine:~/lang/scheme/snow/snow-generic/v1.1.2> ./configure
> --site-root=$HOME/.snow-site
> Searching for the Scheme systems accessible in the current PATH:
> Gambit 4.8.7 -> /usr/local/Gambit/current/bin/gsi
> Gambit compiler 4.8.7 -> /usr/local/Gambit/current/bin/gsc
>
> These systems were not found (you might want to check the URL to install
> them):
> bigloo -> http://www-sop.inria.fr/mimosa/fp/Bigloo
> chez -> http://www.scheme.com
> chicken -> http://www.call-with-current-continuation.org
> chicken_comp ->
> gauche -> http://www.shiro.dreamhost.com/scheme/gauche
> guile -> http://www.gnu.org/software/guile
> kawa -> http://www.gnu.org/software/kawa
> larceny -> http://www.ccs.neu.edu/home/will/Larceny
> mit -> http://www.gnu.org/software/mit-scheme
> mzscheme -> http://www.plt-scheme.org/software/mzscheme
> petite -> http://www.scheme.com
> rscheme -> http://www.rscheme.org
> scheme48 -> http://s48.org
> scm -> http://www-swiss.ai.mit.edu/~jaffer/SCM.html
> scsh -> http://www.scsh.net
> sisc -> http://sisc.sourceforge.net
> stalin -> http://en.wikipedia.org/wiki/Stalin_Scheme_compiler
> stklos -> http://www.stklos.org
>
> Testing the Scheme systems:
> ----------------------------------------------- testing gambit
> START OF SELF TEST
> exceptions, records, optional parameters, keywords, fixnum, homovector,
> time, bignum, string, filesys, hostos/bin/sh: 1: unknowncommand: not found
> , random, extio, genport, digest, aes, http, zlib, tar
> END OF SELF TEST *** PASSED ALL TESTS ***
> gambit has passed the self test
> -----------------------------------------------
>
> The following installed Scheme systems support Scheme Now!:
> gambit
>
> Please choose the default Scheme host system: gambit
>
> Configuring files for these defaults:
>
> SNOW_SITE_DIR = /home/lucier/.snow-site/v1.1.2
> SNOW_USER_DIR = $HOME/.snow/v1.1.2
> ALL_SNOW_HOSTS = gambit
> SNOW_HOST = gambit
>
> To install the Scheme Now! framework type: "make install"
> heine:~/lang/scheme/snow/snow-generic/v1.1.2> make install
> ./mkidirs /home/lucier/.snow-site/v1.1.2/bin
> ./install-sh -c -m 755 bin/snow /home/lucier/.snow-site/v1.1.2/bin/snow
> ./install-sh -c -m 755 bin/snowman /home/lucier/.snow-site/v1.1.2
> /bin/snowman
> ./install-sh -c -m 755 bin/snowfort /home/lucier/.snow-site/v1.1.2
> /bin/snowfort
> ./mkidirs /home/lucier/.snow-site/v1.1.2/base
> ./install-sh -c -m 644 base/snow.scm /home/lucier/.snow-site/v1.1.2
> /base/snow.scm
> ./install-sh -c -m 644 base/compat-chez.scm /home/lucier/.snow-site/v1.1.2
> /base/compat-chez.scm
> ./install-sh -c -m 644 base/compat-chicken.scm
> /home/lucier/.snow-site/v1.1.2/base/compat-chicken.scm
> ./install-sh -c -m 644 base/compat-kawa.scm /home/lucier/.snow-site/v1.1.2
> /base/compat-kawa.scm
> ./install-sh -c -m 644 base/compat-larceny.scm
> /home/lucier/.snow-site/v1.1.2/base/compat-larceny.scm
> ./install-sh -c -m 644 base/compat-mit.scm /home/lucier/.snow-site/v1.1.2
> /base/compat-mit.scm
> ./install-sh -c -m 644 base/compat-mzscheme.scm
> /home/lucier/.snow-site/v1.1.2/base/compat-mzscheme.scm
> ./install-sh -c -m 644 base/compat-scheme48.scm
> /home/lucier/.snow-site/v1.1.2/base/compat-scheme48.scm
> ./install-sh -c -m 644 base/compat-scm.scm /home/lucier/.snow-site/v1.1.2
> /base/compat-scm.scm
> ./install-sh -c -m 644 base/compat-scsh.scm /home/lucier/.snow-site/v1.1.2
> /base/compat-scsh.scm
> ./install-sh -c -m 644 base/compat-sisc.scm /home/lucier/.snow-site/v1.1.2
> /base/compat-sisc.scm
> ./mkidirs /home/lucier/.snow-site/v1.1.2/pack
> ./install-sh -c -m 644 pack/aes/v1.0.1/snow/aes.scm
> /home/lucier/.snow-site/v1.1.2/pack/aes/v1.0.1/snow/aes.scm
> ./install-sh -c -m 644 pack/aes/v1.0.1/snow/aes.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/aes/v1.0.1/snow/aes.scm.sig
> ./install-sh -c -m 644 pack/base64/v1.0.1/snow/base64.scm
> /home/lucier/.snow-site/v1.1.2/pack/base64/v1.0.1/snow/base64.scm
> ./install-sh -c -m 644 pack/base64/v1.0.1/snow/base64.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/base64/v1.0.1/snow/base64.scm.sig
> ./install-sh -c -m 644 pack/bignum/v1.0.1/snow/bignum.scm
> /home/lucier/.snow-site/v1.1.2/pack/bignum/v1.0.1/snow/bignum.scm
> ./install-sh -c -m 644 pack/bignum/v1.0.1/snow/bignum.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/bignum/v1.0.1/snow/bignum.scm.sig
> ./install-sh -c -m 644 pack/binio/v1.0.2/snow/binio.scm
> /home/lucier/.snow-site/v1.1.2/pack/binio/v1.0.2/snow/binio.scm
> ./install-sh -c -m 644 pack/binio/v1.0.2/snow/binio.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/binio/v1.0.2/snow/binio.scm.sig
> ./install-sh -c -m 644 pack/cert/v1.0.2/snow/cert.scm
> /home/lucier/.snow-site/v1.1.2/pack/cert/v1.0.2/snow/cert.scm
> ./install-sh -c -m 644 pack/cert/v1.0.2/snow/cert.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/cert/v1.0.2/snow/cert.scm.sig
> ./install-sh -c -m 644 pack/cgi/v1.0.1/snow/cgi.scm
> /home/lucier/.snow-site/v1.1.2/pack/cgi/v1.0.1/snow/cgi.scm
> ./install-sh -c -m 644 pack/cgi/v1.0.1/snow/cgi.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/cgi/v1.0.1/snow/cgi.scm.sig
> ./install-sh -c -m 644 pack/cryptio/v1.0.1/snow/cryptio.scm
> /home/lucier/.snow-site/v1.1.2/pack/cryptio/v1.0.1/snow/cryptio.scm
> ./install-sh -c -m 644 pack/cryptio/v1.0.1/snow/cryptio.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/cryptio/v1.0.1/snow/cryptio.scm.sig
> ./install-sh -c -m 644 pack/digest/v1.0.1/snow/digest.scm
> /home/lucier/.snow-site/v1.1.2/pack/digest/v1.0.1/snow/digest.scm
> ./install-sh -c -m 644 pack/digest/v1.0.1/snow/digest.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/digest/v1.0.1/snow/digest.scm.sig
> ./install-sh -c -m 644 pack/extio/v1.0.3/snow/extio.scm
> /home/lucier/.snow-site/v1.1.2/pack/extio/v1.0.3/snow/extio.scm
> ./install-sh -c -m 644 pack/extio/v1.0.3/snow/extio.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/extio/v1.0.3/snow/extio.scm.sig
> ./install-sh -c -m 644 pack/filesys/v1.0.4/snow/filesys.scm
> /home/lucier/.snow-site/v1.1.2/pack/filesys/v1.0.4/snow/filesys.scm
> ./install-sh -c -m 644 pack/filesys/v1.0.4/snow/filesys.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/filesys/v1.0.4/snow/filesys.scm.sig
> ./install-sh -c -m 644 pack/fixnum/v1.0.3/snow/fixnum.scm
> /home/lucier/.snow-site/v1.1.2/pack/fixnum/v1.0.3/snow/fixnum.scm
> ./install-sh -c -m 644 pack/fixnum/v1.0.3/snow/fixnum.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/fixnum/v1.0.3/snow/fixnum.scm.sig
> ./install-sh -c -m 644 pack/genport/v1.0.1/snow/genport.scm
> /home/lucier/.snow-site/v1.1.2/pack/genport/v1.0.1/snow/genport.scm
> ./install-sh -c -m 644 pack/genport/v1.0.1/snow/genport.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/genport/v1.0.1/snow/genport.scm.sig
> ./install-sh -c -m 644 pack/homovector/v1.0.1/snow/homovector.scm
> /home/lucier/.snow-site/v1.1.2/pack/homovector/v1.0.1/snow/homovector.scm
> ./install-sh -c -m 644 pack/homovector/v1.0.1/snow/homovector.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/homovector/v1.0.1/snow/h
> omovector.scm.sig
> ./install-sh -c -m 644 pack/hostos/v1.0.3/snow/hostos.scm
> /home/lucier/.snow-site/v1.1.2/pack/hostos/v1.0.3/snow/hostos.scm
> ./install-sh -c -m 644 pack/hostos/v1.0.3/snow/hostos.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/hostos/v1.0.3/snow/hostos.scm.sig
> ./install-sh -c -m 644 pack/http/v1.0.2/snow/http.scm
> /home/lucier/.snow-site/v1.1.2/pack/http/v1.0.2/snow/http.scm
> ./install-sh -c -m 644 pack/http/v1.0.2/snow/http.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/http/v1.0.2/snow/http.scm.sig
> ./install-sh -c -m 644 pack/list/v1.0.1/snow/list.scm
> /home/lucier/.snow-site/v1.1.2/pack/list/v1.0.1/snow/list.scm
> ./install-sh -c -m 644 pack/list/v1.0.1/snow/list.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/list/v1.0.1/snow/list.scm.sig
> ./install-sh -c -m 644 pack/mime/v1.0.1/snow/mime.scm
> /home/lucier/.snow-site/v1.1.2/pack/mime/v1.0.1/snow/mime.scm
> ./install-sh -c -m 644 pack/mime/v1.0.1/snow/mime.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/mime/v1.0.1/snow/mime.scm.sig
> ./install-sh -c -m 644 pack/random/v1.0.1/snow/random.scm
> /home/lucier/.snow-site/v1.1.2/pack/random/v1.0.1/snow/random.scm
> ./install-sh -c -m 644 pack/random/v1.0.1/snow/random.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/random/v1.0.1/snow/random.scm.sig
> ./install-sh -c -m 644 pack/rfc1423/v1.0.1/snow/rfc1423.scm
> /home/lucier/.snow-site/v1.1.2/pack/rfc1423/v1.0.1/snow/rfc1423.scm
> ./install-sh -c -m 644 pack/rfc1423/v1.0.1/snow/rfc1423.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/rfc1423/v1.0.1/snow/rfc1423.scm.sig
> ./install-sh -c -m 644 pack/rsa/v1.0.1/snow/rsa.scm
> /home/lucier/.snow-site/v1.1.2/pack/rsa/v1.0.1/snow/rsa.scm
> ./install-sh -c -m 644 pack/rsa/v1.0.1/snow/rsa.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/rsa/v1.0.1/snow/rsa.scm.sig
> ./install-sh -c -m 644 pack/snowfort-app/v1.0.1/snow/snowfort-app.scm
> /home/lucier/.snow-site/v1.1.2/pack/snowfort-app/v1.0.1/snow
> /snowfort-app.scm
> ./install-sh -c -m 644 pack/snowfort-app/v1.0.1/snow/snowfort-app.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/snowfort-app/v1.0.1/snow
> /snowfort-app.scm.sig
> ./install-sh -c -m 644 pack/snowlib/v1.2.1/snow/snowlib.scm
> /home/lucier/.snow-site/v1.1.2/pack/snowlib/v1.2.1/snow/snowlib.scm
> ./install-sh -c -m 644 pack/snowlib/v1.2.1/snow/snowlib.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/snowlib/v1.2.1/snow/snowlib.scm.sig
> ./install-sh -c -m 644 pack/snowman-app/v1.0.2/snow/snowman-app.scm
> /home/lucier/.snow-site/v1.1.2/pack/snowman-app/v1.0.2/snow/
> snowman-app.scm
> ./install-sh -c -m 644 pack/snowman-app/v1.0.2/snow/snowman-app.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/snowman-app/v1.0.2/snow/
> snowman-app.scm.sig
> ./install-sh -c -m 644 pack/sort/v1.0.1/snow/sort.scm
> /home/lucier/.snow-site/v1.1.2/pack/sort/v1.0.1/snow/sort.scm
> ./install-sh -c -m 644 pack/sort/v1.0.1/snow/sort.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/sort/v1.0.1/snow/sort.scm.sig
> ./install-sh -c -m 644 pack/string/v1.0.2/snow/string.scm
> /home/lucier/.snow-site/v1.1.2/pack/string/v1.0.2/snow/string.scm
> ./install-sh -c -m 644 pack/string/v1.0.2/snow/string.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/string/v1.0.2/snow/string.scm.sig
> ./install-sh -c -m 644 pack/tar/v1.0.1/snow/tar.scm
> /home/lucier/.snow-site/v1.1.2/pack/tar/v1.0.1/snow/tar.scm
> ./install-sh -c -m 644 pack/tar/v1.0.1/snow/tar.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/tar/v1.0.1/snow/tar.scm.sig
> ./install-sh -c -m 644 pack/tcpip/v1.1.2/snow/tcpip.scm
> /home/lucier/.snow-site/v1.1.2/pack/tcpip/v1.1.2/snow/tcpip.scm
> ./install-sh -c -m 644 pack/tcpip/v1.1.2/snow/tcpip.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/tcpip/v1.1.2/snow/tcpip.scm.sig
> ./install-sh -c -m 644 pack/time/v1.0.2/snow/time.scm
> /home/lucier/.snow-site/v1.1.2/pack/time/v1.0.2/snow/time.scm
> ./install-sh -c -m 644 pack/time/v1.0.2/snow/time.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/time/v1.0.2/snow/time.scm.sig
> ./install-sh -c -m 644 pack/ttyui/v1.0.1/snow/ttyui.scm
> /home/lucier/.snow-site/v1.1.2/pack/ttyui/v1.0.1/snow/ttyui.scm
> ./install-sh -c -m 644 pack/ttyui/v1.0.1/snow/ttyui.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/ttyui/v1.0.1/snow/ttyui.scm.sig
> ./install-sh -c -m 644 pack/vector/v1.0.1/snow/vector.scm
> /home/lucier/.snow-site/v1.1.2/pack/vector/v1.0.1/snow/vector.scm
> ./install-sh -c -m 644 pack/vector/v1.0.1/snow/vector.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/vector/v1.0.1/snow/vector.scm.sig
> ./install-sh -c -m 644 pack/zlib/v1.0.1/snow/zlib.scm
> /home/lucier/.snow-site/v1.1.2/pack/zlib/v1.0.1/snow/zlib.scm
> ./install-sh -c -m 644 pack/zlib/v1.0.1/snow/zlib.scm.sig
> /home/lucier/.snow-site/v1.1.2/pack/zlib/v1.0.1/snow/zlib.scm.sig
> Setting up for SNOW_HOST=gambit
> compiling aes/v1.0.1
> compiling base64/v1.0.1
> compiling bignum/v1.0.1
> compiling binio/v1.0.2
> compiling cert/v1.0.2
> compiling cgi/v1.0.1
> compiling cryptio/v1.0.1
> compiling digest/v1.0.1
> compiling extio/v1.0.3
> compiling filesys/v1.0.4
> compiling fixnum/v1.0.3
> compiling genport/v1.0.1
> compiling homovector/v1.0.1
> compiling hostos/v1.0.3
> compiling http/v1.0.2
> compiling list/v1.0.1
> compiling mime/v1.0.1
> compiling random/v1.0.1
> compiling rfc1423/v1.0.1
> compiling rsa/v1.0.1
> compiling snowfort-app/v1.0.1
> compiling snowlib/v1.2.1
> compiling snowman-app/v1.0.2
> compiling sort/v1.0.1
> compiling string/v1.0.2
> compiling tar/v1.0.1
> compiling tcpip/v1.1.2
> compiling time/v1.0.2
> compiling ttyui/v1.0.1
> compiling vector/v1.0.1
> compiling zlib/v1.0.1
> rm -f /home/lucier/.snow-site/current
> ln -s /home/lucier/.snow-site/v1.1.2 /home/lucier/.snow-site/current
> Don't forget to add /home/lucier/.snow-site/current/bin to your PATH
> heine:~/lang/scheme/snow/snow-generic/v1.1.2>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20170125/d01661ce/attachment.htm>
More information about the Gambit-list
mailing list