This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; generate-table | |
(require 's) | |
(require 'seq) | |
(require 'subr-x) | |
(defun gentbl-get-table-header (table-list) | |
(car table-list)) | |
(defun gentbl-swap (tl) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use-modules (ice-9 peg)) | |
(define-peg-string-patterns | |
"True <-- 'true' | |
False <-- 'false' | |
Null <-- 'null' | |
WS < (' ' / '\n' / '\r' / '\t')* | |
Number <-- Minus? IntegralPart FractionalPart? ExponentPart? | |
Minus <- '-' | |
IntegralPart <- '0' / [1-9] [0-9]* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((lambda (interpret) | |
;; code | |
(interpret '((lambda (interpret) | |
;; code | |
(interpret '((lambda (a b) ((lambda (c d) (cons c d)) a b)) 1 2)) | |
) | |
((lambda (primitive-environment new-env lookup assign) | |
((lambda (exec) | |
(lambda (exp) | |
(exec exp primitive-environment))) |
OlderNewer