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
- Host: GitHub
- URL: https://github.com/zweifisch/ob-groovy
- Owner: zweifisch
- Created: 2017-11-21T23:20:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-21T23:21:17.000Z (over 8 years ago)
- Last Synced: 2025-03-22T18:45:12.718Z (over 1 year ago)
- Topics: emacs, groovy, groovysh, org-babel, org-mode
- Language: Emacs Lisp
- Size: 1000 Bytes
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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