- Martin Odersky - @odersky
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <testsuite errors="1" failures="0" hostname="desktop" name="tools.test.osgi.BasicTest" skipped="0" tests="1" time="0.159" timestamp="2014-10-21T00:06:59"> | |
| <properties> | |
| <property name="env.LC_ADDRESS" value="de_DE.UTF-8" /> | |
| <property name="actors.package" value="" /> | |
| <property name="env.DEFAULTS_PATH" value="/usr/share/gconf/xubuntu.default.path" /> | |
| <property name="reflect.description" value="Scala Reflection Library" /> | |
| <property name="partest-extras.targetdir" value="lib" /> | |
| <property name="env.VCS_INFO_message_1_" value="zsh: scala" /> | |
| <property name="time.TODAY" value="October 21 2014" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| scala.reflect.internal.Types$TypeError: assignment to non variable | |
| at scala.tools.nsc.typechecker.Contexts$Context.issue(Contexts.scala:560) | |
| at scala.tools.nsc.typechecker.ContextErrors$ErrorUtils$.issueTypeError(ContextErrors.scala:97) | |
| at scala.tools.nsc.typechecker.ContextErrors$ErrorUtils$.issueNormalTypeError(ContextErrors.scala:86) | |
| at scala.tools.nsc.typechecker.ContextErrors$TyperContextErrors$TyperErrorGen$.AssignmentError(ContextErrors.scala:301) | |
| at scala.tools.nsc.typechecker.Typers$Typer.fail$2(Typers.scala:4124) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedAssign$1(Typers.scala:4127) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:5221) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5250) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5257) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| java.lang.Exception | |
| at scala.tools.nsc.typechecker.Contexts$Context.issueCommon(Contexts.scala:551) | |
| at scala.tools.nsc.typechecker.Contexts$Context.issue(Contexts.scala:560) | |
| at scala.tools.nsc.typechecker.ContextErrors$ErrorUtils$.issueTypeError(ContextErrors.scala:97) | |
| at scala.tools.nsc.typechecker.Typers$Typer.issue$1(Typers.scala:4745) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedIdent$2(Typers.scala:4761) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedIdentOrWildcard$1(Typers.scala:4786) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5215) | |
| at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5234) | |
| at scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5270) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Requirements: | |
| - Efficient by design (no "let's hope the optimizer/compiler rewrite rules/... figure this out") | |
| - Unified API which can support all implementations and input sources | |
| - Supports both push and pull models (event streams, collections, ...) | |
| - Reification of operations (to allow reasonable queries against databases as an input source) | |
| Conclusions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| scalaVersion := "2.11.1" | |
| organization := "de.oxnrtr" | |
| name := "psp-view-examples" | |
| version := "0.1.0-SNAPSHOT" | |
| libraryDependencies += "org.improving" %% "psp-view" % "0.1.2-SNAPSHOT" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sbt._ | |
| import Keys._ | |
| object BuildSettings { | |
| val buildSettings = Defaults.defaultSettings ++ Seq( | |
| organization := "de.oxnrtr.typeprovider", | |
| version := "0.4-SNAPSHOT", | |
| scalacOptions ++= Seq("-deprecation", "-feature"), | |
| scalaVersion := "2.11.1", | |
| resolvers += Resolver.sonatypeRepo("snapshots"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sbt._ | |
| import Keys._ | |
| object BuildSettings { | |
| val buildSettings = Defaults.defaultSettings ++ Seq( | |
| organization := "de.oxnrtr.psp", | |
| version := "0.1.2-SNAPSHOT", | |
| scalacOptions ++= Seq("-deprecation", "-feature"), | |
| scalaVersion := "2.11.1", | |
| exportJars := true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package pspex | |
| import psp.core._ | |
| object Main extends App { | |
| def double(x: Int) = { | |
| println(s"1# doubling $x") | |
| x * 2 | |
| } | |
| def greaterThanSix(x: Int) = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "stdint.h" | |
| #include "jni.h" | |
| #include "stdlib.h" | |
| #if (defined __MINGW32__) || (defined _MSC_VER) | |
| # define EXPORT __declspec(dllexport) | |
| #else | |
| # define EXPORT __attribute__ ((visibility("default"))) __attribute__ ((used)) | |
| #endif |