Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mu-impl-ref2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mu
mu-impl-ref2
Commits
157e3132
Commit
157e3132
authored
Jul 27, 2014
by
Kunshan Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transformed into an SBT project.
parent
6ab25910
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
72 additions
and
61 deletions
+72
-61
.classpath
.classpath
+20
-13
.gitignore
.gitignore
+5
-2
.project
.project
+12
-17
build.sbt
build.sbt
+31
-0
build.xml
build.xml
+0
-29
sbt-antlr4.sbt
project/sbt-antlr4.sbt
+4
-0
uIR.g4
src/main/antlr4/uIR.g4
+0
-0
No files found.
.classpath
View file @
157e3132
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpath>
<classpathentry
kind=
"src"
path=
"src/main/scala"
/>
<classpathentry output="target/scala-2.11/classes" kind="src" path="src/main/scala"/>
<classpathentry
kind=
"src"
path=
"src/test/scala"
/>
<classpathentry output="target/scala-2.11/classes" kind="src" path="src/main/java"/>
<classpathentry
kind=
"src"
path=
"src/main/java"
/>
<classpathentry output="target/scala-2.11/classes" kind="src" path="target/gen/main"/>
<classpathentry
kind=
"src"
path=
"src/test/java"
/>
<classpathentry output="target/scala-2.11/classes" kind="src" path="src/main/resources"/>
<classpathentry
kind=
"src"
path=
"target/uir-parser-generated"
/>
<classpathentry output="target/scala-2.11/test-classes" kind="src" path="src/test/scala"/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"
/>
<classpathentry output="target/scala-2.11/test-classes" kind="src" path="src/test/java"/>
<classpathentry
kind=
"lib"
path=
"lib/antlr-4.2-complete.jar"
/>
<classpathentry output="target/scala-2.11/test-classes" kind="src" path="src/test/resources"/>
<classpathentry
kind=
"lib"
path=
"lib/scalatest_2.11-2.2.0.jar"
/>
<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
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 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
kind=
"con"
path=
"org.scala-ide.sdt.launching.SCALA_CONTAINER"
/>
<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
kind=
"output"
path=
"target/eclipsebuild"
/>
<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"/>
</classpath>
<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
.gitignore
View file @
157e3132
/target
target
/.cache
.cache
.project
.classpath
.settings
.project
View file @
157e3132
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<projectDescription>
<name>
simplest-microvm-project
</name>
<name>simplest-microvm-project</name>
<comment></comment>
<buildSpec>
<projects>
<buildCommand>
</projects>
<name>org.scala-ide.sdt.core.scalabuilder</name>
<buildSpec>
</buildCommand>
<buildCommand>
</buildSpec>
<name>
org.scala-ide.sdt.core.scalabuilder
</name>
<natures>
<arguments>
<nature>org.scala-ide.sdt.core.scalanature</nature>
</arguments>
<nature>org.eclipse.jdt.core.javanature</nature>
</buildCommand>
</natures>
</buildSpec>
<linkedResources> </linkedResources>
<natures>
</projectDescription>
<nature>
org.scala-ide.sdt.core.scalanature
</nature>
\ No newline at end of file
<nature>
org.eclipse.jdt.core.javanature
</nature>
</natures>
</projectDescription>
build.sbt
0 → 100644
View file @
157e3132
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"
)
}
build.xml
deleted
100644 → 0
View file @
6ab25910
<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>
project/sbt-antlr4.sbt
0 → 100644
View file @
157e3132
resolvers
+=
"simplytyped.com"
at
"http://simplytyped.com/repo/releases"
addSbtPlugin
(
"com.simplytyped"
%
"sbt-antlr4"
%
"0.7.2"
)
uIR.g4
→
src/main/antlr4/
uIR.g4
View file @
157e3132
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment