No description, website, or topics provided.
Emacs Lisp Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.gitignore
.travis.yml
Cask
LICENSE
Makefile
Readme.org
examples.org
ob-nim.el

Readme.org

Nim org-mode babel integration

ob-nim adds support for evaluating org-mode source code blocks (C-c C-c inside a code block). To enable this feature add nim to your babel languages after loading ob-nim:

(org-babel-do-load-languages
  'org-babel-load-languages
  '((emacs-lisp . t) (org . t) (nim . t)  ...))

Passing variables and org tables with :var headers is supported. org tables are passed as 2D nim’s array without the :colnames header. With :colnames, org tables will be nim’s Table with the org table header as keys.

Additionally, you can specify libraries in the header for example :import sequtils tables .. and also define symbols with :define release ssl ....

See https://github.com/Lompik/ob-nim/raw/master/examples.org for details.