History log of /seL4-l4v-10.1.1/HOL4/tools/quote-filter/quote-filter.sml
Revision Date Author Comments
# 2ebe5e10 13-Sep-2017 Michael Norrish <Michael.Norrish@nicta.com.au>

Get Moscow ML build to work again


# 727911b7 11-Jul-2017 Michael Norrish <Michael.Norrish@nicta.com.au>

Fix interactive unquote to handle Control-C better

In particular, it's possible to interrupt a quotation parse, and not
then be stuck in the state of quotation-parsing for the rest of the
session.


# ff6bb4b0 10-Jul-2017 Michael Norrish <Michael.Norrish@nicta.com.au>

Make quotation handling more efficient

In particular, dependency analysis on files does not need to read the
entirety of the file into memory first.


# 99c47651 04-Jun-2017 Michael Norrish <Michael.Norrish@nicta.com.au>

Make Moscow ML dep. calculation unquote-free as well

This allows yet more pleasant refactoring (with the
FNameToUnquotedDeps module completely disappearing). Now there is a
generally useful QFRead module in tools/Holmake that allows the
quotation machinery to be applied to strings and files.

The quotation filter is still a "push" technology: it consumes
everything it can and outputs as it goes. (It does block if its input
stream blocks of course.) I think it would be nice to modify the
filter (now QuoteFilter in tools/Holmake) so that it was "pull", the
client getting to pull chunks of output a bit at a time.

Currently, the API supports "reader" operations of type unit -> char
option, and these look like pull operations, but these are pulls on a
buffer that has already been filled with as much output as possible.


# 5b30ce41 09-Jan-2016 Michael Norrish <Michael.Norrish@nicta.com.au>

Quote filter now outputs via user-provided fns

Previously it targeted a TextIO.outstream, only assuming output and
flush operations.


# e9d15b45 04-Feb-2015 Michael Norrish <michael.norrish@nicta.com.au>

Minor tidying in quotation filter code.


# a0df6625 29-Jun-2008 Michael Norrish <Michael.Norrish@nicta.com.au>

Copy across Scott's poly code for the quotation filter to
tools/quote-filter, and then modify it for Moscow ML, as a prelude to
getting rid of the tools-poly version entirely.


# 030d6d8a 21-Jul-2005 Michael Norrish <Michael.Norrish@nicta.com.au>

Bug fixes for this new implementation.


# 98a9dea0 21-Jul-2005 Michael Norrish <Michael.Norrish@nicta.com.au>

Revised the quotation filter to use mllex rather than mosmllex. This
should help with portability.


# a15245bb 19-Feb-2002 Michael Norrish <Michael.Norrish@nicta.com.au>

Implementation of the quote filter purely within Moscow ML. This works
just as well on Windows, and has the added advantage that if in the middle
of typing in something with delimiters (such as a term or a string), then
hitting control-c causes the pre-processor to forget that that's where you
were and just bounce you back to the default top-level state. Hopefully
this will mean an end to having to type random numbers of ` and "
characters in desperate attempts to have everything match up.


# ed815fac 13-Nov-2001 Michael Norrish <Michael.Norrish@nicta.com.au>

Source code for a Moscow ML quote filter. Compiles and runs fine, but
doesn't have the capability to ignore interrupts at the moment, making
it useless for our purposes.