History log of /seL4-l4v-master/l4v/isabelle/src/Pure/Isar/token.ML
Revision Date Author Comments
# d8c6845a 10-Mar-2019 wenzelm <none@none>

document markers are formal comments, and may thus occur anywhere in the command-span;
clarified Outer_Syntax.parse_span, Outer_Syntax.parse_text wrt. span structure;
tuned signature;


# aff971d7 01-Mar-2019 wenzelm <none@none>

clarified signature;
more thorough end_pos;


# c038c5d3 31-Jul-2018 wenzelm <none@none>

tuned signature;


# 2478148c 31-Jul-2018 wenzelm <none@none>

clarified ignored span / core range: include formal comments, e.g. relevant for error messages from antiquotations;


# e93ac125 27-May-2018 wenzelm <none@none>

markup for deleted fragments of token source (NB: quoted tokens transform "\123" implicitly);


# e742aaf0 14-May-2018 wenzelm <none@none>

adjust position according to offset of command/exec id;


# ab6b8b33 18-Feb-2018 wenzelm <none@none>

clarified signature;


# 50a86b69 25-Jan-2018 wenzelm <none@none>

clarified signature;


# 3e536390 25-Jan-2018 wenzelm <none@none>

tuned message;


# bee2208a 24-Jan-2018 wenzelm <none@none>

clarified operations;


# 9fd00843 24-Jan-2018 wenzelm <none@none>

tuned signature: removed unused operations;


# 702ea3e0 24-Jan-2018 wenzelm <none@none>

clarified signature;


# c5bae3b2 24-Jan-2018 wenzelm <none@none>

clarified operations;


# 963d2784 16-Jan-2018 wenzelm <none@none>

discontinued old form of marginal comments;


# dec951bc 15-Jan-2018 wenzelm <none@none>

clarified markup;


# 0cb8e02e 15-Jan-2018 wenzelm <none@none>

more uniform support for formal comments in outer syntax, notably \<^cancel> and \<^latex>;


# a5747e56 12-Jun-2017 wenzelm <none@none>

more markup for HTML rendering;


# e04d29a0 12-Jun-2017 wenzelm <none@none>

tuned signature;


# 052123f6 08-Jun-2017 wenzelm <none@none>

more HTML rendering as in Isabelle/jEdit;
tuned;


# 60a3dfee 10-Mar-2017 wenzelm <none@none>

avoid extra decorations for regular command keywords;


# 87de1331 28-Dec-2016 wenzelm <none@none>

more uniform treatment of "bad" like other messages (with serial number);


# 8e6260e3 27-Oct-2016 wenzelm <none@none>

more careful PIDE reports: avoid duplicates, notably in situation of backtracking loops;


# 5c93eeeb 22-Sep-2016 wenzelm <none@none>

discontinued raw symbols;
discontinued Symbol.source;
use initial Symbol.explode;


# 9e801bee 09-Aug-2016 wenzelm <none@none>

print name in parsable form;


# 6bed86f1 18-Apr-2016 wenzelm <none@none>

prefer internal attribute source;


# 5dc803d8 13-Apr-2016 wenzelm <none@none>

eliminated "xname" and variants;


# 4db225c9 01-Apr-2016 wenzelm <none@none>

tuned signature;


# 464aaab0 01-Apr-2016 wenzelm <none@none>

tuned;


# 6a7286b7 01-Apr-2016 wenzelm <none@none>

tuned signature;


# 23c1a8e6 31-Mar-2016 wenzelm <none@none>

clarified modules;


# a453e21c 07-Jan-2016 wenzelm <none@none>

prefer non-ASCII output;


# fb36b0dc 10-Dec-2015 wenzelm <none@none>

make SML/NJ happy;


# af01c7b3 09-Dec-2015 wenzelm <none@none>

tuned;


# cec01c08 09-Dec-2015 wenzelm <none@none>

tuned signature;


# 4e71e997 09-Dec-2015 wenzelm <none@none>

tuned;


# 6eb38925 09-Dec-2015 wenzelm <none@none>

clarified type Token.src: plain token list, with usual implicit value assignment;
clarified type Token.name_value, notably for head of Token.src;
clarified Attrib/Method check_src vs. parser;


# 93b9d29e 10-Nov-2015 wenzelm <none@none>

added document antiquotation @{theory_text};
tuned document;


# 9033287d 18-Oct-2015 wenzelm <none@none>

tuned signature;


# 87ebf12f 18-Oct-2015 wenzelm <none@none>

support control symbol antiquotations;


# 2759308d 25-Sep-2015 wenzelm <none@none>

moved remaining display.ML to more_thm.ML;


# 906abe2c 02-Sep-2015 wenzelm <none@none>

trim context more thoroughly;


# 886ea47b 09-Apr-2015 wenzelm <none@none>

clarified keyword 'qualified' in accordance to a similar keyword from Haskell (despite unrelated Binding.qualified in Isabelle/ML);


# 078f3395 06-Apr-2015 wenzelm <none@none>

support for 'restricted' modifier: only qualified accesses outside the local scope;


# a1adae4d 04-Apr-2015 wenzelm <none@none>

more general notion of command span: command keyword not necessarily at start;
support for special 'private' prefix for local_theory commands;
clarified parse_spans, with related operations for document Thy_Output and editor Token_Markup;


# b6980873 02-Apr-2015 wenzelm <none@none>

tuned signature;


# 7435927c 01-Apr-2015 wenzelm <none@none>

operation on embedded sources for Eisbach;


# 4c101792 02-Apr-2015 wenzelm <none@none>

tuned -- emphasize semantics of already checked src;


# ec0573b0 24-Mar-2015 wenzelm <none@none>

clarified input source;


# f739ffa6 25-Mar-2015 wenzelm <none@none>

tuned signature;


# d34da7e7 10-Mar-2015 wenzelm <none@none>

clarified Token.check_src: intern at most once;
Method.parse_internal for Eisbach: intern method names;


# 40653479 07-Mar-2015 wenzelm <none@none>

added declare_maxidx operations for Eisbach;


# 3851bbce 10-Dec-2014 wenzelm <none@none>

more explicit markup for improper commands;
clarified CSS rendering;


# d9bd2c14 10-Dec-2014 wenzelm <none@none>

tuned;


# fb475ba5 09-Dec-2014 wenzelm <none@none>

imitate command markup and rendering of Isabelle/jEdit in HTML output;


# 54c11317 08-Dec-2014 wenzelm <none@none>

expand ML cartouches to Input.source;
tuned signature;


# 08f5939a 03-Dec-2014 wenzelm <none@none>

clarified define_command: send tokens more directly, without requiring keywords in ML;


# 91c3d5c1 03-Dec-2014 wenzelm <none@none>

tuned signature;


# bfa9a7cc 03-Dec-2014 wenzelm <none@none>

clarified token kind;


# 9bbace2c 29-Nov-2014 wenzelm <none@none>

more abstract type Input.source;


# 14bdb6a2 01-May-2015 wenzelm <none@none>

modifier markup for all parsed tokens;
report literal token markup, before re-assignment;


# f19e7944 11-Nov-2014 wenzelm <none@none>

more position information, e.g. relevant for errors in generated ML source;


# a08c7472 05-Nov-2014 wenzelm <none@none>

eliminated pointless dynamic keywords (TTY legacy);


# df4ccf3c 05-Nov-2014 wenzelm <none@none>

explicit type Keyword.keywords;
tuned signature;


# 76b99cc2 01-Nov-2014 wenzelm <none@none>

tuned signature (see ab2483fad861);


# b5dd712b 01-Nov-2014 wenzelm <none@none>

recover via scanner;
tuned signature;


# 4b9210f6 01-Nov-2014 wenzelm <none@none>

simplified -- scanning is never interactive;


# 1a4cb95e 01-Nov-2014 wenzelm <none@none>

command-line terminator ";" is no longer accepted;


# 5596f3c1 31-Oct-2014 wenzelm <none@none>

removed pointless markup;
tuned comments;


# dd6b3a62 31-Oct-2014 wenzelm <none@none>

discontinued obsolete \<^sync> marker;


# 3b1ab36a 31-Oct-2014 wenzelm <none@none>

discontinued obsolete tty and prompt;


# 8c12bfce 24-Aug-2014 wenzelm <none@none>

tuned signature;


# e5f9165e 21-Aug-2014 wenzelm <none@none>

tuned;


# 7f04aae7 20-Aug-2014 wenzelm <none@none>

support for declaration within token source;


# 954f4735 20-Aug-2014 wenzelm <none@none>

support for nested Token.src within Token.T;
tuned signature;


# d65030e5 19-Aug-2014 wenzelm <none@none>

tuned signature -- moved type src to Token, without aliases;


# 459fc7ff 15-Aug-2014 wenzelm <none@none>

more informative Token.Name with history of morphisms;
tuned signature;


# 308258ec 14-Aug-2014 wenzelm <none@none>

more informative Token.Fact: retain name of dynamic fact (without selection);


# 2ef0938c 17-Mar-2014 wenzelm <none@none>

more markup for improper elements;


# dfcd997a 12-Mar-2014 wenzelm <none@none>

clarified Markup.operator vs. Markup.delimiter;
tuned color;


# ecc0dc9e 12-Mar-2014 wenzelm <none@none>

more explicit markup for Token.Literal;
Markup.quasi_keyword for Parse.$$$ -- it is used within Args.syntax as well;
Markup.operator for name of Args.syntax, to override outer keywords like "where";
tuned signature;


# 7f1d1500 05-Mar-2014 wenzelm <none@none>

more explicit quasi_keyword markup, for Args.$$$ material, which is somewhere in between of outer and inner syntax;


# 454b6f0e 05-Mar-2014 wenzelm <none@none>

more thorough (potentially duplicate) markup, e.g. relevant for embedded Args syntax within antiquotations;


# b9224853 05-Mar-2014 wenzelm <none@none>

suppress short abbreviations more uniformly, for outer and quasi-outer syntax;
tuned signature;


# 57387a0f 05-Mar-2014 wenzelm <none@none>

clarified init_assignable: make double-sure that initial values are reset;
more systematic reports for Args.syntax: indicate Args.$$$ quasi-keywords and suppress confusing completion of single symbols like ":", "|", "?";


# 0e1799d7 01-Mar-2014 wenzelm <none@none>

clarified language markup: added "delimited" property;
type Symbol_Pos.source preserves information about delimited outer tokens (e.g string, cartouche);
observe Completion.Language_Context only for delimited languages, which is important to complete keywords after undelimited inner tokens, e.g. "lemma A pro";


# ae44984e 27-Feb-2014 wenzelm <none@none>

store blobs / inlined files as separate text lines: smaller values are more healthy for the Poly/ML RTS and allow implicit sharing;
integrity check of SHA1 digests produced in Scala vs. ML;
tuned signature;


# e3fa8d57 25-Feb-2014 wenzelm <none@none>

back to Markup.command for actual tokens (amending 4a4e5686e091) -- avoid conflict of jEdit token marker with Rendering.text_colors;


# 5da97e94 25-Feb-2014 wenzelm <none@none>

tuned message -- more markup;


# fdb65179 25-Feb-2014 wenzelm <none@none>

clarified token markup: keyword1/keyword2 is for syntax, and "command" the entity kind;
tuned message;


# b59e2e66 24-Feb-2014 wenzelm <none@none>

clarified Token.range_of in accordance to Symbol_Pos.range;
eliminated redundant Position.set_range, which is already included in Position.range;


# 18efdd72 24-Feb-2014 wenzelm <none@none>

tuned signature;


# 28742b1e 22-Jan-2014 wenzelm <none@none>

tuned signature;


# 8c1e26f7 20-Jan-2014 wenzelm <none@none>

tuned signature;


# 2646d6c1 20-Jan-2014 wenzelm <none@none>

tuned error messages, more accurate position;


# 4e9cdcfc 20-Jan-2014 wenzelm <none@none>

tuned -- more direct err_prefix;


# 4b9a5783 20-Jan-2014 wenzelm <none@none>

clarified scan_cartouche_depth, according to Scala version;
more accurate error position;


# 391e95ec 20-Jan-2014 wenzelm <none@none>

tuned errors;


# 42b5b84f 18-Jan-2014 wenzelm <none@none>

support for nested text cartouches;
clarified Symbol.is_symbolic: exclude \<open> and \<close>;


# 598a10f9 19-Nov-2013 wenzelm <none@none>

release file errors at runtime: Command.eval instead of Command.read;


# 884c6561 19-Nov-2013 wenzelm <none@none>

maintain blobs within document state: digest + text in ML, digest-only in Scala;
resolve files for command span, based on defined blobs;
tuned;


# 934181fa 24-Feb-2013 wenzelm <none@none>

unified Command.is_proper in ML with Scala (see also 123be08eed88);


# 9336ad82 26-Nov-2012 wenzelm <none@none>

tuned signature;
tuned;


# 95d64a2f 25-Nov-2012 wenzelm <none@none>

Isabelle-specific implementation of quasi-abstract markup elements -- back to module arrangement before d83797ef0d2d;


# c9f94e8d 16-Oct-2012 wenzelm <none@none>

more proof method text position information;


# 871b69bc 29-Aug-2012 wenzelm <none@none>

renamed Position.str_of to Position.here;


# 19cc4307 23-Aug-2012 wenzelm <none@none>

tuned messages: end-of-input rarely means physical end-of-file from the past;


# 8e12baf8 23-Aug-2012 wenzelm <none@none>

clarified type Token.file;


# b912e3db 20-Aug-2012 wenzelm <none@none>

some support for inlining file content into outer syntax token language;


# bfa67b35 11-Aug-2012 wenzelm <none@none>

clarified Command.range vs. Command.proper_range according to Scala version, which is potentially relevant for command status markup;


# 475c25ce 10-Aug-2012 wenzelm <none@none>

proper error prefixes;


# ec644024 09-Aug-2012 wenzelm <none@none>

some attempts to keep malformed syntax errors focussed, without too much red spilled onto the document view;


# 3a89484e 09-Aug-2012 wenzelm <none@none>

refined recovery of scan errors: longest prefix of delimited token after failure, otherwise just one symbol;


# 3b1dbbe5 08-Aug-2012 wenzelm <none@none>

tuned signature;


# db76df2d 04-Mar-2012 wenzelm <none@none>

clarified command span: include trailing whitespace/comments and thus reduce number of ignored spans with associated transactions and states (factor 2);
simplified signatures;


# 99fd6f8e 28-Nov-2011 wenzelm <none@none>

separate module for concrete Isabelle markup;

--HG--
rename : src/Pure/General/markup.ML => src/Pure/General/isabelle_markup.ML
rename : src/Pure/General/markup.scala => src/Pure/General/isabelle_markup.scala


# 02ae7679 02-Sep-2011 wenzelm <none@none>

more direct Token.range_pos and Outer_Syntax.read_command, bypassing Thy_Syntax.span;


# f8ede26a 23-Jul-2011 wenzelm <none@none>

defer evaluation of Scan.message, for improved performance in the frequent situation where failure is handled later (e.g. via ||);


# 6eeb6c90 12-Jul-2011 wenzelm <none@none>

more precise Symbol_Pos.quote_string;


# dada9359 10-Jul-2011 wenzelm <none@none>

inner syntax supports inlined YXML according to Term_XML (particularly useful for producing text under program control);
tuned signature;


# 078c7286 08-Jul-2011 wenzelm <none@none>

discontinued special treatment of hard tabulators;


# c48a1df7 30-Apr-2011 wenzelm <none@none>

more uniform variations of scan_string;


# c4f9ef65 08-Apr-2011 wenzelm <none@none>

discontinued special treatment of structure Lexicon;


# b2bb1146 04-Dec-2010 wenzelm <none@none>

eliminated obsolete Token.Malformed -- subsumed by Token.Error;


# 14e6bac1 19-Nov-2010 wenzelm <none@none>

renamed raw "explode" function to "raw_explode" to emphasize its meaning;


# fc01b159 13-Nov-2010 wenzelm <none@none>

simplified message: malformed symbols are fully internalized, i.e. can be printed without crashing;


# 85933b6c 13-Nov-2010 wenzelm <none@none>

eliminated slightly odd pervasive Symbol_Pos.symbol;


# b9cf01fe 13-Nov-2010 wenzelm <none@none>

simplified/robustified treatment of malformed symbols, which are now fully internalized (total Symbol.explode etc.);
allow malformed symbols inside quoted material, comments etc. -- for improved user experience with incremental re-parsing;
refined treatment of malformed surrogates (Scala);


# 50854723 30-Oct-2010 wenzelm <none@none>

support for floating-point tokens in outer syntax (coinciding with inner syntax version);


# bbf157d1 07-Aug-2010 wenzelm <none@none>

more robust treatment of Markup.token;


# d3baabe5 07-Aug-2010 wenzelm <none@none>

simplified type XML.tree: embed Markup.T directly, avoid slightly odd triple;


# 90cf947c 17-May-2010 wenzelm <none@none>

renamed structure OuterLex to Token and type token to Token.T, keeping legacy aliases for some time;
eliminated slightly odd alias structure T;

--HG--
rename : src/Pure/Isar/outer_lex.ML => src/Pure/Isar/token.ML