Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Perl / Modules / July 2008



Tip: Looking for answers? Try searching our database.

Port to PyConstructs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Shmuel Fomberg - 30 Jun 2008 18:49 GMT
Hi All.

I'm writing a port to PyConstructs. website of the original:
http://construct.wikispaces.com/

In short, it's a library that parse binary structs. It can parse
complicate things like TCP headers, compressed files and image formats.
A good name is needed. I thought about Parse::Binary, Struct::Construct
or something alike.

Help?
Shmuel.
Jonathan Rockway - 02 Jul 2008 17:27 GMT
> Hi All.
>
[quoted text clipped - 6 lines]
> A good name is needed. I thought about Parse::Binary,
> Struct::Construct or something alike.

I can't think of a good name right now, but the Data:: namespace may
also be appropriate.

Regards,
Jonathan Rockway

Signature

print just => another => perl => hacker => if $,=$"

Austin Schutz - 03 Jul 2008 18:12 GMT
> > Hi All.
> >
[quoted text clipped - 6 lines]
> > A good name is needed. I thought about Parse::Binary,
> > Struct::Construct or something alike.

    If you are trying to port PyConstructs I would definitely leave
Construct(s) as part of the name.

    Austin
Shmuel Fomberg - 09 Jul 2008 19:26 GMT
> I'm writing a port to PyConstructs. website of the original:
> http://construct.wikispaces.com/
[quoted text clipped - 3 lines]
> A good name is needed. I thought about Parse::Binary, Struct::Construct
> or something alike.

I decided to call it Data::ParseBinary. reasonable?

Shmuel.
Shlomi Fish - 12 Jul 2008 07:50 GMT
Hi!

> > I'm writing a port to PyConstructs. website of the original:
> > http://construct.wikispaces.com/
[quoted text clipped - 5 lines]
>
> I decided to call it Data::ParseBinary. reasonable?

Sounds good. A rose by any other name, etc.

Just mention that it was inspired by PyConstruct somewhere visible.

Note that Alan Haggai Alavi could really use it for his Archive::Zip work on
this grant -
http://news.perlfoundation.org/2008/05/2008q2_grant_proposal_fixing_b.html
so releasing it as soon as possible would be prefarable.

Regards,

    Shlomi Fish (who wonders why so many discussions here have to be about "How
should I name this module?")

-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
My Aphorisms - http://www.shlomifish.org/humour.html

I met a guy in the bar, talked to her and she gave me her phone number.
Shmuel Fomberg - 12 Jul 2008 22:41 GMT
>>> I'm writing a port to PyConstructs. website of the original:
>>> http://construct.wikispaces.com/
>> I decided to call it Data::ParseBinary. reasonable?

> Sounds good. A rose by any other name, etc.

Well, Parse::Binary is already taken. There are actually a number of
binary struct parser on CPAN, just not quite the same... :-)

> Just mention that it was inspired by PyConstruct somewhere visible.

Of course.

> Note that Alan Haggai Alavi could really use it for his Archive::Zip work on
> this grant -
> http://news.perlfoundation.org/2008/05/2008q2_grant_proposal_fixing_b.html
> so releasing it as soon as possible would be prefarable.

Well, He should use the original Python version. That's because he is
using it as a point-of-reference, and it's better to use a well tested
package with known ZIP implementation, instead of a new package.

>     Shlomi Fish (who wonders why so many discussions here have to be about "How
> should I name this module?")

Because it's a difficult question. (or obvious. depends) And it's the
right place to ask.

Shmuel.
Shlomi Fish - 13 Jul 2008 10:05 GMT
> >>> I'm writing a port to PyConstructs. website of the original:
> >>> http://construct.wikispaces.com/
[quoted text clipped - 5 lines]
> Well, Parse::Binary is already taken. There are actually a number of
> binary struct parser on CPAN, just not quite the same... :-)

I see. :-)

Maybe it will become as worse as Config::* ... or hopefully not.

> > Just mention that it was inspired by PyConstruct somewhere visible.
>
> Of course.

Cool.

> > Note that Alan Haggai Alavi could really use it for his Archive::Zip work
> > on this grant -
[quoted text clipped - 4 lines]
> using it as a point-of-reference, and it's better to use a well tested
> package with known ZIP implementation, instead of a new package.

Last time I checked PyConstruct did not have any ZIP implementation. And using
your port will allow us to possibly use it inside the Archive::Zip test
suite.

> >     Shlomi Fish (who wonders why so many discussions here have to be about
> > "How should I name this module?")
>
> Because it's a difficult question. (or obvious. depends) And it's the
> right place to ask.

OK. But like Shakespeare said "A Rose by any other name will smell just as
sweet.". But I guess it's OK.

Regards,

    Shlomi Fish (who released Docmake whose distribution name is
http://search.cpan.org/dist/App-XML-DocBook-Builder/ to help avoid namespace
proliferation.)

-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Interview with Ben Collins-Sussman - http://xrl.us/bjn8s

I met a guy in the bar, talked to her and she gave me her phone number.
David Nicol - 14 Jul 2008 18:38 GMT
> > > http://construct.wikispaces.com/
>
> > In short, it's a library that parse binary structs.

Cool!
http://dev.perl.org/perl6/rfc/122.html
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.