* SLIB (full/general) in Kawa?
@ 2021-01-01 18:50 Sudarshan S Chawathe
2021-01-01 19:25 ` Per Bothner
0 siblings, 1 reply; 3+ messages in thread
From: Sudarshan S Chawathe @ 2021-01-01 18:50 UTC (permalink / raw)
To: Kawa mailing list
Does anyone have any suggestions for getting SLIB working in Kawa?
I mean the full/general SLIB distribution, not only the few parts that
are already in Kawa. When I try to include SLIB's kawa.init file, I get
errors that seem related to the use of colons in SLIB identifiers. In
particular, I thought I'd check if someone had SLIB running before
getting in too deep. (I'm also not sure if it is possible to "escape" a
colon to at least enable a very hackish "search and replace" kind of
workaround by modifying a local copy of the SLIB sources.)
I found an old thread/bug-report in the old Savannah repository:
http://savannah.gnu.org/bugs/?19263
but nothing specific in the current Gitlab repository and in general am
unsure of the current state of things on this front.
I'll also take the occasion to say a heartfelt thanks and best wishes
for the new year to all of the Kawa community.
Regards,
-chaw
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SLIB (full/general) in Kawa?
2021-01-01 18:50 SLIB (full/general) in Kawa? Sudarshan S Chawathe
@ 2021-01-01 19:25 ` Per Bothner
2021-01-01 21:03 ` Sudarshan S Chawathe
0 siblings, 1 reply; 3+ messages in thread
From: Per Bothner @ 2021-01-01 19:25 UTC (permalink / raw)
To: kawa
On 1/1/21 10:50 AM, Sudarshan S Chawathe wrote:
> Does anyone have any suggestions for getting SLIB working in Kawa?
>
> I mean the full/general SLIB distribution, not only the few parts that
> are already in Kawa. When I try to include SLIB's kawa.init file, I get
> errors that seem related to the use of colons in SLIB identifiers. In
> particular, I thought I'd check if someone had SLIB running before
> getting in too deep. (I'm also not sure if it is possible to "escape" a
> colon to at least enable a very hackish "search and replace" kind of
> workaround by modifying a local copy of the SLIB sources.)
One possibility is to use the --r7rs command-line option:
https://www.gnu.org/software/kawa/Options.html#Options-for-language-selection
You can escape a colon either by surrounding it with vertical bars,
or by prefixing it with a backslash (both methods come from Common Lisp):
'|ab:cd| (or 'ab|:|cd) or 'ab\:cd
> I'll also take the occasion to say a heartfelt thanks and best wishes
> for the new year to all of the Kawa community.
Thank you!
--
--Per Bothner
per@bothner.com http://per.bothner.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SLIB (full/general) in Kawa?
2021-01-01 19:25 ` Per Bothner
@ 2021-01-01 21:03 ` Sudarshan S Chawathe
0 siblings, 0 replies; 3+ messages in thread
From: Sudarshan S Chawathe @ 2021-01-01 21:03 UTC (permalink / raw)
To: kawa
> From: Per Bothner <per@bothner.com>
> Date: Fri, 1 Jan 2021 11:25:04 -0800
>
> One possibility is to use the --r7rs command-line option:
> https://www.gnu.org/software/kawa/Options.html#Options-for-language-selection
Thanks for the quick help. I was able to make some progress using the
r7rs option, which I had forgotten about. It means using the (invoke
foo 'bar baz ...) instead of (foo:bar baz ...) but I could probably get
used to that quite easily.
> You can escape a colon either by surrounding it with vertical bars,
> or by prefixing it with a backslash (both methods come from Common Lisp):
>
> '|ab:cd| (or 'ab|:|cd) or 'ab\:cd
That's very good to know; I'll plan to try this alternative a bit later.
Regards,
-chaw
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-01 21:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-01 18:50 SLIB (full/general) in Kawa? Sudarshan S Chawathe
2021-01-01 19:25 ` Per Bothner
2021-01-01 21:03 ` Sudarshan S Chawathe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).