#
7da16f1d |
|
13-Mar-2018 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Now up to type pretty-printing
|
#
3a4d44d4 |
|
22-Sep-2009 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Link the type pretty-printer to the PPBackEnd infrastructure. In Emacs, types are printed in italics, with tooltips indicating the real nature of the underlying thing (type abbreviations supported).
|
#
2f5f5719 |
|
28-Aug-2007 |
Anthony Fox <anthony.fox@cl.cam.ac.uk> |
Turns off bracket syntax for array types when using EmitML.
|
#
1f327341 |
|
01-Feb-2007 |
Anthony Fox <anthony.fox@cl.cam.ac.uk> |
Added a substitute operation :+ for FCPs. Also made EmitML work with numeric types e.g. ``:2`` gets the ML type "unit bit0".
|
#
e62fa301 |
|
23-Aug-2001 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Implementation of "parse only" type abbreviations. The main function to use is type_abbrev : (string * hol_type) -> unit If the hol_type has type variables in it, then these become parameters to the string, making it an abbreviation for a type operator. E.g., type_abbrev("set", ``:'a -> bool``) allows you to write ``:num set``. No attempt to pretty-print types in accordance with stored abbreviations, so the system will spit back ``:num -> bool`` in response to this. (Hey, if it's good enough for Moscow ML, it's good enough for us.) Also split off type_grammars into their own source module.
|
#
67cbea0e |
|
10-Feb-2001 |
Konrad Slind <konrad.slind@gmail.com> |
Support for new representation of strings.Minor changes.
|
#
6022d7ab |
|
17-Aug-1999 |
Michael Norrish <Michael.Norrish@nicta.com.au> |
Added .sig file to type_pp. Fixed bug which was pretty-printing :(bool |-> bool) |-> bool without any parentheses. Removed some spurious reference variables from term_pp.
|