History log of /seL4-l4v-10.1.1/l4v/isabelle/src/Pure/General/scan.scala
Revision Date Author Comments
# ae74619f 15-Jan-2018 wenzelm <none@none>

clarified modules;
more operations;


# 7a3666d0 07-Jan-2018 wenzelm <none@none>

support for formal comments in ML in Isabelle/Scala;


# 6356ce40 07-Jan-2018 wenzelm <none@none>

tuned;


# 41ab2b16 26-Oct-2017 wenzelm <none@none>

separate JSON lexer;


# 4e2cadee 25-Oct-2017 wenzelm <none@none>

more robust treatment of UTF8 in raw byte sources;


# 63752833 07-Jan-2017 wenzelm <none@none>

tuned signature;


# d8ffd9f3 02-Aug-2016 wenzelm <none@none>

support 'abbrevs' within theory header;
simplified 'keywords': no abbreviations here;


# 7908f989 08-Jan-2015 wenzelm <none@none>

tuned;


# 6aab0a62 01-Dec-2014 wenzelm <none@none>

more merge operations;


# e0e8cf48 02-May-2015 wenzelm <none@none>

misc tuning, based on warnings by IntelliJ IDEA;


# 0f4fff15 01-Oct-2014 wenzelm <none@none>

actually finish after closing, e.g. relevant for consecutive (**)(**);


# d41d6ef0 02-May-2014 wenzelm <none@none>

avoid deprecated Scala syntax;


# 6d98320e 01-May-2014 wenzelm <none@none>

support URLs as well;


# 6a9bb4ab 01-May-2014 wenzelm <none@none>

reclaimed Byte_Reader from 51560e392e1b;


# 07e30e35 22-Apr-2014 wenzelm <none@none>

avoid "Adaptation of argument list by inserting ()" -- deprecated in scala-2.11.0;


# 903c87be 07-Mar-2014 wenzelm <none@none>

tuned;


# 010de39b 16-Feb-2014 wenzelm <none@none>

tuned signature -- emphasize line-oriented aspect;


# ac4a61d1 15-Feb-2014 wenzelm <none@none>

partial scans via ML_Lex.tokenize_context;
simplified ML_char: no gaps (hardly relevant in practice);
tuned;


# 11bad14b 14-Feb-2014 wenzelm <none@none>

lexical syntax for SML (in Scala);
tuned;


# 5af0015b 14-Feb-2014 wenzelm <none@none>

tuned signature (in accordance to ML version);


# f852d86c 14-Feb-2014 wenzelm <none@none>

tuned signature -- separate Lexicon from Parsers (in accordance to ML version);


# 1c5fcdff 18-Jan-2014 wenzelm <none@none>

tuned;


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

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


# 5dc4e02c 13-Aug-2013 wenzelm <none@none>

discontinued special treatment of \<^isub> and \<^isup> in rendering or editor front-end;
document antiquotations: renamed term style "isub" to "sub";


# fbd231b3 08-Aug-2013 wenzelm <none@none>

more strict identifier syntax: disallow superscripts, which tend to be used in notation such as \<^sup>\<omega>;


# ecd3c616 10-Jul-2013 wenzelm <none@none>

more robust identifier syntax: sub/superscript counts as modifier of LETDIG part instead of LETTER, both isub/isup and sub/sup are allowed;


# ed24cd8c 23-Aug-2012 wenzelm <none@none>

eliminated obsolete byte_reader -- theory headers + body files are parsed in full;


# 23ebd03a 10-Aug-2012 wenzelm <none@none>

more precise recover_quoted, recover_verbatim, recover_comment (cf. ML version) -- NB: context parsers expect explicit termination;


# 33306573 10-Aug-2012 wenzelm <none@none>

clarified undefined, unparsed, unfinished command spans;
common reparse_spans, diff_commands;
some support for consolidate_spans after change of perspective;


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

tuned;


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

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


# 5fa78641 20-Jul-2012 wenzelm <none@none>

more explicit java.io.{File => JFile};


# 48472e4d 18-Jul-2012 wenzelm <none@none>

tuned import;


# 78b39fdb 27-Feb-2012 wenzelm <none@none>

prefer final ADTs -- prevent ooddities;


# 8fd3e465 23-Feb-2012 wenzelm <none@none>

avoid trait Addable, which is deprecated in scala-2.9.x;
tuned;


# 93e69700 16-Dec-2011 wenzelm <none@none>

prefer sorting from Scala library;


# 706d05b3 22-Oct-2011 wenzelm <none@none>

class Lexicon as abstract datatype;


# d0b633ca 07-Jul-2011 wenzelm <none@none>

explicit indication of type Symbol.Symbol;


# b16e54ba 07-Jul-2011 wenzelm <none@none>

simplified Symbol based on lazy Symbol.Interpretation -- reduced odd "functorial style";
tuned implicit build/init messages;


# 078a4037 17-Jun-2011 wenzelm <none@none>

unconditional recovery from bad context (e.g. Quoted with malformed quoted_body);


# 71017ebb 16-Jun-2011 wenzelm <none@none>

partial scans of nested comments;


# aa9fe3ff 16-Jun-2011 wenzelm <none@none>

some support for partial scans with explicit context;
clarified junk vs. junk1;


# 9b2d19ec 12-May-2011 wenzelm <none@none>

minor adaption for scala-2.9.0.final;


# 6fc14dea 21-Apr-2011 wenzelm <none@none>

more robust scanning of iterated comments, such as "(* (**) (**) *)";


# 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);


# 4b67ce4d 12-Aug-2010 wenzelm <none@none>

more basic notion of unparsed input;


# fb33f98a 17-May-2010 wenzelm <none@none>

renamed class Outer_Lex to Token and Token_Kind to Token.Kind;

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


# b4c52905 05-May-2010 wenzelm <none@none>

use IndexedSeq instead of deprecated RandomAccessSeq, which is merely an alias;


# b722bd96 29-Mar-2010 wenzelm <none@none>

replaced some deprecated methods;


# bef7d20f 29-Mar-2010 wenzelm <none@none>

adapted to Scala 2.8.0 Beta1 -- with notable changes to scala.collection;


# 0cacbe50 11-Jan-2010 wenzelm <none@none>

clarified Symbol.is_plain/is_wellformed -- is_closed was rejecting plain backslashes;


# 50726265 10-Jan-2010 wenzelm <none@none>

tuned;


# fc02c5af 05-Jan-2010 wenzelm <none@none>

more accurate scanning of bad input;


# 2d7dd17a 05-Jan-2010 wenzelm <none@none>

tuned;


# e2ddd7e6 27-Dec-2009 wenzelm <none@none>

quoted_content: handle escapes;


# db8af3c6 27-Dec-2009 wenzelm <none@none>

added byte_reader, which works without decoding and enables efficient length operation (for scala.util.parsing.input.Reader);


# 263a77fa 22-Dec-2009 wenzelm <none@none>

explicit representation of Token_Kind -- cannot really depend on runtime types due to erasure;
added Token_Reader;
tuned;


# d308a446 20-Dec-2009 wenzelm <none@none>

improve performance by reordering of parser combinators;


# 8a1ff681 20-Dec-2009 wenzelm <none@none>

added nested comments;
tuned;


# c9d288fd 20-Dec-2009 wenzelm <none@none>

simplified result of keyword and symbols parser;
some support for parsing outer syntax tokens;


# 2b26c009 19-Dec-2009 wenzelm <none@none>

refined some Symbol operations/signatures;
added Symbol.Matcher;
flexible Scan.Lexicon.symbols, with one/many/many1 variants;


# de0f321b 19-Dec-2009 wenzelm <none@none>

indicate final state of keywords;
added symbol scanner;


# 439c9907 29-Aug-2009 wenzelm <none@none>

misc tuning;


# 6accf52b 23-Jun-2009 wenzelm <none@none>

moved string utilities to completion.scala;
tuned;


# 717f7b82 22-Jun-2009 wenzelm <none@none>

more precise implementation of trait methods -- oddly this seems to require copy/paste for +, ++;
misc tuning;


# 863a25af 22-Jun-2009 wenzelm <none@none>

Lexicon: removed unused max_entry;


# 40556e0f 18-Jun-2009 wenzelm <none@none>

subSequence: bounds checking;


# 740cf9bd 18-Jun-2009 wenzelm <none@none>

added reverse CharSequence;


# 95fa7deb 16-Jun-2009 wenzelm <none@none>

added completions;
misc simplification via aux. operations;


# 828a8db2 16-Jun-2009 wenzelm <none@none>

reorganized and abstracted version, via Set trait;


# b65b278e 16-Jun-2009 wenzelm <none@none>

Efficient scanning of literals.