Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use jflex-scala for lexing #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,6 @@ keymaerax-webui/src/main/resources/keymaerax-projects
keymaerax-webui/src/test/resources/examples/course/labs/*
release_scaladoc.pl
redo

#Generated with JFlex-Scala
keymaerax-core/src/main/scala/KeYmaeraXLexer.scala
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Building
To compile KeYmaera X from source code, see [Building Instructions](https://github.com/LS-Lab/KeYmaeraX-release/wiki/Building-Instructions).
In a nutshell, install the right software and run:

sbt clean assembly
sbt clean compile assembly


Publications
Expand Down
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ scalaVersion in ThisBuild := "2.12.4"
version := new BufferedReader(new FileReader("keymaerax-core/src/main/resources/VERSION")).readLine()

lazy val core = (project in file("keymaerax-core"))
.enablePlugins(sbtjflexscala.SbtJFlexScala)

lazy val keymaeraxAssemblySettings = AssemblyPlugin.assemblySettings ++ Seq(
mainClass in assembly := Some("edu.cmu.cs.ls.keymaerax.launcher.Main"),
Expand All @@ -21,6 +22,7 @@ lazy val keymaeraxAssemblySettings = AssemblyPlugin.assemblySettings ++ Seq(
lazy val keymaerax = (project in file("keymaerax-webui"))
.dependsOn(core)
.settings(inConfig(Test)(keymaeraxAssemblySettings): _*)
.disablePlugins(sbtjflexscala.SbtJFlexScala)

lazy val root = (project in file("."))
.settings(unidocSettings: _*)
Expand All @@ -30,6 +32,7 @@ lazy val root = (project in file("."))
)
.settings(inConfig(Test)(keymaeraxAssemblySettings): _*)
.aggregate(core, keymaerax)
.disablePlugins(sbtjflexscala.SbtJFlexScala)


// extra runtime checks for initialization order: "-Xcheckinit"
Expand Down
Loading