History log of /seL4-l4v-10.1.1/HOL4/src/TeX/selftest.sml
Revision Date Author Comments
# a8fbc262 25-Mar-2018 Michael Norrish <Michael.Norrish@nicta.com.au>

Fix TeX code to compile- some tests still not passing


# 07a6bbe9 19-Jan-2017 Michael Norrish <Michael.Norrish@nicta.com.au>

Provide a compact datatype printing option for \HOLthm

With test-case and brief description in DESCRIPTION.

Closes #372


# 744f9a3b 21-Apr-2016 Michael Norrish <Michael.Norrish@nicta.com.au>

Fix many selftests to have prettier output


# bb7cb430 05-Nov-2014 Michael Norrish <michael.norrish@nicta.com.au>

Const annotation in the pretty-printer wasn't happening for binders.


# a17923a0 05-Nov-2014 Michael Norrish <michael.norrish@nicta.com.au>

Fix a horrid bug in removing rules from grammars.

Sense of a test was inverted when working over a grammar's binders.


# d2d3cc44 02-Nov-2014 Michael Norrish <michael.norrish@nicta.com.au>

Pretty-printer now annotates consts with their real names and types.

In "complicated" overload situations, such as the overloads for NOTIN
and <>, the annotation can't point to a "real" underlying constant,
but does still provide the type for the emacs tool-tips.

In passing, also create a new annotation form, the SymConst as well as
the Const. This is done for the TeX backend's benefit, so that it can
avoid treating things like + the same as normal identifiers. This
works well for math-mode munging where you want "+" to map to $+$, but
want "INSERT" to map to \textsf{INSERT}.

Closes #39


# a550d807 31-Mar-2014 Michael Norrish <michael.norrish@nicta.com.au>

Make EmitTeX's printer do the right thing with type abbreviations


# 1032a64e 14-Jan-2014 Michael Norrish <michael.norrish@nicta.com.au>

Fiddle with datatype printing in TeX (with selftest of sorts)


# 6d93cb98 18-Jan-2013 Michael Norrish <Michael.Norrish@nicta.com.au>

Adjust TeX selftest to cope with desired change in bd4bf27aabb209


# b5760236 15-Jan-2013 Michael Norrish <Michael.Norrish@nicta.com.au>

Make constant annotations appear in more places when pretty-printing.

This affects the TeX selftests, which now see those \HOLConst
annotations (as desired).


# 0bbd2a7e 21-Jun-2011 Michael Norrish <Michael.Norrish@nicta.com.au>

Rename TruePrefix to Prefix; use fixity options with NONE for what was Prefix.

90+% of this work was done by Ramana Kumar. The following list are
the commits for a series of individual commits that have been squished
into one big change:
* remove mention of TruePrefix from the add_rule docfile
* first batch of changes removing TruePrefix from src/parse
* replace TruePrefix by Prefix in boolScript.sml
* remove TruePrefix from Rsyntax
is a fixity ever required for new_specification?
* some more Prefix -> NONE and TruePrefix -> Prefix in theories
* TruePrefix changes for datatype
* TruePrefix changes for res_quan
* TruePrefix->Prefix in a TeX selftest
* TruePrefix changes for quotient
* TruePrefix changes for integer and real
* fix quotient examples for TruePrefix removal
* more fixes for quotient examples
* fixes for lambda example for TruePrefix removal
* Reword description manual in light of removal of TruePrefix.
* Fix msgTheory quotient example; Poly 5.3 had problems with monotypes.
* Fixes for files in examples/lambda given removal of TruePrefix.
* Fix in examples/unification given removal of TruePrefix.
* Fix in examples/HolCheck given removal of TruePrefix.
* Fixes in examples/acl2 given removal of TruePrefix.


# 4c457e31 17-Feb-2011 Michael Norrish <Michael.Norrish@nicta.com.au>

Add another EmitTeX UNIV pretty-printing test.


# 431cd9d6 17-Feb-2011 Michael Norrish <Michael.Norrish@nicta.com.au>

EmitTeX test failed under mosml because it ran in a ctxt w/out sets.

By putting open bossLib at the top of the file, we ensure that sets are
loaded. Under Poly/ML the selftest was running with the full hol
image, which implicitly gives you a context where bossLib is already
loaded.


# 8fd0e2fb 16-Feb-2011 Michael Norrish <Michael.Norrish@nicta.com.au>

Test a couple of instances of UNIV-printing in TeX.

These pass thanks to 45d91cfc013ef.


# 8bc3199e 27-Jan-2011 Michael Norrish <Michael.Norrish@nicta.com.au>

Modify EmitTeX to allow for 'dollarised' printing without parens.

This means that an infix symbol can be printed without any decoration at
all, which might be useful. Default behaviour, as before, is to use
parentheses to protect the bare sugar-symbols.


# 93a02768 27-Jan-2011 Michael Norrish <Michael.Norrish@nicta.com.au>

Modify printing of $if test to reflect insertion of HOLKeyword macro.


# 289f0597 27-Jan-2011 Michael Norrish <Michael.Norrish@nicta.com.au>

A couple of (failing) tests of the munger's printing of dollared syntax.


# c20c86ac 06-Jan-2011 Michael Norrish <Michael.Norrish@nicta.com.au>

Tidy up src/Tex's selftest.


# d037af2f 06-Jan-2011 Ramana Kumar <ramana.kumar@gmail.com>

Some selftests for EmitTeX, particularly overrides

The tests on constants and tokens fail with the recent changes to
pretty-printing. However, they succeed in revision 8827.
I'm mostly sure they adhere to the intended semantics of overrides.