Re: New feature proposal: Support C-code inline?

2011-05-05 Thread nalaginrut
hi guys. I put this project there: git://gitorious.org/guile-inline/guile-inline.git in case somebody needs it. And fixed some problems. I'll fix the unsignedpointer problem if I get some free time. to Leslie: * AOT will get you half way there. In embedded systems it may be entirely

Re: New feature proposal: Support C-code inline?

2011-04-26 Thread William ML Leslie
On 23 April 2011 14:24, nalaginrut nalagin...@gmail.com wrote: I think this simple solution could be a temporary substitute before a AOT guile-compiler come out. To myself, I really want to use a AOT compiler to do such a job(it's better for optimizing the code). Just to clear up a seemingly

Re: New feature proposal: Support C-code inline?

2011-04-24 Thread nalaginrut
Well, is the code a piece of string ? Does that mean we'll have code generation on-the-fly facilities? ^_^ yes. you don't need to convert var's type, this module does it automatic for you. By the way, do you like the idea of some kind of inline C-code segments embed in scm files? (Just

Re: New feature proposal: Support C-code inline?

2011-04-22 Thread Noah Lavine
I just looked at the code. It's really cool! This looks like a way to write modules that use C and Scheme together in such a way that the code is all in one place. I think it could be much easier to read code written this way than code in separate C and Scheme files. What do other people think?

New feature proposal: Support C-code inline?

2011-04-20 Thread nalaginrut
hi all! I think somebody will need such a C-inline feature when he wants to write a smart C-function to replace the critical function in his algorithm. And I found a similar feature in Ruby. So I wrote a module to provide this. Anyway, I think the best solution is a AOT compiler for guile. But it