author | nipkow |
Tue, 17 Jun 2025 14:11:40 +0200 | |
changeset 82733 | 8b537e1af2ec |
parent 76798 | 69d8d16c5612 |
permissions | -rw-r--r-- |
72748
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
1 |
/* Title: HOL/SPARK/Tools/spark.scala |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
2 |
Author: Makarius |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
3 |
|
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
4 |
Scala support for HOL-SPARK. |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
5 |
*/ |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
6 |
|
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
7 |
package isabelle.spark |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
8 |
|
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
9 |
import isabelle._ |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
10 |
|
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
11 |
|
75393 | 12 |
object SPARK { |
13 |
class Load_Command1 extends Command_Span.Load_Command("spark_vcg", Scala_Project.here) { |
|
76798 | 14 |
override def toString: String = print_extensions |
72748
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
15 |
override val extensions: List[String] = List("vcg", "fdl", "rls") |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
16 |
} |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
17 |
|
75393 | 18 |
class Load_Command2 extends Command_Span.Load_Command("spark_siv", Scala_Project.here) { |
76798 | 19 |
override def toString: String = print_extensions |
72748
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
20 |
override val extensions: List[String] = List("siv", "fdl", "rls") |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
21 |
} |
04d5f6d769a7
more flexible syntax for theory load commands via Isabelle/Scala;
wenzelm
parents:
diff
changeset
|
22 |
} |