From 316d36256e2d2a09f0ad60a3416b6c0d8cd016ff Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Thu, 13 Oct 2016 16:50:43 +0100 Subject: [PATCH] julia: add page (#1089) Based on the [man page](https://github.com/JuliaLang/julia/blob/master/doc/man/julia.1), and on the [Getting started](https://github.com/JuliaLang/julia/blob/master/doc/manual/getting-started.rst) manual page. --- pages/common/julia.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/common/julia.md diff --git a/pages/common/julia.md b/pages/common/julia.md new file mode 100644 index 000000000..29ccb678f --- /dev/null +++ b/pages/common/julia.md @@ -0,0 +1,27 @@ +# julia + +> A high-level, high-performance dynamic programming language for technical computing. + +- Start a Julia REPL session: + +`julia` + +- Execute a Julia program and exit: + +`julia {{program.jl}}` + +- Execute a Julia program that takes arguments: + +`julia {{program.jl}} {{arguments}}` + +- Evaluate a string containing Julia code: + +`julia -e '{{julia_code}}'` + +- Evaluate a string of Julia code, passing arguments to it: + +`julia -e '{{for x in ARGS; println(x); end}}' {{arguments}}` + +- Start Julia in parallel mode, using N worker processes: + +`julia -p {{N}}`