-
Notifications
You must be signed in to change notification settings - Fork 1
A source-level, batch conversion tool to migrate Scala programs from JDK to .NET
magarciaEPFL/jdk2ikvm
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
How to build jdk2ikvm ===================== 1) Compile all Scala source files from git@github.com:magarciaEPFL/jdk2ikvm.git 2) say the resulting classfiles are found in folder myplugins\jdk2ikvm\classes 3) prepare jdk2ikvm.jar del jdk2ikvm.jar jar -cf jdk2ikvm.jar -C myplugins\jdk2ikvm\classes scala -C myplugins\jdk2ikvm\resources\ . 4) where myplugins\jdk2ikvm\resources contains the plugin manifest scalac-plugin.xml <plugin> <name>jdk2ikvm</name> <classname>scala.tools.jdk2ikvm.JDK2IKVMPlugin</classname> </plugin> How to run jdk2ikvm =================== jdk2ikvm is a compiler plugin for the Scala compiler. Details on compiler plugins at http://www.scala-lang.org/node/140 It runs with the following version of the Scala compiler https://github.com/scala/scala/tree/c58b6a8716d70d32264d436b8224d0b33ad0d5a7 As with most compiler plugins, jdk2ikvm requires a few command-line options when run: -Ystop-after:superaccessors /*- given that the plugin runs right after typer */ -sourcepath bla\bla\src -P:jdk2ikvm:output-directory:bla\bla\out -d bla\bla\out /*- yes, again the same output folder as given above */ -Xplugin where\to\find\jdk2ikvm.jar -Yrangepos list of .scala source files to convert
About
A source-level, batch conversion tool to migrate Scala programs from JDK to .NET
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published