Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

ANN: P4D 1.2

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


kay.schluehr at gmx

Aug 9, 2008, 1:38 AM

Post #1 of 6 (416 views)
Permalink
ANN: P4D 1.2

P4D = E4X style embedded DSL for Python but without E and X.

The main feature of P4D 1.2 are *Bytelets*. While the primary purpose
of P4D 1.1 was the support textual data which can be considered as
isomorphic to XML the new release is focussed on binary data. Bytelets
are P4D objects that are assembled from hexcode which is reified as a
Hex object. Bytelets can also be serialized as Hex objects which makes
them apt for low level communication. Bytelets can be used to parse
hexcode into other Bytelets of the same structure and Bytelets can be
cloned like object prototypes which makes it easy to produce sequences
of variations of one Bytelet ( usually you do not derive from a
Bytelet but modify a prototype ).

For more information see:

http://pypi.python.org/pypi/P4D
http://www.fiber-space.de
http://www.fiber-space.de/EasyExtend/doc/p4d/bytelets.html

--
http://mail.python.org/mailman/listinfo/python-list


gh at ghaering

Aug 11, 2008, 2:41 AM

Post #2 of 6 (365 views)
Permalink
Re: ANN: P4D 1.2 [In reply to]

Kay Schluehr wrote:
> P4D = E4X style embedded DSL for Python but without E and X.
> The main feature of P4D 1.2 are *Bytelets*. While the primary purpose
> of P4D 1.1 was the support textual data which can be considered as
> isomorphic to XML the new release is focussed on binary data. Bytelets
> are P4D objects that are assembled from hexcode which is reified as a
> Hex object. [...]

I am not supposed to understand any of this, right?

-- Gerhard

--
http://mail.python.org/mailman/listinfo/python-list


kay.schluehr at gmx

Aug 11, 2008, 9:43 AM

Post #3 of 6 (355 views)
Permalink
Re: ANN: P4D 1.2 [In reply to]

On 11 Aug., 11:41, Gerhard Häring <g...@ghaering.de> wrote:
> Kay Schluehr wrote:
> > P4D = E4X style embedded DSL for Python but without E and X.
> > The main feature of P4D 1.2 are *Bytelets*. While the primary purpose
> > of P4D 1.1 was the support textual data which can be considered as
> > isomorphic to XML the new release is focussed on binary data. Bytelets
> > are P4D objects that are assembled from hexcode which is reified as a
> > Hex object. [...]
>
> I am not supposed to understand any of this, right?
>
> -- Gerhard

Then forget this "Abstract" if it just produces noise and take a look
at the examples and testcases. I'll release P4D 1.3 soon and will
update the introduction written in the PyPI which might be helpful to
get a first impression.
--
http://mail.python.org/mailman/listinfo/python-list


unews at nospam

Aug 12, 2008, 1:50 AM

Post #4 of 6 (352 views)
Permalink
Re: ANN: P4D 1.2 [In reply to]

Kay Schluehr wrote:
> P4D = E4X style embedded DSL for Python but without E and X.
>
> The main feature of P4D 1.2 are *Bytelets*. While the primary purpose
> of P4D 1.1 was the support textual data which can be considered as
> isomorphic to XML the new release is focussed on binary data. Bytelets
> are P4D objects that are assembled from hexcode which is reified as a
> Hex object. Bytelets can also be serialized as Hex objects which makes
> them apt for low level communication. Bytelets can be used to parse
> hexcode into other Bytelets of the same structure and Bytelets can be
> cloned like object prototypes which makes it easy to produce sequences
> of variations of one Bytelet ( usually you do not derive from a
> Bytelet but modify a prototype ).
>
> For more information see:
>
> http://pypi.python.org/pypi/P4D
> http://www.fiber-space.de
> http://www.fiber-space.de/EasyExtend/doc/p4d/bytelets.html
>

That's a really bad name for the project as there is P4D (Python for
Delphi) already.
Maybe try to find a different naming to help distinguish your project
from other meanings.

Uwe
--
http://mail.python.org/mailman/listinfo/python-list


kay.schluehr at gmx

Aug 12, 2008, 3:54 AM

Post #5 of 6 (347 views)
Permalink
Re: ANN: P4D 1.2 [In reply to]

On 12 Aug., 10:50, Uwe Grauer <un...@nospam.onlinehome.de> wrote:
> Kay Schluehr wrote:
> > P4D = E4X style embedded DSL for Python but without E and X.
>
> > The main feature of P4D 1.2 are *Bytelets*. While the primary purpose
> > of P4D 1.1 was the support textual data which can be considered as
> > isomorphic to XML the new release is focussed on binary data. Bytelets
> > are P4D objects that are assembled from hexcode which is reified as a
> > Hex object. Bytelets can also be serialized as Hex objects which makes
> > them apt for low level communication. Bytelets can be used to parse
> > hexcode into other Bytelets of the same structure and Bytelets can be
> > cloned like object prototypes which makes it easy to produce sequences
> > of variations of one Bytelet ( usually you do not derive from a
> > Bytelet but modify a prototype ).
>
> > For more information see:
>
> >http://pypi.python.org/pypi/P4D
> >http://www.fiber-space.de
> >http://www.fiber-space.de/EasyExtend/doc/p4d/bytelets.html
>
> That's a really bad name for the project as there is P4D (Python for
> Delphi) already.
> Maybe try to find a different naming to help distinguish your project
> from other meanings.
>
> Uwe

Hmm... using three letter acronyms is a mess. Sorry for this
interference!

Actually "P4D" is not used innocently in the implementation code. It's
also a file extension, a prompt, an XML namespace prefix, a class name
etc. not just a project name and I'm not going to change all this.

I also don't think this is too critical when context has been
established but since the package is also distributed as "P4D" I'm
going to rename it into "P4D Langlet 1.3" in the next release and
adapt the URLs somewhat. I hope this helps avoiding confusion.

Kay
--
http://mail.python.org/mailman/listinfo/python-list


kay.schluehr at gmx

Aug 13, 2008, 1:49 PM

Post #6 of 6 (334 views)
Permalink
Re: ANN: P4D 1.2 [In reply to]

On 12 Aug., 12:54, Kay Schluehr <kay.schlu...@gmx.net> wrote:
> On 12 Aug., 10:50, Uwe Grauer <un...@nospam.onlinehome.de> wrote:
>
>
>
> > Kay Schluehr wrote:
> > > P4D = E4X style embedded DSL for Python but without E and X.
>
> > > The main feature of P4D 1.2 are *Bytelets*. While the primary purpose
> > > of P4D 1.1 was the support textual data which can be considered as
> > > isomorphic to XML the new release is focussed on binary data. Bytelets
> > > are P4D objects that are assembled from hexcode which is reified as a
> > > Hex object. Bytelets can also be serialized as Hex objects which makes
> > > them apt for low level communication. Bytelets can be used to parse
> > > hexcode into other Bytelets of the same structure and Bytelets can be
> > > cloned like object prototypes which makes it easy to produce sequences
> > > of variations of one Bytelet ( usually you do not derive from a
> > > Bytelet but modify a prototype ).
>
> > > For more information see:
>
> > >http://pypi.python.org/pypi/P4D
> > >http://www.fiber-space.de
> > >http://www.fiber-space.de/EasyExtend/doc/p4d/bytelets.html
>
> > That's a really bad name for the project as there is P4D (Python for
> > Delphi) already.
> > Maybe try to find a different naming to help distinguish your project
> > from other meanings.
>
> > Uwe
>
> Hmm... using three letter acronyms is a mess. Sorry for this
> interference!
>
> Actually "P4D" is not used innocently in the implementation code. It's
> also a file extension, a prompt, an XML namespace prefix, a class name
> etc. not just a project name and I'm not going to change all this.
>
> I also don't think this is too critical when context has been
> established but since the package is also distributed as "P4D" I'm
> going to rename it into "P4D Langlet 1.3" in the next release and
> adapt the URLs somewhat. I hope this helps avoiding confusion.
>
> Kay

Done. I removed the "P4D" project from PyPI and launched "P4D Langlet"
instead ( although in the version 1.2.2 not in 1.3 as mentioned
above).

Kay
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.