An open API service indexing awesome lists of open source software.

https://github.com/zweifisch/ob-groovy

org-babel functions for groovy evaluation
https://github.com/zweifisch/ob-groovy

emacs groovy groovysh org-babel org-mode

Last synced: about 2 months ago
JSON representation

org-babel functions for groovy evaluation

Awesome Lists containing this project

README

          

* ob-groovy

** supported header arguments

- session

** examples

*** without session

: #+BEGIN_SRC groovy
: def dict = [:]
: dict.key = 'value'
: println dict
: #+END_SRC
:
: #+RESULTS:
: : [key:value]

*** with session, last expression is printed

: #+BEGIN_SRC groovy :session
: (head, tail) = 'head,tail'.split(',')
: #+END_SRC
:
: #+RESULTS:
: : [head, tail]

: #+BEGIN_SRC groovy :session
: tail
: #+END_SRC
:
: #+RESULTS:
: : tail