[plt-scheme] Obtaining a readable ascii file from a .scm containing tests

From: Alexandre Bergel (bergel at iam.unibe.ch)
Date: Sat Oct 8 13:32:26 EDT 2005

Finally I rewrote all the test with a function assert I did.
Actually, having an ascii representation was not the issue. The  
boring thing was to rewrite the test....

Thanks for your help.

Alexandre


On Oct 8, 2005, at 3:04 PM, Robby Findler wrote:

> 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
>

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





Posted on the users mailing list.