Subject: Re: Practical encoding / decoding of text format
From: (Rob Warnock)
Date: Sun, 10 Feb 2008 05:43:27 -0600
Newsgroups: comp.lang.lisp
Message-ID: <>
<> wrote:
| I need to develop a prototype of an application which, among other,
| encode and decode SIP messages (RFC 3261
| The definitions are given in a ABNF format, but I do not necessarily
| needs a direct translation from ABNF to classes
| Lisp have many alternatives to do that, starting from develop a parser
| from scratch or use ready made packages.
| I'm looking for the practical, quickest solution I can find.

Since, as RFC 3261 says, SIP Request and Response messages "use the
basic format of RFC 2822", and since "Except for the above difference
in character sets, much of SIP's message and header field syntax
is identical to HTTP/1.1", I'd start with any old Lisp library you
have handy which knows how to read mail or HTTP headers -- especially
mail headers, since there are things in SIP that closely resemble
email addresses -- then tweak it for the syntactic differences of SIP.

Some possible places to start looking:


Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607