473,396 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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.../bytelets.html

Aug 9 '08 #1
5 1101
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

Aug 11 '08 #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.
Aug 11 '08 #3
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.../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
Aug 12 '08 #4
On 12 Aug., 10:50, Uwe Grauer <un...@nospam.onlinehome.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. 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.../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
Aug 12 '08 #5
On 12 Aug., 12:54, Kay Schluehr <kay.schlu...@gmx.netwrote:
On 12 Aug., 10:50, Uwe Grauer <un...@nospam.onlinehome.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. 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.../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
Aug 13 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John Hunter | last post by:
hashtar is a utility designed for encrypted archiving to media vulnerable to corruption (eg, CDR, DVDR). http://nitace.bsd.uchicago.edu:8080/hashtar Comments, bug reports, suggestions for...
1
by: Camilo Olarte | last post by:
If you ever need a calendar dialog in Tkinter , You can use mine: http://pythonical.sourceforge.net/pyTkCalendar.html Camilo Olarte
0
by: John Hunter | last post by:
matplotlib is a 2D plotting package for python with a matlab compatible syntax and output tested under linux and windows platforms. matplotlib-0.30 is available for download at...
0
by: Alexander DEJANOVSKI | last post by:
JyRetic 1.0RC3 was just released. (http://retic.sourceforge.net) Changes are (I might have forgotten some bug fixes): - Bug fix : Scheduled events didn't work if no parameter file was required...
0
by: ali moe at BerliOS | last post by:
4
by: Travis Stewart | last post by:
Hi, I am not very familiar with C++ so the problems I am having might be simple and I just cannot see them or I am totally unaware of why something would be incorrect. Anyway, I'm using the ANN...
6
by: Chad Z. Hower aka Kudzu | last post by:
I debated over whether or not to post this on the .ann group or not. Its not an announcement as I am really looking for feedback only on the asp.net relative portions. This does of course require...
1
by: killet | last post by:
Hi, here is an information for the people who must develop programs with geodetic background and who asked me for a Englisch documentation of the geodetic functions included in GeoDLL. The DLL...
0
by: YellowFin Announcements | last post by:
Security solutions provider EXTOL MSC Berhad has developed a neural network predictive analysis engine and is now working with Australian business intelligence company Yellowfin to develop a front...
0
by: wesley chun | last post by:
*** FINAL REMINDER also, the course begins on monday immediately following the *free* CodeCamp conference http://siliconvalley-codecamp.com (click Program => Sessions to see all the talks)... 5...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.