diff --git a/README.md b/README.md index ca1a273..8d3072c 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,6 @@ Options are optionally set in `options`, which is a semicolon-delimited list of - `js` JavaScript (Node) - `harmony` enables harmony features (`--harmony` on node) - `julia` Julia - - `e` prints the result of evaluating the code - `lisp` Racket - `lua` Lua - `ocaml` OCaml diff --git a/docker/julia/run.sh b/docker/julia/run.sh index 24de6e6..7cf9563 100644 --- a/docker/julia/run.sh +++ b/docker/julia/run.sh @@ -1,5 +1 @@ -if [ "$EVAL_EXPR" = "true" ]; then - printf %s "$1" | julia -E || true -else - printf %s "$1" | julia -e || true -fi +printf %s "$1" | julia diff --git a/src/languages/julia.js b/src/languages/julia.js index bbc20e0..31e8ddc 100644 --- a/src/languages/julia.js +++ b/src/languages/julia.js @@ -4,20 +4,9 @@ class Julia extends Language { constructor() { super('julia', { name: 'Julia', - aliases: ['julia'], - options: { - e: () => '' - } + aliases: ['julia'] }); } - - runWith(options) { - if (options.has('e')) { - return { env: { EVAL_EXPR: 'true' } }; - } - - return {}; - } } module.exports = Julia;