Re: [Chicken-users] Fwd: Newbie question - Converting SKILL/Scheme to C.

2009-09-05 Thread Matthew Welland
I have done this for some small SKILL programs before. If you have "c-style" (*yuck*) SKILL you will probably save some time by loading it into a cadence tool and using "pp" to convert it back to sane mode. It has been many years since I tried it but I'm pretty sure that works. SKILL is really

Re: [Chicken-users] Fwd: Newbie question - Converting SKILL/Scheme to C.

2009-09-01 Thread Yaron Kretchmer
Thanks Nicholas The fact that the C code resulting from the translation is not humanly readable is not important to me. I only intend to compile the C code and link it against other libraries. /* */ style comments not being supported is a minor problem. Infix not being supported is a slightly bigg

Re: [Chicken-users] Fwd: Newbie question - Converting SKILL/Scheme to C.

2009-09-01 Thread Nicholas "Indy" Ray
So, Don't confuse the fact that Chicken compiles to C with being able to translate to C. The result of the Chicken compiler is doubtful to be maintainable by hand. If you run csc -t on a source file that actually compiles, you will see what sort of C Chicken generates. If you're still trying to ge

Re: [Chicken-users] Fwd: Newbie question - Converting SKILL/Scheme to C.

2009-09-01 Thread Yaron Kretchmer
Hi Ray. My apologies. Let me explain some more. I have a program written in a language called SKILL, which is a variant of Scheme. SKILL is used in semiconductor design to describe the layout of transistors, and is described briefly in http://en.wikipedia.org/wiki/Cadence_SKILL I am interested i

Re: [Chicken-users] Fwd: Newbie question - Converting SKILL/Scheme to C.

2009-09-01 Thread Nicholas "Indy" Ray
Sorry, But I don't think the HTML was the major problem with the email. First of all it's not clear what you are trying to do. Second of all without any code to see what's generating you're errors it's hard to diagnose. Also things like "(() if (opptapObj->tap == "None" then return (nil) else r

[Chicken-users] Fwd: Newbie question - Converting SKILL/Scheme to C.

2009-09-01 Thread Yaron Kretchmer
Here's a resend with no HTML :P --- begin resend- Hi All. Just joined the group, so forgive my newbie questions :) I have some legacy code written in SKILL (a variant of Scheme) which I'm trying to convert to C. I tried compiling th