Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Construct 2.00

    Download button

    Downloads: 415  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Excellent (5.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Tomer Filiba | More programs
    Public Domain / FREE
    January 13th, 2007, 09:35 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Construct description

    Construct is a python module for defining arbitrary data structures.

    Construct is a python module for defining arbitrary data structures. Once a data structure (aka, "construct") is defined, it can be used to both parse raw data into an object and build an object into raw data.

    Unlike most parsers, it works at the bit-level, so you don't need to worry about parsing individual bits or unaligned fields.

    Construct library supports Fields, Unions, Structs and Repeaters; Adapters and Validators; Switches, Pointers and other Meta -constructs.

    Here are some key features of "Construct":

    · Symmetrical -- constructs can be used to parse as well as to build
    · Bit-level -- can parse and build individual bits, not only bytes
    · Ready -- lots of predefined primitives and common protocols definitions, which you can easily use
    · Extensible -- you can easily write user-defined constructs by simply by subclassing
    · Fast -- benchmarks on my machine show ~160KB/sec can be parsed, fast enough for most situations, and perhaps pysco can improve that
    · Declarative -- no procedural code needed for most situations

    What's New in This Release:

    · Construct2 is a rewrite of the library, making it faster and much slimmer.
    · The library is now byte-oriented instead of bit-oriented, so it uses eight times less memory.
    · It can parse files directly from the disk.
    · Meta constructs now use lambda instead of eval.
    · Textual processing (context free grammar) was added.
    · On-demand parsing was added.
    · Thorough unit tests were added.
    · A full online tutorial is available.



    Product's homepage

      


    TAGS:

    python module | arbitrary data structures | defining data structures | Construct | python | module

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM