[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] A more detailed plea for help with FFI...

From: John Lenz
Subject: Re: [Chicken-users] A more detailed plea for help with FFI...
Date: Wed, 15 Dec 2004 20:44:08 +0000

On 12/15/04 13:58:12, Ed Watkeys wrote: 
> While I have you here, I was wondering if there might be a way to use 
> SWIG to generate Chicken procedure names with characters other than 
> [0-9A-Za-z-] in them. Specifically, I'd like to stick some colon in the 
> names e.g. "data-type:operation-name". Is there a way to do this in 

It should be possible with the %rename directive.

I just tried
%rename(a:b) func;
and SWIG gets Error: Syntax error in input.

To the SWIG devs, is there a way to get rename to accept colons?
the chicken validIdentifier function accepts : in names, but it
seems that parser.y is using idstring

line 1982: | rename_namewarn LPAREN idstring RPAREN string SEMI


reply via email to

[Prev in Thread] Current Thread [Next in Thread]