A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Lompik/ob-nim below:

GitHub - Lompik/ob-nim

Nim Org 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)  ...))
Extra Org Babel header args

Passing variables and Org tables with :var header args is supported. Org tables are passed as 2D Nim arrays without the :colnames header.

With :colnames, Org tables will be of Nim Table type, with the Org table header elements as keys.

You can specify libraries in the header. Example: :import sequtils tables ...

You can define symbols with :define release ssl ...

See examples.org.

Before submitting a PR, it will be useful to ensure that all tests in this repo pass locally. The user will need to have cask installed on their system, and of course nim.

When providing a PR for a bug fix or a new feature, also add related tests to test-ob-nim.el.

To test your changes, run this from the repo root:

make test

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4