;; We assume that HDFqlCLI is in the path and that libHDFql.so is in
;; the LD_LIBRARY_PATH.
(defun org-babel-execute:hdfql (body params)
"Execute a block of HDFql code with org-babel."
(message "executing HDFql source code block")
(org-babel-eval
(format "HDFqlCLI --no-status --execute=\"%s\"" body) ""))
(push '("hdfql" . sql) org-src-lang-modes)
(add-to-list 'org-structure-template-alist '("hq" . "src hdfql"))
@contact Do you have an (E)BNF grammar of HDFql somewhere? The language description in section 6 of your reference manual is pretty thorough, but is there a standalone grammar somewhere?
Thanks for sharing this @gheber! Would it make sense to create a Git repository where the file could be stored/versioned? This would enable other people to contribute to its maintenance, including ourselves.