SapphireDensetsu / ypsilon

Automatically exported from code.google.com/p/ypsilon
Other
0 stars 0 forks source link

Apparent bug in syntax-case/library interaction #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Download the attached tarball, and extract it. This will create the
directory 'yp-test'
2. run 'YPSILON_SITELIB="`pwd`" ypsilon --r6rs test.sps' (on UNIX), from
inside the yp-test directory

On ikarus and mzscheme, this yields the desired output:

% ikarus --r6rs-script test.sps
(222 333 666)
% PLTCOLLECTS=":`pwd`" mzscheme -u test.sps 
{222 333 666}

However, ypsilon fails with this error:

% YPSILON_SITELIB="`pwd`" ypsilon --r6rs test.sps

error: attempt to reference unbound identifier x
  >  (x y z)
  ..."/home/rotty/src/spe/yp-test/test.sps"

expanding:
  >  (x y z)
  ..."/home/rotty/src/spe/yp-test/test.sps"
  *  (def (x y z) b)
  ..."/home/rotty/src/spe/yp-test/test.sps" line 8

This is running Ypsilon 0.9.6-trunk/r336, on Debian GNU/Linux sid,
architecture x86-64 (aka amd64).

Original issue reported on code.google.com by rott...@gmail.com on 28 Dec 2008 at 10:50

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you for your bug report!
It seems there is name space problem in ypsilon. I will fix it.
-- fujita

Original comment by y.fujita...@gmail.com on 29 Dec 2008 at 3:36

GoogleCodeExporter commented 8 years ago
I have fixed the bug and trunk directory is updated to revision 341.
Please try. Thank you!
-- fujita

Original comment by y.fujita...@gmail.com on 3 Jan 2009 at 1:45

GoogleCodeExporter commented 8 years ago
I have tried the original code from which I contrived the example, and it seems 
to
work nicely. Thanks for the quick fix!

Original comment by rott...@gmail.com on 9 Jan 2009 at 6:43

GoogleCodeExporter commented 8 years ago
I am very happy to hear that :)
Thank you again and please keep in touch!
-- fujita

Original comment by y.fujita...@gmail.com on 15 Jan 2009 at 2:50