[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Auto-formatter for scheme?
From: |
Mario Domenech Goulart |
Subject: |
Re: [Chicken-users] Auto-formatter for scheme? |
Date: |
Fri, 03 Jun 2011 07:00:46 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
Hi John,
On Thu, 2 Jun 2011 23:40:48 -0700 John Magolske <address@hidden> wrote:
> I'm looking for an auto-formatter, something like INDENT [1] or
> Artistic Style [2] that can handle scheme code. Does anyone know
> of such a tool? Maybe beautifier [3] ?
>
> [1] http://linux.die.net/man/1/indent
> [2] http://astyle.sourceforge.net/
> [3] http://freshmeat.net/projects/beautifier/
>
> Thanks for any suggestions,
Probably not exactly what you want, but you can use emacs for
indentation. Here's an example:
$ emacs -Q --batch --file your-scheme-file.scm \
--eval '(progn (indent-region (point-min) (point-max)) (save-buffer))'
Best wishes.
Mario
--
http://parenteses.org/mario