| author | wenzelm | 
| Fri, 24 Sep 2021 22:23:26 +0200 | |
| changeset 74362 | 0135a0c77b64 | 
| parent 74270 | ad2899cdd528 | 
| child 74559 | 9189d949abb9 | 
| permissions | -rw-r--r-- | 
| 67588 | 1 | (* Title: Pure/ROOT.ML | 
| 2 | Author: Makarius | |
| 3 | ||
| 4 | Main entry point for the Isabelle/Pure bootstrap process. | |
| 5 | ||
| 6 | Note: When this file is open in the Prover IDE, the ML files of | |
| 7 | Isabelle/Pure can be explored interactively. This is a separate copy of | |
| 8 | Pure within Pure: it does not affect the running logic session. | |
| 9 | *) | |
| 10 | ||
| 62912 | 11 | chapter "Isabelle/Pure bootstrap"; | 
| 62508 
d0b68218ea55
discontinued RAW session: bootstrap directly from isabelle_process RAW_ML_SYSTEM;
 wenzelm parents: 
62501diff
changeset | 12 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 13 | ML_file "ML/ml_name_space.ML"; | 
| 62883 | 14 | |
| 15 | ||
| 62912 | 16 | section "Bootstrap phase 0: Poly/ML setup"; | 
| 62508 
d0b68218ea55
discontinued RAW session: bootstrap directly from isabelle_process RAW_ML_SYSTEM;
 wenzelm parents: 
62501diff
changeset | 17 | |
| 67205 | 18 | ML_file "ML/ml_init.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 19 | ML_file "ML/ml_system.ML"; | 
| 62508 
d0b68218ea55
discontinued RAW session: bootstrap directly from isabelle_process RAW_ML_SYSTEM;
 wenzelm parents: 
62501diff
changeset | 20 | |
| 62918 | 21 | ML_file "General/basics.ML"; | 
| 63932 
6040db6b929d
more tight implementation of symbol explode operation (without support for raw symbols);
 wenzelm parents: 
63806diff
changeset | 22 | ML_file "General/symbol_explode.ML"; | 
| 62508 
d0b68218ea55
discontinued RAW session: bootstrap directly from isabelle_process RAW_ML_SYSTEM;
 wenzelm parents: 
62501diff
changeset | 23 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 24 | ML_file "Concurrent/multithreading.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 25 | ML_file "Concurrent/unsynchronized.ML"; | 
| 62918 | 26 | ML_file "Concurrent/synchronized.ML"; | 
| 27 | ML_file "Concurrent/counter.ML"; | |
| 62508 
d0b68218ea55
discontinued RAW session: bootstrap directly from isabelle_process RAW_ML_SYSTEM;
 wenzelm parents: 
62501diff
changeset | 28 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 29 | ML_file "ML/ml_heap.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 30 | ML_file "ML/ml_print_depth0.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 31 | ML_file "ML/ml_pretty.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 32 | ML_file "ML/ml_compiler0.ML"; | 
| 62508 
d0b68218ea55
discontinued RAW session: bootstrap directly from isabelle_process RAW_ML_SYSTEM;
 wenzelm parents: 
62501diff
changeset | 33 | |
| 
d0b68218ea55
discontinued RAW session: bootstrap directly from isabelle_process RAW_ML_SYSTEM;
 wenzelm parents: 
62501diff
changeset | 34 | |
| 62912 | 35 | section "Bootstrap phase 1: towards ML within position context"; | 
| 62508 
d0b68218ea55
discontinued RAW session: bootstrap directly from isabelle_process RAW_ML_SYSTEM;
 wenzelm parents: 
62501diff
changeset | 36 | |
| 62912 | 37 | subsection "Library of general tools"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 38 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 39 | ML_file "library.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 40 | ML_file "General/print_mode.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 41 | ML_file "General/alist.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 42 | ML_file "General/table.ML"; | 
| 43684 | 43 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 44 | ML_file "General/random.ML"; | 
| 63806 | 45 | ML_file "General/value.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 46 | ML_file "General/properties.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 47 | ML_file "General/output.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 48 | ML_file "PIDE/markup.ML"; | 
| 69208 
3e4edf43e254
some support for UTF-8 (similar to Isabelle/Scala version);
 wenzelm parents: 
68839diff
changeset | 49 | ML_file "General/utf8.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 50 | ML_file "General/scan.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 51 | ML_file "General/source.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 52 | ML_file "General/symbol.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 53 | ML_file "General/position.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 54 | ML_file "General/symbol_pos.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 55 | ML_file "General/input.ML"; | 
| 67425 
7d4a088dbc0e
clarified modules: uniform notion of formal comments;
 wenzelm parents: 
67386diff
changeset | 56 | ML_file "General/comment.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 57 | ML_file "General/antiquote.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 58 | ML_file "ML/ml_lex.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 59 | ML_file "ML/ml_compiler1.ML"; | 
| 56288 | 60 | |
| 59054 
61b723761dff
load simple_thread.ML later, such that it benefits from redefined print_exception_trace;
 wenzelm parents: 
59026diff
changeset | 61 | |
| 62912 | 62 | section "Bootstrap phase 2: towards ML within Isar context"; | 
| 56288 | 63 | |
| 62912 | 64 | subsection "Library of general tools"; | 
| 56288 | 65 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 66 | ML_file "General/integer.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 67 | ML_file "General/stack.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 68 | ML_file "General/queue.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 69 | ML_file "General/heap.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 70 | ML_file "General/same.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 71 | ML_file "General/ord_list.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 72 | ML_file "General/balanced_tree.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 73 | ML_file "General/linear_set.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 74 | ML_file "General/buffer.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 75 | ML_file "General/pretty.ML"; | 
| 63209 | 76 | ML_file "General/rat.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 77 | ML_file "PIDE/xml.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 78 | ML_file "General/path.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 79 | ML_file "General/url.ML"; | 
| 73264 | 80 | ML_file "System/bash.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 81 | ML_file "General/file.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 82 | ML_file "General/long_name.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 83 | ML_file "General/binding.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 84 | ML_file "General/seq.ML"; | 
| 73383 
6b104dc069de
clarified signature --- augment existing structure Time;
 wenzelm parents: 
73371diff
changeset | 85 | ML_file "General/time.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 86 | ML_file "General/timing.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 87 | ML_file "General/sha1.ML"; | 
| 35628 | 88 | |
| 73558 | 89 | ML_file "PIDE/yxml.ML"; | 
| 73835 | 90 | ML_file "ML/ml_profiling.ML"; | 
| 69448 | 91 | ML_file "PIDE/byte_message.ML"; | 
| 70907 | 92 | ML_file "PIDE/protocol_message.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 93 | ML_file "PIDE/document_id.ML"; | 
| 74143 | 94 | ML_file "General/socket_io.ML"; | 
| 44698 | 95 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 96 | ML_file "General/change_table.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 97 | ML_file "General/graph.ML"; | 
| 49560 | 98 | |
| 71675 | 99 | ML_file "System/options.ML"; | 
| 100 | ||
| 60911 
858694df711b
default ML context for forks, e.g. relevant for debugging and toplevel pretty-printing;
 wenzelm parents: 
60630diff
changeset | 101 | |
| 62912 | 102 | subsection "Fundamental structures"; | 
| 60911 
858694df711b
default ML context for forks, e.g. relevant for debugging and toplevel pretty-printing;
 wenzelm parents: 
60630diff
changeset | 103 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 104 | ML_file "name.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 105 | ML_file "term.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 106 | ML_file "context.ML"; | 
| 71680 | 107 | ML_file "config.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 108 | ML_file "context_position.ML"; | 
| 70364 
b2bedb022a75
support for a soft-type system within the Isabelle logical framework;
 wenzelm parents: 
69887diff
changeset | 109 | ML_file "soft_type_system.ML"; | 
| 51947 
3301612c4893
support for system options as context-sensitive config options;
 wenzelm parents: 
51933diff
changeset | 110 | |
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 111 | |
| 62912 | 112 | subsection "Concurrency within the ML runtime"; | 
| 28120 | 113 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 114 | ML_file "ML/exn_properties.ML"; | 
| 71086 | 115 | ML_file_no_debug "ML/exn_debugger.ML"; | 
| 50911 
ee7fe4230642
more explicit treatment of (optional) exception properties, notably for "serial" -- avoid conflict with startPosition = offset;
 wenzelm parents: 
50800diff
changeset | 116 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 117 | ML_file "Concurrent/thread_data_virtual.ML"; | 
| 71692 | 118 | ML_file "Concurrent/isabelle_thread.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 119 | ML_file "Concurrent/single_assignment.ML"; | 
| 59054 
61b723761dff
load simple_thread.ML later, such that it benefits from redefined print_exception_trace;
 wenzelm parents: 
59026diff
changeset | 120 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 121 | ML_file "Concurrent/par_exn.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 122 | ML_file "Concurrent/task_queue.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 123 | ML_file "Concurrent/future.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 124 | ML_file "Concurrent/event_timer.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 125 | ML_file "Concurrent/timeout.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 126 | ML_file "Concurrent/lazy.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 127 | ML_file "Concurrent/par_list.ML"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 128 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 129 | ML_file "Concurrent/mailbox.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 130 | ML_file "Concurrent/cache.ML"; | 
| 32840 | 131 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 132 | ML_file "PIDE/active.ML"; | 
| 70396 | 133 | ML_file "Thy/export.ML"; | 
| 50500 
c94bba7906d2
identify dialogs via official serial and maintain as result message;
 wenzelm parents: 
50498diff
changeset | 134 | |
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 135 | |
| 62912 | 136 | subsection "Inner syntax"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 137 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 138 | ML_file "Syntax/type_annotation.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 139 | ML_file "Syntax/term_position.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 140 | ML_file "Syntax/lexicon.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 141 | ML_file "Syntax/ast.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 142 | ML_file "Syntax/syntax_ext.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 143 | ML_file "Syntax/parser.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 144 | ML_file "Syntax/syntax_trans.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 145 | ML_file "Syntax/mixfix.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 146 | ML_file "Syntax/printer.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 147 | ML_file "Syntax/syntax.ML"; | 
| 22679 | 148 | |
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 149 | |
| 62912 | 150 | subsection "Core of tactical proof system"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 151 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 152 | ML_file "term_ord.ML"; | 
| 74270 | 153 | ML_file "term_items.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 154 | ML_file "term_subst.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 155 | ML_file "General/completion.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 156 | ML_file "General/name_space.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 157 | ML_file "sorts.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 158 | ML_file "type.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 159 | ML_file "logic.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 160 | ML_file "Syntax/simple_syntax.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 161 | ML_file "net.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 162 | ML_file "item_net.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 163 | ML_file "envir.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 164 | ML_file "consts.ML"; | 
| 70784 
799437173553
Term_XML.Encode/Decode.term uses Const "typargs";
 wenzelm parents: 
70574diff
changeset | 165 | ML_file "term_xml.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 166 | ML_file "primitive_defs.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 167 | ML_file "sign.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 168 | ML_file "defs.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 169 | ML_file "term_sharing.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 170 | ML_file "pattern.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 171 | ML_file "unify.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 172 | ML_file "theory.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 173 | ML_file "proofterm.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 174 | ML_file "thm.ML"; | 
| 74270 | 175 | ML_file "cterm_items.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 176 | ML_file "more_pattern.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 177 | ML_file "more_unify.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 178 | ML_file "more_thm.ML"; | 
| 70443 | 179 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 180 | ML_file "facts.ML"; | 
| 70574 | 181 | ML_file "thm_name.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 182 | ML_file "global_theory.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 183 | ML_file "pure_thy.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 184 | ML_file "drule.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 185 | ML_file "morphism.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 186 | ML_file "variable.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 187 | ML_file "conv.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 188 | ML_file "goal_display.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 189 | ML_file "tactical.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 190 | ML_file "search.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 191 | ML_file "tactic.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 192 | ML_file "raw_simplifier.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 193 | ML_file "conjunction.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 194 | ML_file "assumption.ML"; | 
| 0 | 195 | |
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 196 | |
| 62912 | 197 | subsection "Isar -- Intelligible Semi-Automated Reasoning"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 198 | |
| 56303 
4cc3f4db3447
clarified Isabelle/ML bootstrap, such that Execution does not require ML_Compiler;
 wenzelm parents: 
56288diff
changeset | 199 | (*ML support and global execution*) | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 200 | ML_file "ML/ml_syntax.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 201 | ML_file "ML/ml_env.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 202 | ML_file "ML/ml_options.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 203 | ML_file "ML/ml_print_depth.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 204 | ML_file_no_debug "Isar/runtime.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 205 | ML_file "PIDE/execution.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 206 | ML_file "ML/ml_compiler.ML"; | 
| 49041 
9edfd36a0355
more informative error message from failed goal forks (violating old-style TTY protocol!);
 wenzelm parents: 
48990diff
changeset | 207 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 208 | ML_file "skip_proof.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 209 | ML_file "goal.ML"; | 
| 49041 
9edfd36a0355
more informative error message from failed goal forks (violating old-style TTY protocol!);
 wenzelm parents: 
48990diff
changeset | 210 | |
| 63639 | 211 | (*outer syntax*) | 
| 212 | ML_file "Isar/keyword.ML"; | |
| 213 | ML_file "Isar/token.ML"; | |
| 214 | ML_file "Isar/parse.ML"; | |
| 69876 | 215 | ML_file "Thy/document_source.ML"; | 
| 63639 | 216 | ML_file "Thy/thy_header.ML"; | 
| 69887 | 217 | ML_file "Thy/document_marker.ML"; | 
| 63639 | 218 | |
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 219 | (*proof context*) | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 220 | ML_file "Isar/object_logic.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 221 | ML_file "Isar/rule_cases.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 222 | ML_file "Isar/auto_bind.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 223 | ML_file "type_infer.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 224 | ML_file "Syntax/local_syntax.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 225 | ML_file "Isar/proof_context.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 226 | ML_file "type_infer_context.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 227 | ML_file "Syntax/syntax_phases.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 228 | ML_file "Isar/args.ML"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 229 | |
| 57926 
59b2572e8e93
load local_theory.ML before attrib.ML, with subtle change of semantics due to canonical Local_Theory.map_contexts instead of private Local_Theory.map_top;
 wenzelm parents: 
57905diff
changeset | 230 | (*theory specifications*) | 
| 63639 | 231 | ML_file "Isar/local_defs.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 232 | ML_file "Isar/local_theory.ML"; | 
| 63090 
7aa9ac5165e4
common entity definitions within a global or local theory context;
 wenzelm parents: 
63064diff
changeset | 233 | ML_file "Isar/entity.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 234 | ML_file "PIDE/command_span.ML"; | 
| 68839 | 235 | ML_file "Thy/thy_element.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 236 | ML_file "Thy/markdown.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 237 | ML_file "Thy/latex.ML"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 238 | |
| 56203 
76c72f4d0667
clarified bootstrap process: switch to ML with context and antiquotations earlier;
 wenzelm parents: 
56072diff
changeset | 239 | (*ML with context and antiquotations*) | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 240 | ML_file "ML/ml_context.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 241 | ML_file "ML/ml_antiquotation.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 242 | ML_file "ML/ml_compiler2.ML"; | 
| 73613 | 243 | ML_file "ML/ml_antiquotations1.ML"; | 
| 56434 | 244 | |
| 56288 | 245 | |
| 62912 | 246 | section "Bootstrap phase 3: towards theory Pure and final ML toplevel setup"; | 
| 56203 
76c72f4d0667
clarified bootstrap process: switch to ML with context and antiquotations earlier;
 wenzelm parents: 
56072diff
changeset | 247 | |
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 248 | (*basic proof engine*) | 
| 70521 
9ddd66d53130
added SUBPROOFS / "subproofs" method combinator, for more compact proofterms;
 wenzelm parents: 
70520diff
changeset | 249 | ML_file "par_tactical.ML"; | 
| 70520 | 250 | ML_file "context_tactic.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 251 | ML_file "Isar/proof_display.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 252 | ML_file "Isar/attrib.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 253 | ML_file "Isar/context_rules.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 254 | ML_file "Isar/method.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 255 | ML_file "Isar/proof.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 256 | ML_file "Isar/element.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 257 | ML_file "Isar/obtain.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 258 | ML_file "Isar/subgoal.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 259 | ML_file "Isar/calculation.ML"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 260 | |
| 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 261 | (*local theories and targets*) | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 262 | ML_file "Isar/locale.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 263 | ML_file "Isar/generic_target.ML"; | 
| 72536 
589645894305
bundle mixins for locale and class specifications
 haftmann parents: 
72453diff
changeset | 264 | ML_file "Isar/bundle.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 265 | ML_file "Isar/overloading.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 266 | ML_file "axclass.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 267 | ML_file "Isar/class.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 268 | ML_file "Isar/named_target.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 269 | ML_file "Isar/expression.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 270 | ML_file "Isar/interpretation.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 271 | ML_file "Isar/class_declaration.ML"; | 
| 72453 | 272 | ML_file "Isar/target_context.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 273 | ML_file "Isar/experiment.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 274 | ML_file "simplifier.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 275 | ML_file "Tools/plugin.ML"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 276 | |
| 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 277 | (*executable theory content*) | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 278 | ML_file "Isar/code.ML"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 279 | |
| 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 280 | (*specifications*) | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 281 | ML_file "Isar/spec_rules.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 282 | ML_file "Isar/specification.ML"; | 
| 63064 
2f18172214c8
support 'assumes' in specifications, e.g. 'definition', 'inductive';
 wenzelm parents: 
62943diff
changeset | 283 | ML_file "Isar/parse_spec.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 284 | ML_file "Isar/typedecl.ML"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 285 | |
| 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 286 | (*toplevel transactions*) | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 287 | ML_file "Isar/proof_node.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 288 | ML_file "Isar/toplevel.ML"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 289 | |
| 56206 | 290 | (*proof term operations*) | 
| 71088 | 291 | ML_file "Proof/proof_rewrite_rules.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 292 | ML_file "Proof/proof_syntax.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 293 | ML_file "Proof/proof_checker.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 294 | ML_file "Proof/extraction.ML"; | 
| 56206 | 295 | |
| 62584 | 296 | (*Isabelle system*) | 
| 73225 
3ab0cedaccad
clarified modules: allow early definition of protocol commands;
 wenzelm parents: 
73136diff
changeset | 297 | ML_file "PIDE/protocol_command.ML"; | 
| 73226 
4c8edf348c4e
clarified modules: allow early invocation of Scala functions;
 wenzelm parents: 
73225diff
changeset | 298 | ML_file "System/scala.ML"; | 
| 73275 | 299 | ML_file "System/process_result.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 300 | ML_file "System/isabelle_system.ML"; | 
| 62584 | 301 | |
| 62845 | 302 | |
| 38271 
36187e8443dd
Isar_Document command input via native Isabelle_Process commands, using YXML and XML_Data representation;
 wenzelm parents: 
38266diff
changeset | 303 | (*theory documents*) | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 304 | ML_file "Thy/term_style.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 305 | ML_file "Isar/outer_syntax.ML"; | 
| 73613 | 306 | ML_file "ML/ml_antiquotations2.ML"; | 
| 73587 | 307 | ML_file "ML/ml_pid.ML"; | 
| 67386 | 308 | ML_file "Thy/document_antiquotation.ML"; | 
| 73761 | 309 | ML_file "Thy/document_output.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 310 | ML_file "Thy/document_antiquotations.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 311 | ML_file "General/graph_display.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 312 | ML_file "pure_syn.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 313 | ML_file "PIDE/command.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 314 | ML_file "PIDE/query_operation.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 315 | ML_file "PIDE/resources.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 316 | ML_file "Thy/thy_info.ML"; | 
| 70893 | 317 | ML_file "thm_deps.ML"; | 
| 68154 | 318 | ML_file "Thy/export_theory.ML"; | 
| 67215 | 319 | ML_file "Thy/sessions.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 320 | ML_file "PIDE/session.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 321 | ML_file "PIDE/document.ML"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 322 | |
| 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 323 | (*theory and proof operations*) | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 324 | ML_file "Isar/isar_cmd.ML"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 325 | |
| 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 326 | |
| 62912 | 327 | subsection "Isabelle/Isar system"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 328 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 329 | ML_file "System/command_line.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 330 | ML_file "System/message_channel.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 331 | ML_file "System/isabelle_process.ML"; | 
| 71888 | 332 | ML_file "System/scala_compiler.ML"; | 
| 72763 | 333 | ML_file "System/isabelle_tool.ML"; | 
| 67275 
5e427586cb57
check bibtex database on ML side -- for semantic PIDE editing;
 wenzelm parents: 
67274diff
changeset | 334 | ML_file "Thy/bibtex.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 335 | ML_file "PIDE/protocol.ML"; | 
| 62930 
51ac6bc389e8
shared output primitives of physical/virtual Pure;
 wenzelm parents: 
62923diff
changeset | 336 | ML_file "General/output_primitives_virtual.ML"; | 
| 30173 
eabece26b89b
moved isabelle_process.ML, isabelle_process.scala, isar.ML, session.ML to Pure/System/ (together with associated Isar commands);
 wenzelm parents: 
29269diff
changeset | 337 | |
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 338 | |
| 62912 | 339 | subsection "Miscellaneous tools and packages for Pure Isabelle"; | 
| 31432 
9858f32f9569
just one ROOT.ML without any cd or ".." -- simplifies ML environment references to bootstrap sources;
 wenzelm parents: 
31335diff
changeset | 340 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 341 | ML_file "ML/ml_pp.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 342 | ML_file "ML/ml_thms.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 343 | ML_file "ML/ml_file.ML"; | 
| 62849 
caaa2fc4040d
clarified bootstrap -- avoid 'ML_file' in Pure.thy for uniformity;
 wenzelm parents: 
62848diff
changeset | 344 | |
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 345 | ML_file "Tools/build.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 346 | ML_file "Tools/named_thms.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 347 | ML_file "Tools/print_operation.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 348 | ML_file "Tools/rail.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 349 | ML_file "Tools/rule_insts.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 350 | ML_file "Tools/thy_deps.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 351 | ML_file "Tools/class_deps.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 352 | ML_file "Tools/find_theorems.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 353 | ML_file "Tools/find_consts.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 354 | ML_file "Tools/simplifier_trace.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 355 | ML_file_no_debug "Tools/debugger.ML"; | 
| 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 356 | ML_file "Tools/named_theorems.ML"; | 
| 72760 
042180540068
clarified protocol: Doc.check at run-time via Scala function;
 wenzelm parents: 
72696diff
changeset | 357 | ML_file "Tools/doc.ML"; | 
| 62902 
3c0f53eae166
more conventional theory syntax for ML bootstrap, with 'ML_file' instead of 'use';
 wenzelm parents: 
62896diff
changeset | 358 | ML_file "Tools/jedit.ML"; | 
| 69209 | 359 | ML_file "Tools/ghc.ML"; | 
| 69383 | 360 | ML_file "Tools/generated_files.ML" |