[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Scraping the REPL?

From: Hefferon, James S.
Subject: [Chicken-users] Scraping the REPL?
Date: Sat, 23 Jan 2016 11:29:46 +0000

I am writing a document that will include figures showing
interactions with the Chicken interpreter.  In past documents of
this kind, by-hand cutting and pasting has led me to have such
illustrations be inaccurate.  So I would like those to be
produced as part of the process of compiling the document (I am
writing in LaTeX).

Basically, I'd like to feed lines to the csi and then scrape the
entire REPL off screen, so I can collect it and include it in
the doc.

In the past I have done some scraping of this kind with a Python
script using an Expect module.  But it is a clunky process, with
problems of its own.

I see from the "Confirmed deviations" page that transcripts are
not implemented.  Before I launch what is really a kludge, can I
ask if I am missing some other option?  None of the eggs 
seemed to me to do this but maybe I missed some obvious point.
Something that drops the entire interaction to a file would be ideal.

Thank you for any help.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]