PGE::Hs for Pugs PGE support
flag
3 messages - Collapse all
/groups/adfetch?adid=K2EyCBEAAAD5LEl-dHdJ_zXH17VH2H3CFSRgCP-avRN4YT0eROC0jw
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
1.  Autrijus Tang  
View profile  
 More options May 8 2005, 7:24 pm
Newsgroups: perl.perl6.internals
From: autri...@autrijus.org (Autrijus Tang)
Date: Mon, 9 May 2005 07:24:49 +0800
Local: Sun, May 8 2005 7:24 pm
Subject: [PATCH] PGE::Hs for Pugs PGE support

Greetings.  Attached is a patch that I'm currently using in Pugs's
bundled PGE.pbc, in order to make PGE output properly escaped strings,
in a format ready to be used form Haskell FFI.

I'd appreciate comments, and if it's okay to commit it back to the
PGE directory.

Thanks,
/Autrijus/

  pge-hs.patch
6K Download

  application_pgp-signature_part
< 1K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
2.  Patrick R. Michaud  
View profile  
 More options May 8 2005, 11:25 pm
Newsgroups: perl.perl6.internals
From: pmich...@pobox.com (Patrick R. Michaud)
Date: Sun, 8 May 2005 22:25:43 -0500
Local: Sun, May 8 2005 11:25 pm
Subject: Re: [PATCH] PGE::Hs for Pugs PGE support

On Mon, May 09, 2005 at 07:24:49AM +0800, Autrijus Tang wrote:
> Greetings.  Attached is a patch that I'm currently using in Pugs's
> bundled PGE.pbc, in order to make PGE output properly escaped strings,
> in a format ready to be used form Haskell FFI.

> I'd appreciate comments, and if it's okay to commit it back to the
> PGE directory.

Can it remain as a separate module from PGE -- say, in
runtime/parrot/library/PGE/Hs.pir, rather than integrating it
directly into PGE.pbc?  I don't have a big problem with adding
it to PGE.pbc if there's a good reason for doing it, but I'm trying
to keep the PGE core itself fairly lean and then use modules to
load in language-specific features.  Even the expression dumper
is in a separate file (runtime/parrot/library/PGE/Dumper.pir).

Also, I'm not committed to PGE's current match."dump" format;
if the Haskell format makes more sense then perhaps we can
adopt it as the default.  (I haven't tried it out yet to see
what it produces.)

If you really need it integrated with PGE itself we can do
that.

Pm


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
3.  Autrijus Tang  
View profile  
 More options May 10 2005, 12:19 am
Newsgroups: perl.perl6.internals
From: autri...@autrijus.org (Autrijus Tang)
Date: Tue, 10 May 2005 12:19:58 +0800
Local: Tues, May 10 2005 12:19 am
Subject: Re: [PATCH] PGE::Hs for Pugs PGE support

On Sun, May 08, 2005 at 10:25:43PM -0500, Patrick R. Michaud wrote:
> On Mon, May 09, 2005 at 07:24:49AM +0800, Autrijus Tang wrote:
> > Greetings.  Attached is a patch that I'm currently using in Pugs's
> > bundled PGE.pbc, in order to make PGE output properly escaped strings,
> > in a format ready to be used form Haskell FFI.

> > I'd appreciate comments, and if it's okay to commit it back to the
> > PGE directory.

> Can it remain as a separate module from PGE -- say, in
> runtime/parrot/library/PGE/Hs.pir, rather than integrating it
> directly into PGE.pbc?  I don't have a big problem with adding
> it to PGE.pbc if there's a good reason for doing it, but I'm trying
> to keep the PGE core itself fairly lean and then use modules to
> load in language-specific features.

Done as such.  PGE-Hs.pbc now has to be built by hand, and the
default PGE.pbc no longer contains Hs.pir code.

Pugs will bundle PGE-Hs.pbc with it; it is good that parrot
won't built PGE-Hs.pbc by default, since that avoids version
clash (as parrot searches into library/ first, not ./).

Thanks!
/Autrijus/

  application_pgp-signature_part
< 1K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google