Re: Anniversary hack: Zile editor with Guile support

2013-03-25 Thread Gary V. Vaughan
Hi Ian, On 25 Mar 2013, at 13:24, Ian Price wrote: > "Gary V. Vaughan" writes: >> I think we are misunderstanding one another somewhere :( >> >> I'm talking about this: >> >> 1. user writes some Guile Scheme, and feeds it to Lua Zile >> 2. Lua Zile runs zlc to translate Guile Scheme to Lua >

Re: Anniversary hack: Zile editor with Guile support

2013-03-24 Thread Ian Price
"Gary V. Vaughan" writes: > I think we are misunderstanding one another somewhere :( > > I'm talking about this: > > 1. user writes some Guile Scheme, and feeds it to Lua Zile > 2. Lua Zile runs zlc to translate Guile Scheme to Lua > 3. Lua Zile runs luac to compile output of (2) to Lua by

Re: Anniversary hack: Zile editor with Guile support

2013-03-24 Thread Gary V. Vaughan
Hi Ian, On 25 Mar 2013, at 11:10, Ian Price wrote: > "Gary V. Vaughan" writes: The first, I can do, though it's a long time since I paid attention to Guile, so I'd need guidance and/or test-cases from someone familiar with it to make sure my implementation would be com

Re: Anniversary hack: Zile editor with Guile support

2013-03-24 Thread Ian Price
"Gary V. Vaughan" writes: >>> The first, I can do, though it's a long time since I paid attention to >>> Guile, >>> so I'd need guidance and/or test-cases from someone familiar with it to make >>> sure my implementation would be compatible with canonical Guile Scheme. >> >> Rather than going fo

Re: Anniversary hack: Zile editor with Guile support

2013-03-24 Thread Nala Ginrut
On Mon, 2013-03-25 at 02:13 +, Ian Price wrote: > "Gary V. Vaughan" writes: > > > Rather than byte-code to byte-code translation, I was rather thinking of > > either: > > > > 1. Tweaking zlc to be capable of compiling guile scheme directly to Lua > > (and > > then easily from there t

Re: Anniversary hack: Zile editor with Guile support

2013-03-24 Thread Gary V. Vaughan
Hi Ian, On 25 Mar 2013, at 09:13, Ian Price wrote: > "Gary V. Vaughan" writes: > >> Rather than byte-code to byte-code translation, I was rather thinking of >> either: >> >> 1. Tweaking zlc to be capable of compiling guile scheme directly to Lua (and >> then easily from there to Lua byte

Re: Anniversary hack: Zile editor with Guile support

2013-03-24 Thread Ian Price
"Gary V. Vaughan" writes: > Rather than byte-code to byte-code translation, I was rather thinking of > either: > > 1. Tweaking zlc to be capable of compiling guile scheme directly to Lua (and > then easily from there to Lua bytecodes); or > 2. Running Zile with the Guile implementation

Re: Anniversary hack: Zile editor with Guile support

2013-03-22 Thread Nala Ginrut
On Fri, 2013-03-22 at 12:05 +0100, Ludovic Courtès wrote: > Hi Gary, > > "Gary V. Vaughan" skribis: > > > With my limited flirting with Guile in years past, I'm pretty sure the Lua- > > on-Guile work stalled or failed a long time ago. If not, or if it can be > > resurrected, that may be another

Re: Anniversary hack: Zile editor with Guile support

2013-03-22 Thread Ludovic Courtès
Hi Gary, "Gary V. Vaughan" skribis: > With my limited flirting with Guile in years past, I'm pretty sure the Lua- > on-Guile work stalled or failed a long time ago. If not, or if it can be > resurrected, that may be another interesting means to leveraging all the > recent work on Lua Zile towar

Re: Anniversary hack: Zile editor with Guile support

2013-03-21 Thread Gary V. Vaughan
On 22 Mar 2013, at 09:43, Mike Gran wrote: > Hi Gary (and Reuben) Hi Mike, >> From: Gary V. Vaughan > >> I wonder whether you're aware of the recent change of tack in the Zile >> project? For the moment all the exciting work is happening on the lua >> branch: > > I've been following it from

Re: Anniversary hack: Zile editor with Guile support

2013-03-21 Thread Gary V. Vaughan
Hi Mike, I'm not subscribed to guile-user, so (if guile-user accepts non-subscriber posts and this message arrives there at all!) please Cc: me on any replies. On 20 Mar 2013, at 18:47, Gary V. Vaughan wrote: > On 20 Mar 2013, at 18:03, Reuben Thomas wrote: > >> It's worth having a note of thi

Re: Anniversary hack: Zile editor with Guile support

2013-03-21 Thread Mike Gran
Hi Gary (and Reuben) > From: Gary V. Vaughan >I wonder whether you're aware of the recent change of tack in the Zile >project?  For the moment all the exciting work is happening on the lua >branch: I've been following it from afar. Good stuff, but I haven't done much other than run it once or

Re: Anniversary hack: Zile editor with Guile support

2012-02-14 Thread Ludovic Courtès
Hi Mike, Mike Gran skribis: > - The Guile debugger is okay, but, it isn't great.  Sometimes, >   the debugger can't tell you where the error is in your source >   code. In that case that’s a bug worth reporting. :-) Ludo’.

Re: Anniversary hack: Zile editor with Guile support

2012-02-13 Thread Mike Gran
> From: Ludovic Courtès > There’s a small issue: for me, it would segfault; using NULL instead of > 0 as the sentinel in scm_c_export calls solves the problem for me (patch > below.) Thanks for checking it out.  I'm guessing why it segfaults for you and not for me is 32-bit vs 64-bit. -Mike

Re: Anniversary hack: Zile editor with Guile support

2012-02-13 Thread Ludovic Courtès
Hi Mike! Mike Gran skribis: > In response to Ludo's request for a Guile-2.0 anniversary hack, I'll > start by offering a release of a hack I made.  But this isn't my > official hack: it is just a building block. Excellent. Looking forward to the actual hack. :-) > You can find the download a

Re: Anniversary hack: Zile editor with Guile support

2012-02-13 Thread Bernardo Ezequiel Contreras
Do you plan to write everything on guile? is it possible? On Sun, Feb 12, 2012 at 9:51 PM, Mike Gran wrote: > > > Hello- > > In response to Ludo's request for a Guile-2.0 anniversary hack, I'll > start by offering a release of a hack I made. But this isn't my > official hack: it is just a build

Re: Anniversary hack: Zile editor with Guile support

2012-02-13 Thread Mike Gran
> From: Bernardo Ezequiel Contreras >   > >Do you plan to write everything on guile? is it possible?  I don't plan on writing everything in Guile, but, it is possible.   Zile only depends on the Ncurses libraries.  There are Guile bindings for Ncurses. So I have everything I would need.   I have

Anniversary hack: Zile editor with Guile support

2012-02-12 Thread Mike Gran
Hello- In response to Ludo's request for a Guile-2.0 anniversary hack, I'll start by offering a release of a hack I made.  But this isn't my official hack: it is just a building block. Zile-on-Guile is a version of GNU Zile that uses GNU Guile as an extension language.  The original GNU Zile wa