* Hosting for Guile-PHP
@ 2010-04-13 2:04 Jon Herron
2010-04-13 2:32 ` No Itisnt
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Jon Herron @ 2010-04-13 2:04 UTC (permalink / raw)
To: guile-devel
All -
I'm starting to make some more slow progress, I have basic tree-il generated for simple cases, the below PHP script runs for instance:
----
Some text before php tag...
<?php
function testFunc1()
{
$a = 101;
print "from testFunc1\n";
print "\n";
print $a;
print "\n";
}
function testFunc2 ( ) { print "from testFunc2\n"; }
function testFunc3(
) {
print "from testFunc3\n";
}
#comment1
/* comment2 */
//comment 3
$x = 1;
$y = 2;
print $x;
print $y;
print "\n";
print "\Z";
print "still testing";
print "\n-----------\n";
testFunc1();
testFunc2();
testFunc3();
?>
Some text after php tag..........
----
Although no where near finished yet, I'm getting to the point where I would like to host the code that I'm writing somewhere. I was wondering if there's a chance of getting a branch that I could commit to (assuming there is project level interest in this implementation)? Or should I get a separate project hosted elsewhere (savannah perhaps?). I'm not exactly sure the protocol for a question like this, but figured it was worth asking.
Thanks,
Jon
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Hosting for Guile-PHP
2010-04-13 2:04 Hosting for Guile-PHP Jon Herron
@ 2010-04-13 2:32 ` No Itisnt
2010-04-13 2:43 ` Jon Herron
2010-04-13 21:12 ` Ludovic Courtès
2010-07-22 16:18 ` Andy Wingo
2 siblings, 1 reply; 11+ messages in thread
From: No Itisnt @ 2010-04-13 2:32 UTC (permalink / raw)
To: Jon Herron; +Cc: guile-devel
I have nothing to add except that's very impressive. Did you use any
lexer/parser generators?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Hosting for Guile-PHP
2010-04-13 2:32 ` No Itisnt
@ 2010-04-13 2:43 ` Jon Herron
0 siblings, 0 replies; 11+ messages in thread
From: Jon Herron @ 2010-04-13 2:43 UTC (permalink / raw)
To: No Itisnt; +Cc: guile-devel
Thanks, it's been a great learning experience. In truth this is a perfect example of standing on the shoulders of giants. I used Silex and the lalr module (system base lalr). So far my approach has been to try and absorb what's going on in the ecmascript compiler and apply the same practices for the PHP one. There is a lot of work still to be done, looking forward to continuing on it.
Jon
----- Original Message ----
From: No Itisnt <theseaisinhere@gmail.com>
To: Jon Herron <jon.herron@yahoo.com>
Cc: guile-devel@gnu.org
Sent: Mon, April 12, 2010 10:32:25 PM
Subject: Re: Hosting for Guile-PHP
I have nothing to add except that's very impressive. Did you use any
lexer/parser generators?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Hosting for Guile-PHP
2010-04-13 2:04 Hosting for Guile-PHP Jon Herron
2010-04-13 2:32 ` No Itisnt
@ 2010-04-13 21:12 ` Ludovic Courtès
2010-04-14 1:37 ` Jon Herron
2010-07-22 16:18 ` Andy Wingo
2 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2010-04-13 21:12 UTC (permalink / raw)
To: Jon Herron; +Cc: guile-devel
Hi Jon,
Jon Herron <jon.herron@yahoo.com> writes:
> I'm starting to make some more slow progress, I have basic tree-il
> generated for simple cases, the below PHP script runs for instance:
Sounds cool!
> Although no where near finished yet, I'm getting to the point where I
> would like to host the code that I'm writing somewhere. I was
> wondering if there's a chance of getting a branch that I could commit
> to (assuming there is project level interest in this implementation)?
> Or should I get a separate project hosted elsewhere (savannah
> perhaps?). I'm not exactly sure the protocol for a question like
> this, but figured it was worth asking.
For now I would be in favor of setting up a separate project on
Savannah, rather than having a branch in the Guile repo. That should be
technically doable as we’ll make sure to keep the compiler API
compatible during the 2.x release series.
To be honest, I personally don’t value the PHP language much and would
rather have GNU promote Scheme than PHP, though I can understand that
some people would find it useful to have interoperability between Guile
Scheme and PHP code. Additionally, each language front-end adds a
maintenance burden and consumes hacker energy (the ECMAScript front-end
needs love, BTW! ;-)).
Anyhow, depending on how things evolve in the future, we can still
decide to merge it (which would itself be facilitated if all
contributors have assigned copyright to the FSF.)
What do you think?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Hosting for Guile-PHP
2010-04-13 21:12 ` Ludovic Courtès
@ 2010-04-14 1:37 ` Jon Herron
2010-04-14 9:00 ` Ludovic Courtès
0 siblings, 1 reply; 11+ messages in thread
From: Jon Herron @ 2010-04-14 1:37 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guile-devel
Ludo -
Sure, that sounds fine to me. I definitely understand wanting to promote Scheme over PHP from a GNU point of view, for me personally I have to use PHP at work and any potential chance to slide some Scheme in the mix would be welcome (to me at least). I chose Guile as my Scheme implementation mainly due to the compiler tower, example language implementations and mention of a PHP translator under the cool ideas section. I understand this was not a firm desire, nor guarantee of acceptance on the projects behalf. I have not regretted my decision to use Guile one bit, and plan to continue Guile-PHP as time permits. If a merge is beneficial in the future that's great, if not no hard feelings.
With that being said, is there another area of the project that would be beneficial for me to look at? I've seen various mentions of the ECMAScript front-end but not sure what is needed there. Other bugs? Desired libraries? I wouldn't mind having Guile-PHP be a side-side project since there's a strong chance I would be the only user for a long time anyway. In short I'd enjoy helping out if there is something that needs looking at.
Thanks,
Jon
----- Original Message ----
From: Ludovic Courtès <ludo@gnu.org>
To: Jon Herron <jon.herron@yahoo.com>
Cc: guile-devel@gnu.org
Sent: Tue, April 13, 2010 5:12:00 PM
Subject: Re: Hosting for Guile-PHP
Hi Jon,
Jon Herron <jon.herron@yahoo.com> writes:
> I'm starting to make some more slow progress, I have basic tree-il
> generated for simple cases, the below PHP script runs for instance:
Sounds cool!
> Although no where near finished yet, I'm getting to the point where I
> would like to host the code that I'm writing somewhere. I was
> wondering if there's a chance of getting a branch that I could commit
> to (assuming there is project level interest in this implementation)?
> Or should I get a separate project hosted elsewhere (savannah
> perhaps?). I'm not exactly sure the protocol for a question like
> this, but figured it was worth asking.
For now I would be in favor of setting up a separate project on
Savannah, rather than having a branch in the Guile repo. That should be
technically doable as we’ll make sure to keep the compiler API
compatible during the 2.x release series.
To be honest, I personally don’t value the PHP language much and would
rather have GNU promote Scheme than PHP, though I can understand that
some people would find it useful to have interoperability between Guile
Scheme and PHP code. Additionally, each language front-end adds a
maintenance burden and consumes hacker energy (the ECMAScript front-end
needs love, BTW! ;-)).
Anyhow, depending on how things evolve in the future, we can still
decide to merge it (which would itself be facilitated if all
contributors have assigned copyright to the FSF.)
What do you think?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Hosting for Guile-PHP
2010-04-14 1:37 ` Jon Herron
@ 2010-04-14 9:00 ` Ludovic Courtès
2010-04-14 19:12 ` Andy Wingo
0 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2010-04-14 9:00 UTC (permalink / raw)
To: Jon Herron; +Cc: guile-devel
Hello,
Jon Herron <jon.herron@yahoo.com> writes:
> Sure, that sounds fine to me. I definitely understand wanting to
> promote Scheme over PHP from a GNU point of view, for me personally I
> have to use PHP at work and any potential chance to slide some Scheme
> in the mix would be welcome (to me at least).
Yeah, I think that’s typically something that people choosing to use
Guile-PHP would enjoy.
> I chose Guile as my Scheme implementation mainly due to the compiler
> tower, example language implementations and mention of a PHP
> translator under the cool ideas section. I understand this was not a
> firm desire, nor guarantee of acceptance on the projects behalf. I
> have not regretted my decision to use Guile one bit, and plan to
> continue Guile-PHP as time permits. If a merge is beneficial in the
> future that's great, if not no hard feelings.
OK.
> With that being said, is there another area of the project that
> would be beneficial for me to look at? I've seen various mentions of
> the ECMAScript front-end but not sure what is needed there. Other
> bugs? Desired libraries?
First it needs to be fixed within the next few weeks because it fails to
compile even simple expressions (see ‘ecmascript.test’). But maybe
that’s on Andy’s to-do list? :-)
Then my guess is that it mostly needs applications and use cases, which
in turn may lead to specific requirements such as additional libraries.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Hosting for Guile-PHP
2010-04-14 9:00 ` Ludovic Courtès
@ 2010-04-14 19:12 ` Andy Wingo
2010-04-14 20:11 ` Jon Herron
2010-04-14 20:17 ` Ludovic Courtès
0 siblings, 2 replies; 11+ messages in thread
From: Andy Wingo @ 2010-04-14 19:12 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guile-devel
Hi Jon,
On Wed 14 Apr 2010 11:00, ludo@gnu.org (Ludovic Courtès) writes:
> Jon Herron <jon.herron@yahoo.com> writes:
>
>> Sure, that sounds fine to me. I definitely understand wanting to
>> promote Scheme over PHP from a GNU point of view, for me personally I
>> have to use PHP at work and any potential chance to slide some Scheme
>> in the mix would be welcome (to me at least).
>
> Yeah, I think that’s typically something that people choosing to use
> Guile-PHP would enjoy.
That's true, though a lot of people like programming in PHP. If we were
to give them something valuable, that would be nice from a
distributed-and-sandboxed-web-services point of view ;-)
>> I chose Guile as my Scheme implementation mainly due to the compiler
>> tower, example language implementations and mention of a PHP
>> translator under the cool ideas section. I understand this was not a
>> firm desire, nor guarantee of acceptance on the projects behalf. I
>> have not regretted my decision to use Guile one bit, and plan to
>> continue Guile-PHP as time permits. If a merge is beneficial in the
>> future that's great, if not no hard feelings.
>
> OK.
I don't recall, did we answer your question about hosting? (Sorry, I've
been spotty these last few days.) We talked about it and thought that
implementing PHP could get quite large, so an external project would be
better. Have you contacted savannah to set up a project?
>> With that being said, is there another area of the project that
>> would be beneficial for me to look at? I've seen various mentions of
>> the ECMAScript front-end but not sure what is needed there. Other
>> bugs? Desired libraries?
>
> First it needs to be fixed within the next few weeks because it fails to
> compile even simple expressions (see ‘ecmascript.test’). But maybe
> that’s on Andy’s to-do list? :-)
Ahem ;) Are you presuming to add items to _my_ to-do list? ;-)
I would like to finish implementing the spec. Mostly it's the library
that's left to do, but there are some syntactic bits too.
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Hosting for Guile-PHP
2010-04-14 19:12 ` Andy Wingo
@ 2010-04-14 20:11 ` Jon Herron
2010-04-14 20:17 ` Ludovic Courtès
1 sibling, 0 replies; 11+ messages in thread
From: Jon Herron @ 2010-04-14 20:11 UTC (permalink / raw)
To: Andy Wingo, Ludovic Courtès; +Cc: guile-devel
Andy -
I did get in contact with Savannah last night and put in a new project request, which is still pending. Hopefully that won't take too long though.
Thanks,
Jon
----- Original Message ----
From: Andy Wingo <wingo@pobox.com>
To: Ludovic Courtès <ludo@gnu.org>
Cc: Jon Herron <jon.herron@yahoo.com>; guile-devel@gnu.org
Sent: Wed, April 14, 2010 3:12:47 PM
Subject: Re: Hosting for Guile-PHP
Hi Jon,
On Wed 14 Apr 2010 11:00, ludo@gnu.org (Ludovic Courtès) writes:
> Jon Herron <jon.herron@yahoo.com> writes:
>
>> Sure, that sounds fine to me. I definitely understand wanting to
>> promote Scheme over PHP from a GNU point of view, for me personally I
>> have to use PHP at work and any potential chance to slide some Scheme
>> in the mix would be welcome (to me at least).
>
> Yeah, I think that’s typically something that people choosing to use
> Guile-PHP would enjoy.
That's true, though a lot of people like programming in PHP. If we were
to give them something valuable, that would be nice from a
distributed-and-sandboxed-web-services point of view ;-)
>> I chose Guile as my Scheme implementation mainly due to the compiler
>> tower, example language implementations and mention of a PHP
>> translator under the cool ideas section. I understand this was not a
>> firm desire, nor guarantee of acceptance on the projects behalf. I
>> have not regretted my decision to use Guile one bit, and plan to
>> continue Guile-PHP as time permits. If a merge is beneficial in the
>> future that's great, if not no hard feelings.
>
> OK.
I don't recall, did we answer your question about hosting? (Sorry, I've
been spotty these last few days.) We talked about it and thought that
implementing PHP could get quite large, so an external project would be
better. Have you contacted savannah to set up a project?
>> With that being said, is there another area of the project that
>> would be beneficial for me to look at? I've seen various mentions of
>> the ECMAScript front-end but not sure what is needed there. Other
>> bugs? Desired libraries?
>
> First it needs to be fixed within the next few weeks because it fails to
> compile even simple expressions (see ‘ecmascript.test’). But maybe
> that’s on Andy’s to-do list? :-)
Ahem ;) Are you presuming to add items to _my_ to-do list? ;-)
I would like to finish implementing the spec. Mostly it's the library
that's left to do, but there are some syntactic bits too.
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Hosting for Guile-PHP
2010-04-14 19:12 ` Andy Wingo
2010-04-14 20:11 ` Jon Herron
@ 2010-04-14 20:17 ` Ludovic Courtès
1 sibling, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2010-04-14 20:17 UTC (permalink / raw)
To: Andy Wingo; +Cc: guile-devel
Hello!
Andy Wingo <wingo@pobox.com> writes:
> On Wed 14 Apr 2010 11:00, ludo@gnu.org (Ludovic Courtès) writes:
[...]
>> First it needs to be fixed within the next few weeks because it fails to
>> compile even simple expressions (see ‘ecmascript.test’). But maybe
>> that’s on Andy’s to-do list? :-)
>
> Ahem ;) Are you presuming to add items to _my_ to-do list? ;-)
No, not at all! I’m presuming it’s /already/ on your list. :-)
Ludo’.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Hosting for Guile-PHP
2010-04-13 2:04 Hosting for Guile-PHP Jon Herron
2010-04-13 2:32 ` No Itisnt
2010-04-13 21:12 ` Ludovic Courtès
@ 2010-07-22 16:18 ` Andy Wingo
2010-07-23 14:04 ` Jon Herron
2 siblings, 1 reply; 11+ messages in thread
From: Andy Wingo @ 2010-07-22 16:18 UTC (permalink / raw)
To: Jon Herron; +Cc: guile-devel
Hi Jon,
What is the status of Guile-PHP? Did you manage to set up a savannah
project?
It sounds like quite an interesting project :)
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Hosting for Guile-PHP
2010-07-22 16:18 ` Andy Wingo
@ 2010-07-23 14:04 ` Jon Herron
0 siblings, 0 replies; 11+ messages in thread
From: Jon Herron @ 2010-07-23 14:04 UTC (permalink / raw)
To: Andy Wingo; +Cc: guile-devel
Andy -
Hey, good to hear from you. I did get a project registered, but it's been
going on two months now since my last commit. I got pretty far with base
language support, no OOP yet, I'm pretty sure I needed to wrap up string
interpolation and type hinting as well. What actually ended up happening was I
got so fed up with PHP as a language I lost motivation to continue working on
the project. There are so many crappy nuances with that language it is
ridiculous.If there is anyone out there who would care to hack away on Guile-PHP
some I would be more than happy to grant commit access and provide input if
needed.
Project - http://savannah.nongnu.org/projects/guile-php
Git Web - http://git.savannah.gnu.org/cgit/guile-php.git
I have started to prototype another project (using Guile), that has proved to
be much more interesting to me - and hopefully more beneficial to a broad
audience as well. Ideally I'd like to register that on Savannah and release it
over the next couple months. More on that soon I hope.
Seems like GSOC projects and the 2.0 work is going well, congrats to
everyone. I personally can't wait for 2.0 to get released.
Jon
----- Original Message ----
From: Andy Wingo <wingo@pobox.com>
To: Jon Herron <jon.herron@yahoo.com>
Cc: guile-devel@gnu.org
Sent: Thu, July 22, 2010 12:18:29 PM
Subject: Re: Hosting for Guile-PHP
Hi Jon,
What is the status of Guile-PHP? Did you manage to set up a savannah
project?
It sounds like quite an interesting project :)
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-07-23 14:04 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-13 2:04 Hosting for Guile-PHP Jon Herron
2010-04-13 2:32 ` No Itisnt
2010-04-13 2:43 ` Jon Herron
2010-04-13 21:12 ` Ludovic Courtès
2010-04-14 1:37 ` Jon Herron
2010-04-14 9:00 ` Ludovic Courtès
2010-04-14 19:12 ` Andy Wingo
2010-04-14 20:11 ` Jon Herron
2010-04-14 20:17 ` Ludovic Courtès
2010-07-22 16:18 ` Andy Wingo
2010-07-23 14:04 ` Jon Herron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).