From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Corey Thomasson <cthom.lists@gmail.com>
Newsgroups: gmane.lisp.guile.user
Subject: json parser
Date: Thu, 1 Apr 2010 21:39:15 -0400
Message-ID: <n2y4754958d1004011839g6814044dm672d28c010dbbbfe@mail.gmail.com>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: dough.gmane.org 1270172370 24404 80.91.229.12 (2 Apr 2010 01:39:30 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Fri, 2 Apr 2010 01:39:30 +0000 (UTC)
To: guile-user@gnu.org
Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Apr 02 03:39:26 2010
Return-path: <guile-user-bounces+guile-user=m.gmane.org@gnu.org>
Envelope-to: guile-user@m.gmane.org
Original-Received: from lists.gnu.org ([199.232.76.165])
	by lo.gmane.org with esmtp (Exim 4.69)
	(envelope-from <guile-user-bounces+guile-user=m.gmane.org@gnu.org>)
	id 1NxVr3-0003qX-Ge
	for guile-user@m.gmane.org; Fri, 02 Apr 2010 03:39:25 +0200
Original-Received: from localhost ([127.0.0.1]:47618 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1NxVr2-000559-5E
	for guile-user@m.gmane.org; Thu, 01 Apr 2010 21:39:24 -0400
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NxVqy-000553-J5
	for guile-user@gnu.org; Thu, 01 Apr 2010 21:39:20 -0400
Original-Received: from [140.186.70.92] (port=52937 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1NxVqw-00054v-Da
	for guile-user@gnu.org; Thu, 01 Apr 2010 21:39:19 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <cthom.lists@gmail.com>) id 1NxVqv-0000eV-4R
	for guile-user@gnu.org; Thu, 01 Apr 2010 21:39:18 -0400
Original-Received: from mail-iw0-f202.google.com ([209.85.223.202]:40158)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <cthom.lists@gmail.com>) id 1NxVqv-0000eK-1J
	for guile-user@gnu.org; Thu, 01 Apr 2010 21:39:17 -0400
Original-Received: by iwn40 with SMTP id 40so1193703iwn.1
	for <guile-user@gnu.org>; Thu, 01 Apr 2010 18:39:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:date:received:message-id
	:subject:from:to:content-type;
	bh=9DLaWRF1Jupx0jqe9QQ3521EW5WdHGB8LTPccjNiR4E=;
	b=LsY9jlFsnz1KRHCmMFxGcFHhFnjAF4VXhSHj7z1JWH3bz5RbPzq+mbSSWmfcN5GAZx
	rYFzgornqwoaeiYfFJ/OR1qmRjqXtujektlTihnZJFqwVz4uLnOrGzacFO2QEjcmw4fl
	7F+/CEm9ZzmS1S1nwGCHUF3ZWePDk4K2633Qc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type;
	b=D3YEFaPKYEyzIC8ynSMgjitZYRReJw6Yxyxm5kGV5Qt3c212d9rLRQ7HG0PJ2FSa9c
	DQD+fRJGM3wiK4c/AGhGukYLhCAWDVssZWbdDVKykLPn1v5kMfK1ETX8nKtC/jUF82l1
	SRnyi3MSuWqbul4J2cTjAd6A/co4/v9KOQkSk=
Original-Received: by 10.231.145.13 with HTTP; Thu, 1 Apr 2010 18:39:15 -0700 (PDT)
Original-Received: by 10.231.159.207 with SMTP id k15mr525840ibx.52.1270172355695; Thu, 
	01 Apr 2010 18:39:15 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-BeenThere: guile-user@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: General Guile related discussions <guile-user.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/guile-user>,
	<mailto:guile-user-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/guile-user>
List-Post: <mailto:guile-user@gnu.org>
List-Help: <mailto:guile-user-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/guile-user>,
	<mailto:guile-user-request@gnu.org?subject=subscribe>
Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org
Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.lisp.guile.user:7725
Archived-At: <http://permalink.gmane.org/gmane.lisp.guile.user/7725>

I'm new to scheme/guile, but I got tired of writing web pages in
php/html and started poking around my shared hosts /bin. Turns out
guile 1.8 is installed, so I got to hacking.

I couldn't find any json parsers that worked with guile, so I hacked
on together.

I don't know if it works with 1.9x, or how it could be improved
(though I'm positive it could), or how unidiomatic it is, so any
comment/advice/criticism/ridicule is welcome.

http://github.com/cthom06/guile-json