Babel support for Julia
The documentation for Julia describes it as "a flexible dynamic language, appropriate for scientific and numerical computing, with performance comparable to traditional statically-typed languages … [that] features optional typing, multiple dispatch, and good performance, achieved using type inference and just-in-time compilation, implemented using LLVM."
Julia code blocks can be used in Org to define functions, filter and analyze data, create graphics and figures, and produce reproducible research papers.
Requirements and Setup
Julia code blocks in Org require a working Julia installation. Julia is available for FreeBSD on ARM, Linux on ARM or x86, macOS on ARM or x86, and Windows. See below for further requirements for sessions with Julia.
Org mode can be configured to use Julia by creating an entry for it in
org-babel-load-languages will contain many entries. The example below omits other languages.
(org-babel-do-load-languages 'org-babel-load-languages '((julia . t)))
Babel Features for Julia Code Blocks
There are no Julia-specific default header arguments.
Babel support for Julia defines two Julia-specific header arguments,
Examples of Use
Here is the standard Hello World example in Julia.
In the Org mode buffer:
#+begin_src julia :results output print("Hello World!") #+end_src
HTML export of the code block:
HTML export of the result: