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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
;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\305\306DD\307\310\311\312\313\314\315\316\317& \207" [require ob custom-declare-variable org-babel-J-command funcall function #[0 "\300\207" [#1="jconsole"] 1 #1#] "Command to call J." :group org-babel :version "26.1" :package-version (Org . "9.0") :type string] 12)
#@138 Expand BODY according to PARAMS, return the expanded body.
PROCESSED-PARAMS isn't used yet.
 
(fn BODY PARAMS &optional PROCESSED-PARAMS)
(defalias 'org-babel-expand-body:J #[770 "\300!\207" [org-babel-J-interleave-echos-except-functions] 5 (#$ . 714)])
#@65 Interleave echo',' between each source line of BODY.
 
(fn BODY)
(defalias 'org-babel-J-interleave-echos #[257 "\300\301\302\303\"\304#\207" [mapconcat identity split-string "\n" "\necho','\n"] 6 (#$ . 974)])
#@83 Interleave echo',' between source lines of BODY that aren't functions.
 
(fn BODY)
(defalias 'org-babel-J-interleave-echos-except-functions #[257 "\300\301\"\203+\211\302\211\224O\303\302\"\302\225\304O\305\230\203\305\202$\306!\307P\307\310!R\207\306!\207" [obj-string-match-m "\\(?:^\\|\n\\)[^\n]*\\(?:0\\|1\\|2\\|3\\|4\\|dyad\\) : 0\n.*\n)\\(?:\n\\|$\\)" 0 match-string nil "" org-babel-J-interleave-echos "\necho','\n" org-babel-J-interleave-echos-except-functions] 9 (#$ . 1189)])
(defalias 'org-babel-execute:j 'org-babel-execute:J)
#@139 Execute a block of J code BODY.
PARAMS are given by org-babel.
This function is called by `org-babel-execute-src-block'
 
(fn BODY PARAMS)
(defalias 'org-babel-execute:J #[514 "\301\302!\210\303!\304\236A\305#\306\307!\310!\210\311\312\230\203R\313\314\315!!\316\317\320\321\322!\323\"\324$\216r\211q\210c\210)r\211q\210\325\326\211\326\317%\210*\266\327\330\331#\332\"\202U\333!!\207" [org-babel-J-command message "executing J source code block" org-babel-process-params :session org-babel-expand-body:J org-babel-temp-file "J-src" org-babel-j-initiate-session org-babel-J-strip-whitespace "none" 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 write-region nil org-babel-eval format "%s < %s" "" org-babel-J-eval-string] 15 (#$ . 1746)])
#@69 Sends STR to the `j-console-cmd' session and executes it.
 
(fn STR)
(defalias 'org-babel-J-eval-string #[257 "\300 r\301!q\210db\210\302\303\"c\210`\304 \210\305\306!\210\307d\"\262)\207" [j-console-ensure-session process-buffer format "\n%s\n" comint-send-input sit-for 0.1 buffer-substring-no-properties] 6 (#$ . 2609)])
#@55 Remove whitespace from jconsole output STR.
 
(fn STR)
(defalias 'org-babel-J-strip-whitespace #[257 "\300\301\302\303\304\305\306\307\310#\"\"\311#\207" [mapconcat identity delete "" mapcar org-babel-J-print-block split-string "^ *,\n" t "\n\n"] 11 (#$ . 2942)])
#@163 Return a number to describe STR alignment.
STR represents a table.
Positive/negative/zero result means right/left/undetermined.
Don't trust first line.
 
(fn STR)
(defalias 'obj-get-string-alignment #[257 "\300!\301\302\303#\304\211G\305X\203\306\202\227G\307U\203J\310@!\247\203F\310A@!\247\203F\311@!\211\262\203F\311A@!\211\262\203F\211\202\227\306\202\227\312@!\204U\306\202\227\312A@!\211\262\203u\312\3078!\211\262\203uU\203u\202\227\311A@!\211\262\203\226\311\3078!\211\262\203\226U\203\226[\202\227\306\207" [org-trim split-string "\n" t nil 1 0 2 read obj-match-second-space-right obj-match-second-space-left] 8 (#$ . 3214)])
#@37 Prettify jconsole output X.
 
(fn X)
(defalias 'org-babel-J-print-block #[257 "\300!\301!\302\303\304#\305\306W\203#\307@!\262\310\\\311\"P\202;\306V\203:\312@!\262\310Z\311\"P\202;\207" [org-trim obj-get-string-alignment split-string "\n" t nil 0 obj-match-second-space-right make-string 32 obj-match-second-space-left] 8 (#$ . 3899)])
#@78 Return position of leftmost space in second space block of S or nil.
 
(fn S)
(defalias 'obj-match-second-space-left #[257 "\300\301\"\205    \302\224\207" [string-match "^ *[^ ]+\\( \\)" 1] 4 (#$ . 4261)])
#@79 Return position of rightmost space in second space block of S or nil.
 
(fn S)
(defalias 'obj-match-second-space-right #[257 "\300\301\"\205    \302\224\207" [string-match "^ *[^ ]+ *\\( \\)[^ ]" 1] 4 (#$ . 4472)])
#@134 Call (string-match REGEXP STRING START).
REGEXP is modified so that .* matches newlines as well.
 
(fn REGEXP STRING &optional START)
(defalias 'obj-string-match-m #[770 "\300\301\302\303##\207" [string-match replace-regexp-in-string "\\.\\*" "[-\377[:nonascii:]]*"] 8 (#$ . 4692)])
#@90 Initiate a J session.
SESSION is a parameter given by org-babel.
 
(fn &optional SESSION)
(defalias 'org-babel-j-initiate-session #[256 "\211\300\230?\205 \301\302!\210\303 \207" ["none" require j-console j-console-ensure-session] 3 (#$ . 4985)])
(provide 'ob-J)