* Adding files to kawa.lib
@ 2014-05-10 13:44 Andrea Bernardini
2014-05-10 14:02 ` Charles Turner
0 siblings, 1 reply; 3+ messages in thread
From: Andrea Bernardini @ 2014-05-10 13:44 UTC (permalink / raw)
To: kawa
I'm trying to build kawa using my case implementation. I noticed that
definitions in kawa.lib, like those prim_syntax and std_syntax, are
visible in other packages without an explicit module import. I'd like
to obtain the same result with my case_syntax file. I added
case_syntax.scm file in kawa/lib and modified Makefiles (includig *.in,
*.am) accordingly. I also added the file in build.xml.
However the case definition is not visible in gnu.kawa.slib, so when I
try to build kawa it fails:
> (compiling DefineRecordType.scm to gnu.kawa.slib.DefineRecordType)
> (compiling enums.scm to gnu.kawa.slib.enums)
> (compiling readtable.scm to gnu.kawa.slib.readtable)
> (compiling srfi1.scm to gnu.kawa.slib.srfi1)
> (compiling srfi2.scm to gnu.kawa.slib.srfi2)
> (compiling conditions.scm to gnu.kawa.slib.conditions)
> (compiling srfi13.scm to gnu.kawa.slib.srfi13)
> srfi14.scm:795:3: exception loading 'case' - null
> srfi14.scm:795:3: exception loading 'case' - null
> srfi14.scm:806:3: exception loading 'case' - null
Any idea? May it be a problem with make/ant configuration or is there
just some error in my code?
Thanks in advance
--
Andrea Bernardini
Engineering Of Computing Systems student
Politecnico di Milano, Italy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Adding files to kawa.lib
2014-05-10 13:44 Adding files to kawa.lib Andrea Bernardini
@ 2014-05-10 14:02 ` Charles Turner
2014-05-10 14:45 ` Andrea Bernardini
0 siblings, 1 reply; 3+ messages in thread
From: Charles Turner @ 2014-05-10 14:02 UTC (permalink / raw)
To: Andrea Bernardini; +Cc: Kawa mailing list
Are you declaring the symbols used in your case_syntax file from the
Scheme.java file? That file contains all the global symbol exports.
Kind regards,
Charles.
On 10 May 2014 14:44, Andrea Bernardini <andrebask@gmail.com> wrote:
> I'm trying to build kawa using my case implementation. I noticed that
> definitions in kawa.lib, like those prim_syntax and std_syntax, are
> visible in other packages without an explicit module import. I'd like
> to obtain the same result with my case_syntax file. I added
> case_syntax.scm file in kawa/lib and modified Makefiles (includig *.in,
> *.am) accordingly. I also added the file in build.xml.
> However the case definition is not visible in gnu.kawa.slib, so when I
> try to build kawa it fails:
>
>> (compiling DefineRecordType.scm to gnu.kawa.slib.DefineRecordType)
>> (compiling enums.scm to gnu.kawa.slib.enums)
>> (compiling readtable.scm to gnu.kawa.slib.readtable)
>> (compiling srfi1.scm to gnu.kawa.slib.srfi1)
>> (compiling srfi2.scm to gnu.kawa.slib.srfi2)
>> (compiling conditions.scm to gnu.kawa.slib.conditions)
>> (compiling srfi13.scm to gnu.kawa.slib.srfi13)
>> srfi14.scm:795:3: exception loading 'case' - null
>> srfi14.scm:795:3: exception loading 'case' - null
>> srfi14.scm:806:3: exception loading 'case' - null
>
> Any idea? May it be a problem with make/ant configuration or is there
> just some error in my code?
>
> Thanks in advance
>
> --
> Andrea Bernardini
> Engineering Of Computing Systems student
> Politecnico di Milano, Italy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Adding files to kawa.lib
2014-05-10 14:02 ` Charles Turner
@ 2014-05-10 14:45 ` Andrea Bernardini
0 siblings, 0 replies; 3+ messages in thread
From: Andrea Bernardini @ 2014-05-10 14:45 UTC (permalink / raw)
To: kawa@sourceware.org list
Il giorno Sat, 10 May 2014 15:02:28 +0100
Charles Turner <chturne@gmail.com> ha scritto:
> Are you declaring the symbols used in your case_syntax file from the
> Scheme.java file? That file contains all the global symbol exports.
Bingo! It worked.
Thanks
--
Andrea Bernardini
Engineering Of Computing Systems student
Politecnico di Milano, Italy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-10 14:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-10 13:44 Adding files to kawa.lib Andrea Bernardini
2014-05-10 14:02 ` Charles Turner
2014-05-10 14:45 ` Andrea Bernardini
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).