Added lazy sequences and parser combinators for same.
--- a/src/Pure/IsaMakefile Thu Jan 08 08:14:00 2004 +0100
+++ b/src/Pure/IsaMakefile Thu Jan 08 16:35:46 2004 +0100
@@ -23,37 +23,38 @@
Pure: $(OUT)/Pure
-$(OUT)/Pure: General/ROOT.ML General/buffer.ML General/file.ML \
- General/graph.ML General/heap.ML General/history.ML \
- General/name_space.ML General/object.ML General/path.ML \
- General/position.ML General/pretty.ML General/scan.ML General/seq.ML \
- General/source.ML General/symbol.ML General/table.ML General/url.ML \
- General/xml.ML Isar/ROOT.ML Isar/antiquote.ML Isar/args.ML \
- Isar/attrib.ML Isar/auto_bind.ML Isar/calculation.ML \
- Isar/context_rules.ML Isar/induct_attrib.ML Isar/isar.ML \
- Isar/isar_cmd.ML Isar/isar_output.ML Isar/isar_syn.ML \
- Isar/isar_thy.ML Isar/locale.ML Isar/method.ML Isar/net_rules.ML \
- Isar/object_logic.ML Isar/obtain.ML Isar/outer_lex.ML \
- Isar/outer_parse.ML Isar/outer_syntax.ML Isar/proof.ML \
- Isar/proof_context.ML Isar/proof_data.ML Isar/proof_history.ML \
- Isar/rule_cases.ML Isar/session.ML Isar/skip_proof.ML \
- Isar/thy_header.ML Isar/toplevel.ML ML-Systems/mlworks.ML \
- ML-Systems/polyml-3.x.ML ML-Systems/polyml.ML \
- ML-Systems/smlnj-0.93.ML ML-Systems/smlnj-compiler.ML \
- ML-Systems/smlnj.ML Proof/ROOT.ML Proof/extraction.ML \
- Proof/proof_rewrite_rules.ML \
- Proof/proof_syntax.ML Proof/proofchecker.ML Proof/reconstruct.ML \
- ROOT.ML Syntax/ROOT.ML Syntax/ast.ML Syntax/lexicon.ML \
- Syntax/mixfix.ML Syntax/parser.ML Syntax/printer.ML \
- Syntax/syn_ext.ML Syntax/syn_trans.ML Syntax/syntax.ML \
- Syntax/token_trans.ML Syntax/type_ext.ML Thy/ROOT.ML Thy/html.ML \
- Thy/latex.ML Thy/present.ML Thy/thm_database.ML Thy/thm_deps.ML \
- Thy/thy_info.ML Thy/thy_load.ML Thy/thy_parse.ML Thy/thy_scan.ML \
- Thy/thy_syn.ML axclass.ML basis.ML codegen.ML context.ML display.ML \
- drule.ML envir.ML fact_index.ML goals.ML install_pp.ML library.ML \
- logic.ML meta_simplifier.ML net.ML pattern.ML proof_general.ML \
- proofterm.ML pure.ML pure_thy.ML search.ML sign.ML sorts.ML \
- tactic.ML tctical.ML term.ML theory.ML theory_data.ML thm.ML type.ML \
+$(OUT)/Pure: General/ROOT.ML General/buffer.ML General/file.ML \
+ General/graph.ML General/heap.ML General/history.ML \
+ General/lazy_scan.ML General/lazy_seq.ML General/name_space.ML \
+ General/object.ML General/path.ML General/position.ML General/pretty.ML \
+ General/scan.ML General/seq.ML General/source.ML General/susp.ML \
+ General/symbol.ML General/table.ML General/url.ML \
+ General/xml.ML Isar/ROOT.ML Isar/antiquote.ML Isar/args.ML \
+ Isar/attrib.ML Isar/auto_bind.ML Isar/calculation.ML \
+ Isar/context_rules.ML Isar/induct_attrib.ML Isar/isar.ML \
+ Isar/isar_cmd.ML Isar/isar_output.ML Isar/isar_syn.ML \
+ Isar/isar_thy.ML Isar/locale.ML Isar/method.ML Isar/net_rules.ML \
+ Isar/object_logic.ML Isar/obtain.ML Isar/outer_lex.ML \
+ Isar/outer_parse.ML Isar/outer_syntax.ML Isar/proof.ML \
+ Isar/proof_context.ML Isar/proof_data.ML Isar/proof_history.ML \
+ Isar/rule_cases.ML Isar/session.ML Isar/skip_proof.ML \
+ Isar/thy_header.ML Isar/toplevel.ML ML-Systems/mlworks.ML \
+ ML-Systems/polyml-3.x.ML ML-Systems/polyml.ML \
+ ML-Systems/smlnj-0.93.ML ML-Systems/smlnj-compiler.ML \
+ ML-Systems/smlnj.ML Proof/ROOT.ML Proof/extraction.ML \
+ Proof/proof_rewrite_rules.ML \
+ Proof/proof_syntax.ML Proof/proofchecker.ML Proof/reconstruct.ML \
+ ROOT.ML Syntax/ROOT.ML Syntax/ast.ML Syntax/lexicon.ML \
+ Syntax/mixfix.ML Syntax/parser.ML Syntax/printer.ML \
+ Syntax/syn_ext.ML Syntax/syn_trans.ML Syntax/syntax.ML \
+ Syntax/token_trans.ML Syntax/type_ext.ML Thy/ROOT.ML Thy/html.ML \
+ Thy/latex.ML Thy/present.ML Thy/thm_database.ML Thy/thm_deps.ML \
+ Thy/thy_info.ML Thy/thy_load.ML Thy/thy_parse.ML Thy/thy_scan.ML \
+ Thy/thy_syn.ML axclass.ML basis.ML codegen.ML context.ML display.ML \
+ drule.ML envir.ML fact_index.ML goals.ML install_pp.ML library.ML \
+ logic.ML meta_simplifier.ML net.ML pattern.ML proof_general.ML \
+ proofterm.ML pure.ML pure_thy.ML search.ML sign.ML sorts.ML \
+ tactic.ML tctical.ML term.ML theory.ML theory_data.ML thm.ML type.ML \
type_infer.ML unify.ML
@./mk