diff options
| author | Guillaume Melquiond | 2015-07-29 18:38:27 +0200 |
|---|---|---|
| committer | Guillaume Melquiond | 2015-07-29 18:46:40 +0200 |
| commit | 8506a4d60417ce498ce4525de044a6a590a5e922 (patch) | |
| tree | 77010be47732775c1beedd997304e8e829e18528 /doc/tutorial | |
| parent | c487e02b0b8bffbe3135d7024f25d03a2f5f1af4 (diff) | |
Rewrite the main loop of coq-tex.
Before this commit, coq-tex was reading the .v file and was guessing how
many lines from the coqtop output it should display. Now, it reads the
coqtop output and it guesses how many lines from the .v file it should
display. That way, coq-tex no longer needs to embed a parser; it relies
on coqtop for parsing.
This is much more robust and makes it possible to properly handle script
such as the following one:
Goal { True }
+ { False }.
{ left. exact I. }
As before, if there is a way for a script to produce something that looks
like a prompt (that is, a line that starts with "foo < "), coq-tex will be
badly confused.
Diffstat (limited to 'doc/tutorial')
0 files changed, 0 insertions, 0 deletions
