Newsgroups: comp.lang.lisp, comp.lang.scheme, comp.emacs
From: Xah Lee <xah...@gmail.com>
Date: Sun, 8 Feb 2009 23:59:04 -0800 (PST)
Local: Mon, Feb 9 2009 2:59 am
Subject: Re: Pretty printing sexps
On Feb 8, 1:45 pm, Jason Nielsen <j...@math.carleton.ca> wrote:
> I have a program that is parsing input and emitting sexps (a subset of • A Simple Lisp Code Formatter > common lisp). I can get this program to dump the output as one long > string of sexps but that isn't a format that makes it easy to see any > problems with my parser. Is there an easy way to pretty print lisp code > in this format (one big ass long string) into something readable? I was > thinking something along the lines of GNU indent for C. > Thanks, http://xahlee.org/emacs/lisp_formatter.html just this month, i tried to “hire” Andy to do it. Here's the result: http://www.emacswiki.org/emacs/ElispFormat the code is 1k lines but it's rather in beta stage, and it is tested I was offering a cheap “thank you” money of $15 (USD) for the work. If you would write to him, possibly he might pick it up. And if you In my opinion, a mechanical lisp formatter is extremely important. Common Lisp, and perhaps Scheme lisp, has some facility to read lisp If you search back, in 2008 or 2007 there are at least 2 biggist (spent 10 min to google group seach but failed. Apparently google Xah ☄ You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||