Main > Programming > Libraries >

libxnm 0.1.1

libxnm 0.1.1

Sponsored Links

libxnm 0.1.1 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.37 MB
Platform: Any Platform
License: LGPL (GNU Lesser General Public License)
Price:
Downloads: 1011
Date added: 2007-01-17
Publisher: Dov Grobgeld

libxnm 0.1.1 description

libxnm project is a library for parsing and retrieving data from the XNM file format.
The prevailing meta-format used today for serialization is XML. XML was originally written as a markup language, and as such its original intent was to add additional information to free flowing text.
This is indeed what is needed in the context of text markup, e.g. for a web page or a word processor program. But using XML for general purpose object serialization generates very verbose serialization that are way larger than necessary.
Another shortcoming of XML is that there still is no support for binary objects. This again is partly based in its markup roots.
Main features:
- Recursively defined.
- Map to the scalar/table/hash structures of perl/python/ruby
- Not limited by preexisting language formats (JSON).
- Short, consise, visually appealing. Low signal to noise.
- No need to quote keys or one word values.
- Support binary data.
- Tables are enclosed by { } , arrays by [ ].
Examples of XNM
The following example shows a simple program configuration file:
fontsize: 16
fonts: { roman: Sans
italic: "Sans Italic"
bold: "Sans bold"
}
path: ["/usr/bin" "/bin" "/usr/local/bin"]
Here is another example copied from the wikipedia json page:
firstName: John
lastName: Smith
address: {
city: "New York, NY"
zipCode: 10021
streetAddress: "21 2nd Street"
}
phoneNumbers: [
"212 732-1234"
"646 123-4567"
]
The main (only) differences to JSON are:
Single words dont need quotes
Commas are not used between key/value pairs
Here is a third example translated from the gaim prefs file:
core => {
away => {
idle_reporting=>system
away_when_idle=>0
mins_before_way=>10
auto_reply=>awayidle
report_idle=>1
}
buddies => {}
contact => {
last_match => 0
offline_score => 2
away_score => 2
idle_score => 1
}
gaim => {
gtk=> {
browsers=> {
place=>F
command=>"xterm -e lynx %s"
browser=>firefox
new_window=>F
}
plugins => [
/usr/lib/gaim/gaimrc.so
/usr/lib/gaim/ssl-nss.so
/usr/lib/gaim/ssl.so
]
}
}
}
Note that the separater character used between keys and values is => combination like in perl.

libxnm 0.1.1 Screenshot

Advertisements

libxnm 0.1.1 Keywords

Bookmark libxnm 0.1.1

Hyperlink code:
Link for forum:

libxnm 0.1.1 Copyright

WareSeeker periodically updates pricing and software information of libxnm 0.1.1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of libxnm 0.1.1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
JEXN project is a simple, yet powerful java class that can be added to any Java 1.3 or later application. Free Download
Elisa is a project to create a media center solution for GNU/Linux and Unix operating systems. Free Download
Goben project is a GUI for playing Go. Free Download
inidoc project is contributed with LayManSys and is used internally for documentating configuration files in a so-called INI. Free Download
Bare XML project is a XML parser with all primary parsing done via a simple state engine with about 20 or so different states. Free Download
Banteng is cross-platform, visual JavaScript IDE. Free Download
libsgml is a fast, lightweight state machine SGML parser capable of parsing HTML, XML. Free Download
sNibbles is a Snake/Nibbles game. Free Download