ANN: P4D 1.2

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kay Schluehr

    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:





  • =?ISO-8859-1?Q?Gerhard_H=E4ring?=

    #2
    Re: ANN: P4D 1.2

    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

    Comment

    • Kay Schluehr

      #3
      Re: ANN: P4D 1.2

      On 11 Aug., 11:41, Gerhard Häring <g...@ghaering. dewrote:
      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.

      Comment

      • Uwe Grauer

        #4
        Re: ANN: P4D 1.2

        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:
        >



        >
        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

        Comment

        • Kay Schluehr

          #5
          Re: ANN: P4D 1.2

          On 12 Aug., 10:50, Uwe Grauer <un...@nospam.o nlinehome.dewro te:
          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:
          >>
          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

          Comment

          • Kay Schluehr

            #6
            Re: ANN: P4D 1.2

            On 12 Aug., 12:54, Kay Schluehr <kay.schlu...@g mx.netwrote:
            On 12 Aug., 10:50, Uwe Grauer <un...@nospam.o nlinehome.dewro te:
            >
            >
            >
            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:
            >>
            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

            Comment

            Working...