[plt-scheme] Obtaining a readable ascii file from a .scm containing tests
I'm not sure what need you have for this, but if all you want to do is
manipulate the text programmatically, you can do that without creating
an ASCII file. You should be able to do something like this:
(define t (new text%))
(send t load-file ...filename...)
and then manipulate t, for example, telling it to save itself as ASCII,
or perhaps just iterating over the content directly for some reason or
the other.
What is the larger context?
Robby
At Sat, 8 Oct 2005 12:08:15 +0200, Alexandre Bergel wrote:
> Hello,
>
> Is there an automatic way of having a readable ascii file from a .scm
> that contains a lot of tests ?
> I could do it manually, by defining myself a function assert, and
> then rewrite all the test, but this is boring...
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.iam.unibe.ch/~bergel
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme