'Indent' for Oz Programs?

Leif Kornstaedt kornstae at ps.uni-sb.de
Wed Jul 31 11:15:19 CEST 2002


twoonkio at dso.org.sg (Tan Woon Kiong) writes:
> Background: I am writing a program that needs to generate some Oz codes
> for intermediate processing. I find it hard to read and validate the
> generated Oz code. But I don't not want to spend too much time on
> generating  Oz codes with proper indentations. I would rather rely on a
> specialized indentation toolkit. Such a toolkit should be able to do a
> much better job anyway.

You could just try generating code with enough (well-placed)
newlines so that you could use the automatic indentation
provided by the Emacs Oz mode.  You can also invoke Emacs
in batch mode to do that by the way.

Leif
-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.





More information about the mozart-users mailing list