colons in identifiers exported by r7rs libraries

Per Bothner per@bothner.com
Mon Nov 24 21:09:00 GMT 2014


On 11/24/2014 06:19 AM, Seth Alves wrote:
> Kawa generally seems to tolerate colons in identifier names, but I'm getting some strange errors when those identifiers are exported from r7rs libraries.

Please try again.

There were 3 problems:

- The export syntax didn't have its name set - hence the 'null'.
That was a simple cut-and-paste error.
  
- The export syntax didn't handle compound names (with colons).
The fix was to call the namespaceResolve method.

- Finally, namespaceResolve didn't work if quasiquote is not in
scope, which it isn't by default in a define-library.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



More information about the Kawa mailing list