GitLab will be upgraded to the 12.10.14-ce.0 on 28 Sept 2020 at 2.00pm (AEDT) to 2.30pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

Commit 157e3132 authored by Kunshan Wang's avatar Kunshan Wang

Transformed into an SBT project.

parent 6ab25910
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/scala"/>
<classpathentry kind="src" path="src/test/scala"/>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/test/java"/>
<classpathentry kind="src" path="target/uir-parser-generated"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="lib" path="lib/antlr-4.2-complete.jar"/>
<classpathentry kind="lib" path="lib/scalatest_2.11-2.2.0.jar"/>
<classpathentry kind="lib" path="lib/scala-parser-combinators_2.11-1.0.1.jar" sourcepath="lib/scala-parser-combinators_2.11-1.0.1-sources.jar"/>
<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/>
<classpathentry kind="output" path="target/eclipsebuild"/>
</classpath>
<classpathentry output="target/scala-2.11/classes" kind="src" path="src/main/scala"/>
<classpathentry output="target/scala-2.11/classes" kind="src" path="src/main/java"/>
<classpathentry output="target/scala-2.11/classes" kind="src" path="target/gen/main"/>
<classpathentry output="target/scala-2.11/classes" kind="src" path="src/main/resources"/>
<classpathentry output="target/scala-2.11/test-classes" kind="src" path="src/test/scala"/>
<classpathentry output="target/scala-2.11/test-classes" kind="src" path="src/test/java"/>
<classpathentry output="target/scala-2.11/test-classes" kind="src" path="src/test/resources"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.antlr/antlr4/srcs/antlr4-4.3-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.antlr/antlr4/jars/antlr4-4.3.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.antlr/antlr4-runtime/srcs/antlr4-runtime-4.3-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.antlr/antlr4-runtime/jars/antlr4-runtime-4.3.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.abego.treelayout/org.abego.treelayout.core/srcs/org.abego.treelayout.core-1.0.1-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.abego.treelayout/org.abego.treelayout.core/jars/org.abego.treelayout.core-1.0.1.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.antlr/antlr4-annotations/srcs/antlr4-annotations-4.3-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.antlr/antlr4-annotations/jars/antlr4-annotations-4.3.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.antlr/antlr-runtime/srcs/antlr-runtime-3.5.2-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.antlr/antlr-runtime/jars/antlr-runtime-3.5.2.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.antlr/ST4/srcs/ST4-4.0.8-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.antlr/ST4/jars/ST4-4.0.8.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/srcs/scala-parser-combinators_2.11-1.0.2-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/bundles/scala-parser-combinators_2.11-1.0.2.jar"/>
<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.scalatest/scalatest_2.11/srcs/scalatest_2.11-2.2.0-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.scalatest/scalatest_2.11/bundles/scalatest_2.11-2.2.0.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/srcs/scala-xml_2.11-1.0.1-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/bundles/scala-xml_2.11-1.0.1.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
\ No newline at end of file
/target
/.cache
target
.cache
.project
.classpath
.settings
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>simplest-microvm-project</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.scala-ide.sdt.core.scalabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.scala-ide.sdt.core.scalanature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
<name>simplest-microvm-project</name>
<buildSpec>
<buildCommand>
<name>org.scala-ide.sdt.core.scalabuilder</name>
</buildCommand>
</buildSpec>
<natures>
<nature>org.scala-ide.sdt.core.scalanature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<linkedResources> </linkedResources>
</projectDescription>
\ No newline at end of file
organization := "org.microvm"
name := "simplest-microvm-project"
description := "An attempt to make the simplest (in term of conciseness) Micro-VM implementation"
licenses := Seq("CC BY-SA 4.0" -> url("https://creativecommons.org/licenses/by-sa/4.0/legalcode"))
scalaVersion := "2.11.2"
libraryDependencies := Seq(
"org.antlr" % "antlr4" % "4.3",
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.2",
"org.scalatest" %% "scalatest" % "2.2.0"
)
antlr4Settings
antlr4PackageName in Antlr4 := Some("uvm.ir.textinput.gen")
antlr4GenListener in Antlr4 := false
antlr4GenVisitor in Antlr4 := false
sourceManaged := file("target/gen")
unmanagedSourceDirectories in Compile <++= baseDirectory { base =>
Seq(
base / "target/gen/main"
)
}
<project name="uvm-compiler" default="build" basedir=".">
<property name="antlr-jar" location="lib/antlr-4.2-complete.jar" />
<property name="uvm-dir" location="src" />
<property name="uir-rule" location="uIR.g4" />
<property name="uir-parser-package" value="uvm.ir.textinput.gen" />
<property name="uir-parser-path" value="uvm/ir/textinput/gen" />
<property name="uir-parser-generated" location="target/uir-parser-generated" />
<target name="build-uir-parser">
<echo message="Generating uIR parser from ${uir-rule} to ${uir-parser-generated}" />
<mkdir dir="${uir-parser-generated}" />
<java jar="${antlr-jar}" fork="true" failonerror="true">
<arg value="${uir-rule}" />
<arg line="-no-listener" />
<arg line="-package ${uir-parser-package}" />
<arg line="-o ${uir-parser-generated}/${uir-parser-path}/" />
</java>
</target>
<target name="clean">
<delete dir="${uir-parser-generated}" />
</target>
<target name="build" depends="build-uir-parser">
</target>
</project>
resolvers += "simplytyped.com" at "http://simplytyped.com/repo/releases"
addSbtPlugin("com.simplytyped" % "sbt-antlr4" % "0.7.2")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment