logo       

Re: Re: #! ... !#: msg#00083

lisp.corman

Subject: Re: Re: #! ... !#

As far as this second issue is concerned, I have made some modifications to
parse-c-decls.lisp to handle this (amongst other things). The other one you
mentioned I fixed with 'M-x replace-string', IIRC.

I haven't merged this code into any changes made for 2.01 or anything, so
YMMV etc.

I should add, I wrote this code as my introduction to Corman Common Lisp
(and a re-introduction to Lisp programming in general after nearly ten
years since ELEC443 Knowledge Engineering) and a "worked example" of how to
write code in this language. I found it to be a valuable experience, and
would recommend it to anyone (re)discovering the joy of Lashings of
Inter-Stitial Parentheses.

c.f. http://www.synchromesh.com/misc/parse-c-decls.lisp

Cheers,

John :^P (still torn between Lisp and Scheme as the truly Right Thing)

P.S. Does CCL work any better with ILISP (all hail the One True Editor)
these days?

At 07:46 17/03/2003 +0000, lcluke wrote:
>A second case would be modifying the :ignore paramter to accept a
>list containing several strings. E.g. all functions in the SDL
>(www.libsdl.org) header files are specified as 'extern', and there
>are a lot of functions.
>
>extern DECLSPEC char * SDL_GetError();
>extern DECLSPEC void SDL_ClearError();
>
>I realize performing a search/replace on the header files is easy
>enough, but the less preprocessing that is required on the headers,
>the less work is required when a new version is released.

Yeah, but that's what awk is for, really... ;)

--
John Pallister
john@xxxxxxxxxxxxxxx
Wellington, New Zealand
* Happy Saint Patrick's Day!*


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cormanlisp-unsubscribe@xxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise