use of com.twosigma.beakerx.scala.evaluator.ScalaEvaluator in project beakerx by twosigma.
the class Scala method main.
public static void main(final String[] args) throws InterruptedException, IOException {
KernelRunner.run(() -> {
String id = uuid();
ScalaEvaluator se = new ScalaEvaluator(id, id, null, // TODO check what to put, need for autotranslation
getKernelParameters());
// js.setupAutoTranslation(); -- uncomment
KernelSocketsFactoryImpl kernelSocketsFactory = new KernelSocketsFactoryImpl(new KernelConfigurationFile(args));
return new Scala(id, se, kernelSocketsFactory);
});
}
Aggregations