mirror of https://github.com/Chizi123/.emacs.d.git

Chizi123
2018-11-18 76bbd07de7add0f9d13c6914f158d19630fe2f62
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
;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\302\303\304\"\207" [require ob add-to-list org-babel-tangle-lang-exts ("perl" . "pl")] 3)
(defvar org-babel-default-header-args:perl nil)
#@49 Name of command to use for executing perl code.
(defvar org-babel-perl-command "perl" (#$ . 572))
#@118 Execute a block of Perl code with Babel.
This function is called by `org-babel-execute-src-block'.
 
(fn BODY PARAMS)
(defalias 'org-babel-execute:perl #[514 "\300\236A\301\236A\302\236A\303\304!#\305!\306\307$\310\311    \236A\312\n\236A\"\310\313\n\236A\314 \236A\"#\207" [:session :result-params :result-type org-babel-expand-body:generic org-babel-variable-assignments:perl org-babel-perl-initiate-session org-babel-reassemble-table org-babel-perl-evaluate org-babel-pick-name :colname-names :colnames :rowname-names :rownames] 14 (#$ . 677)])
#@83 Prepare SESSION according to the header arguments in PARAMS.
 
(fn SESSION PARAMS)
(defalias 'org-babel-prep-session:perl #[514 "\300\301!\207" [error "Sessions are not supported for Perl"] 4 (#$ . 1245)])
#@78 Return list of perl statements assigning the block's variables.
 
(fn PARAMS)
(defalias 'org-babel-variable-assignments:perl #[257 "\300\301\302!\"\207" [mapcar #[257 "\300A@\"\207" [org-babel-perl--var-to-perl] 4 "\n\n(fn PAIR)"] org-babel--get-vars] 5 (#$ . 1456)])
#@48 Wrapper for variables inserted into Perl code.
(defvar org-babel-perl-var-wrap "q(%s)" (#$ . 1732))
#@172 Convert an elisp value to a perl variable.
The elisp value, VAR, is converted to a string of perl source code
specifying a var of the same value.
 
(fn VAR &optional VARN)
(defalias 'org-babel-perl--var-to-perl #[513 "\211\203\301<\302\303!\304\205\305\306!\307\260)\207\310\311_\312\"\211<\2039T\313\314\306\315#\316R)\202=\317\320\"\301U?\205E\321Q\207" [org-babel-perl--lvl 0 "my $" symbol-name "=" "\n" org-babel-perl--var-to-perl ";\n" make-string 2 32 "[\n" mapconcat "" "]" format "q(%s)" ",\n"] 10 (#$ . 1839)])
(defvar org-babel-perl-buffers '(:default))
#@87 Return nil because sessions are not supported by perl.
 
(fn &optional SESSION PARAMS)
(defalias 'org-babel-perl-initiate-session #[512 "\300\207" [nil] 3 (#$ . 2432)])
(defvar org-babel-perl-wrapper-method "{\n    my $babel_sub = sub {\n        %s\n    };\n    open my $BOH, qq(>%s) or die qq(Perl: Could not open output file.$/);\n    my $rv = &$babel_sub();\n    my $rt = ref $rv;\n    select $BOH;\n    if (qq(ARRAY) eq $rt) {\n        local $\\=$/;\n        local $,=qq(    );\n    foreach my $rv ( @$rv ) {\n        my $rt = ref $rv;\n        if (qq(ARRAY) eq $rt) {\n        print @$rv;\n        } else {\n        print $rv;\n        }\n    }\n    } else {\n    print $rv;\n    }\n}")
(defvar org-babel-perl-preface nil)
(defvar org-babel-perl-pp-wrapper-method nil)
#@284 Pass BODY to the Perl process in SESSION.
If RESULT-TYPE equals `output' then return a list of the outputs
of the statements in BODY, if RESULT-TYPE equals `value' then
return the value of the last statement in BODY, as elisp.
 
(fn SESSION IBODY &optional RESULT-TYPE RESULT-PARAMS)
(defalias 'org-babel-perl-evaluate #[1026 "\203\303\304!\210P\305\306!\307\310\"\311\267\202V\312\313\314!!\315\316\317\320\321!\322\"\323$\216r\211q\210\324    \"c\210\325 )rq\210\326\327\211\327\316%\210*\266\202\202W\324    \330\n#\"\202W\327\211\205\261\331\235?\205\257\332\235\204\245\333\235\204\245\334\235\204\245\335\235\204\245\336\235\204\245\337\235\204\245\340\235\204\237\341\235\204\237\342\235\204\237\343\235\203\253\344\235\204\253\345!\202\257\346\347\"\262\262\207" [org-babel-perl-preface org-babel-perl-command org-babel-perl-wrapper-method error "Sessions are not supported for Perl" org-babel-temp-file "perl-" org-babel-process-file-name noquote #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (output 24 value 74)) get-buffer-create generate-new-buffer-name " *temp file*" make-byte-code 0 "\301\300!\205    \302\300!\207" vconcat vector [buffer-name kill-buffer] 2 org-babel-eval buffer-string write-region nil format "none" "scalar" "verbatim" "html" "code" "pp" "file" "output" "raw" "org" "drawer" "table" org-babel-eval-read-file org-babel-import-elisp-from-file (16)] 16 (#$ . 3176)])
(provide 'ob-perl)