;ELC
|
;;; Compiled
|
;;; in Emacs version 26.1
|
;;; with all optimizations.
|
|
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
|
|
;;; This file does not contain utf-8 non-ASCII characters,
|
;;; and so can be loaded in Emacs versions earlier than 23.
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
(byte-code "\300\301!\210\300\302!\210\303\304\305\"\207" [require ob cl-lib add-to-list org-babel-tangle-lang-exts ("lua" . "lua")] 3)
|
(defvar org-babel-default-header-args:lua nil)
|
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313\314\315&\210\300\316\302\303\317DD\320\312\313\306\307\310\321\314\322&\210\300\323\302\303\324DD\325\312\313\306\307\310\326\314\315&\210\300\327\302\303\330DD\331\312\313\306\307\310\332\314\322&\207" [custom-declare-variable org-babel-lua-command funcall function #[0 "\300\207" [#1="lua"] 1 #1#] "Name of the command for executing Lua code." :version "26.1" :package-version (Org . "8.3") :group org-babel :type string org-babel-lua-mode #[0 "\300\207" [lua-mode] 1] "Preferred lua mode for use in running lua interactively.\nThis will typically be 'lua-mode." (Org . "8.3") symbol org-babel-lua-hline-to #[0 "\300\207" [#2="None"] 1 #2#] "Replace hlines in incoming tables with this when translating to lua." (Org . "8.3") org-babel-lua-None-to #[0 "\300\207" [hline] 1] "Replace 'None' in lua tables with this before returning." (Org . "8.3")] 12)
|
#@117 Execute a block of Lua code with Babel.
|
This function is called by `org-babel-execute-src-block'.
|
|
(fn BODY PARAMS)
|
(defalias 'org-babel-execute:lua #[514 "\300\301\236A!\302\236A\303\236A\211\304=\205 ?\205 \305\236A\306\236A\307\203/ \310\311\"\2020 \312P\313 !#\314%\315\316\317\236A\320\f\236A\"\316\321\f\236A\322 \236A\"#\207" [org-babel-lua-initiate-session :session :result-params :result-type value :return :preamble org-babel-expand-body:generic format "\nreturn %s" "" org-babel-variable-assignments:lua org-babel-lua-evaluate org-babel-reassemble-table org-babel-pick-name :colname-names :colnames :rowname-names :rownames] 16 (#$ . 1513)])
|
#@126 Prepare SESSION according to the header arguments in PARAMS.
|
VARS contains resolved variable references
|
|
(fn SESSION PARAMS)
|
(defalias 'org-babel-prep-session:lua #[514 "\301!\302!\303!\204 \304\305\"\210\306 \307\310\311\312\313!\314\"\315$\216rq\210\212\316\317\307\320\321\312\313!\322\"\315\323%\"\210,\210\207" [comint-input-filter org-babel-lua-initiate-session org-babel-variable-assignments:lua org-babel-comint-buffer-livep error "Buffer %s does not exist or has no process" match-data make-byte-code 0 "\301\300\302\"\207" vconcat vector [set-match-data evaporate] 3 #[257 "\300\207" [nil] 2 "\n\n(fn INPUT)"] mapc 257 "\301\210\211c\210\302 \210\303\300!\207" [1 comint-send-input org-babel-comint-wait-for-output] "\n\n(fn VAR)"] 12 (#$ . 2203)])
|
#@51 Load BODY into SESSION.
|
|
(fn SESSION BODY PARAMS)
|
(defalias 'org-babel-load-session:lua #[771 "\300 \301\302\303\304\305!\306\"\307$\216\310\"r\211q\210\311\312p!!b\210\313!c\210)\211\262)\207" [current-window-configuration make-byte-code 0 "\301\300!\207" vconcat vector [set-window-configuration] 2 org-babel-prep-session:lua process-mark get-buffer-process org-babel-chomp] 10 (#$ . 2981)])
|
#@79 Return a list of Lua statements assigning the block's variables.
|
|
(fn PARAMS)
|
(defalias 'org-babel-variable-assignments:lua #[257 "\300\301\302!\"\207" [mapcar #[257 "\300\301@\302A!#\207" [format "%s=%s" org-babel-lua-var-to-lua] 6 "\n\n(fn PAIR)"] org-babel--get-vars] 5 (#$ . 3386)])
|
#@156 Convert an elisp value to a lua variable.
|
Convert an elisp value, VAR, into a string of lua source code
|
specifying a variable of the same value.
|
|
(fn VAR)
|
(defalias 'org-babel-lua-var-to-lua #[257 "\211<\2038 \211G\301U\203 \211@<\204 \302@!\207\211G\303U\203/ \211@<\204/ \304@!\305\302A!Q\207\306\307\302\310#\311Q\207\211\312=\203@ \207\313;\203Q \314\315\"\203Q \316\202R \317;\203] \304!\202^ \"\207" [org-babel-lua-hline-to 1 org-babel-lua-var-to-lua 2 substring-no-properties "=" "{" mapconcat ", " "}" hline format string-match "[\n ]" "\"\"%S\"\"" "%S"] 6 (#$ . 3683)])
|
#@192 Convert RESULTS into an appropriate elisp value.
|
If the results look like a list or tuple, then convert them into an
|
Emacs-lisp table, otherwise return the results as a string.
|
|
(fn RESULTS)
|
(defalias 'org-babel-lua-table-or-string #[257 "\300!\211<\203 \301\302\"\202 \211\207" [org-babel-script-escape mapcar #[257 "\211\301=\203 \207\207" [org-babel-lua-None-to None] 3 "\n\n(fn EL)"]] 5 (#$ . 4281)])
|
(defvar org-babel-lua-buffers '((:default . "*Lua*")))
|
#@58 Return the buffer associated with SESSION.
|
|
(fn SESSION)
|
(defalias 'org-babel-lua-session-buffer #[257 "\301\"A\207" [org-babel-lua-buffers assoc] 4 (#$ . 4753)])
|
#@16
|
|
(fn SESSION)
|
(defalias 'org-babel-lua-with-earmuffs #[257 "\211;\203 |