I like regex-literals. I'm confused about how to get it to work when
compiling though. It seems to work with csi just fine (which is
great). I get an error about the read syntax when I try to compile it
(using csc) though. Is there a csc option that I should be using?
Regards,
Kyle R. Burton
[EMAIL PROTECTED]:~$ cat test.scm
(use regex-literals)
(use regex)
(printf "~a\n"
(string-substitute #/[abc]/ "" "The alphabet goes
abcdefghijklmnopqrstuvwxyz"))
(exit)[EMAIL PROTECTED]:~$ cat test.scm
(use regex-literals)
(use regex)
(printf "~a\n"
(string-substitute #/[abc]/ "" "The alphabet goes
abcdefghijklmnopqrstuvwxyz"))
(exit)
[EMAIL PROTECTED]:~$ csi -q test.scm
The lphabet goes abcdefghijklmnopqrstuvwxyz
[EMAIL PROTECTED]:~$ csc test.scm
Error: invalid sharp-sign read syntax in line 4: #\/
*** Shell command terminated with exit status 1:
/home/mortis/local/bin/chicken test.scm -output-file test.c -quiet
[EMAIL PROTECTED]:~$
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users