equal
deleted
inserted
replaced
92 end; |
92 end; |
93 |
93 |
94 val _ = |
94 val _ = |
95 Outer_Syntax.command \<^command_keyword>\<open>spark_open_vcg\<close> |
95 Outer_Syntax.command \<^command_keyword>\<open>spark_open_vcg\<close> |
96 "open a new SPARK environment and load a SPARK-generated .vcg file" |
96 "open a new SPARK environment and load a SPARK-generated .vcg file" |
97 (Resources.provide_parse_files "spark_open_vcg" -- Parse.parname |
97 (Resources.provide_parse_files (Resources.extensions ["vcg", "fdl", "rls"]) -- Parse.parname |
98 >> (Toplevel.theory o spark_open Fdl_Lexer.vcg_header)); |
98 >> (Toplevel.theory o spark_open Fdl_Lexer.vcg_header)); |
99 |
99 |
100 val _ = |
100 val _ = |
101 Outer_Syntax.command \<^command_keyword>\<open>spark_open\<close> |
101 Outer_Syntax.command \<^command_keyword>\<open>spark_open\<close> |
102 "open a new SPARK environment and load a SPARK-generated .siv file" |
102 "open a new SPARK environment and load a SPARK-generated .siv file" |
103 (Resources.provide_parse_files "spark_open" -- Parse.parname |
103 (Resources.provide_parse_files (Resources.extensions ["siv", "fdl", "rls"]) -- Parse.parname |
104 >> (Toplevel.theory o spark_open Fdl_Lexer.siv_header)); |
104 >> (Toplevel.theory o spark_open Fdl_Lexer.siv_header)); |
105 |
105 |
106 val pfun_type = Scan.option |
106 val pfun_type = Scan.option |
107 (Args.parens (Parse.list1 Parse.name) --| Args.colon -- Parse.name); |
107 (Args.parens (Parse.list1 Parse.name) --| Args.colon -- Parse.name); |
108 |
108 |