About Askemos · design notes · documentation · news · download · On CD · thanks · forum · support
AskemosDVM · FORTH · ProcessStep · XML

UBF

Universal Binary Format

A binary (better ;-) alternative" to XML. http://www.sics.se/~joe/ubf/site/home.html

Good description in paper http://www.erlang.se/workshop/2002/Armstrong.pdf

remarks on that paper

Architectur description in section 3 reveals that ubf also is based on the idea of checked ProcessStep's. As such ubf's contract checker can be understood as a special case of the 'function' producing the 'reply' element for AskemosDVM. The AskemosDVM is more general as 'function' a) also produces the new state and message and b) can create several messages at once.

ubf describes a consise data format and validation language. Both are stack based (highly similar to FORTH?).

future: it might be worth to add pure checking support (as suggested in http://www.softeyes.net:9080/~jerry/Askemos-NODe2002.pdf slide 15) for the AskemosDVM based on ubf.

Related quoting http://lambda.weblogs.com/discuss/msgReader$5185 : The Erlang Bit Syntax extends pattern matching to (de)constructing chunks of binary data, such as the bit-encoded headers in network protocols and file formats. It's an amazingly handy language extension.

The Bit Syntax is a standard part of Erlang now, though it doesn't have all the features of the prototype. For details see The Bit Syntax - The Released version, or Erlang Extensions since 4.4.

The binary-types package or Common Lisp implements a similar extension.





border
last modification: Tue, 18 Sep 2007 22:43:04 +0200
authors: hgm, jfw,
document identifier: A849640f672ed0df0958abc0712110f3c
delivered to public at Tue, 06 Jan 2009 08:35:14 +0100
short comments


rss

pdf :: context view

search



27 Dez 2008ProjectsOnThePlate
27 Dez 2008JKomG
27 Dez 2008SystemRequirements
27 Dez 2008SQLITE
26 Dez 2008FanOut
26 Dez 2008MIME
NetBSD
NOTE
02 Mai 2006AskemosTopMenu
18 Nov 2008StorageAdaptor
18 Nov 2008PStoreStorageAdapt
18 Nov 2008OperationTips
15 Nov 2008PCRE
04 Nov 2008ProgrammingLanguag
09 Sep 2008RelatedProjects
23 Jul 2008ModuleStructure05
17 Jun 2008NEWS
17 Jun 2008HTML
17 Jun 2008ACM
22 Mai 2008HTTP
22 Mai 2008BOSH
10 Mai 2008AskemosBibliograph
10 Mai 2008JerrysDreamAbstrac
20 Apr 2008XSLT
11 Mar 2008CodingStyle
10 Mar 2008
09 Mar 2008MIMEConverter
BSD
07 Mar 2008XML
06 Mar 2008SRFI
01 Mar 2008RFC4810
01 Mar 2008RFC4998
01 Mar 2008KondratieffWerk
04 Jan 2008service-level
04 Jan 2008NameSpaceDSSSLinde
24 Jun 2004KommunikationsInfr
BOINC






Add


About Askemos · design notes · documentation · news · download · On CD · thanks · forum · support
Web Design by Schwill Dresden