Search in sources :

Example 1 with ClojureEvaluator

use of com.twosigma.beakerx.clojure.evaluator.ClojureEvaluator in project beakerx by twosigma.

the class Clojure method main.

public static void main(final String[] args) throws InterruptedException, IOException {
    KernelRunner.run(() -> {
        String id = uuid();
        KernelSocketsFactoryImpl kernelSocketsFactory = new KernelSocketsFactoryImpl(new KernelConfigurationFile(args));
        ClojureEvaluator evaluator = new ClojureEvaluator(id, id, getKernelParameters());
        return new Clojure(id, evaluator, kernelSocketsFactory);
    });
}
Also used : ClojureEvaluator(com.twosigma.beakerx.clojure.evaluator.ClojureEvaluator) KernelConfigurationFile(com.twosigma.beakerx.kernel.KernelConfigurationFile) KernelSocketsFactoryImpl(com.twosigma.beakerx.kernel.KernelSocketsFactoryImpl)

Aggregations

ClojureEvaluator (com.twosigma.beakerx.clojure.evaluator.ClojureEvaluator)1 KernelConfigurationFile (com.twosigma.beakerx.kernel.KernelConfigurationFile)1 KernelSocketsFactoryImpl (com.twosigma.beakerx.kernel.KernelSocketsFactoryImpl)1