Skip to content

Commit

Permalink
[61_7] Goldfish: update syntax for v17.10.8
Browse files Browse the repository at this point in the history
  • Loading branch information
JackYansongLi authored Nov 3, 2024
1 parent ef21d68 commit f64e175
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 10 additions & 1 deletion TeXmacs/plugins/goldfish/progs/code/liii-keyword.scm
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,20 @@
(define (liii-uuid)
(map symbol->string '(uuid4)))

(define (liii-base64)
(map symbol->string '(string-base64-encode bytevector-base64-encode base64-encode string-base64-decode bytevector-base64-decode base64-decode)))

(define (liii-bitwise)
(map symbol->string '(bitwise-not bitwise-and
bitwise-ior bitwise-xor bitwise-or bitwise-nor bitwise-nand
bit-count arithmetic-shift
lognot logand logior logxor
ash)))

(tm-define (liii-keywords)
`(,@(liii-base) ,@(liii-check) ,@(liii-list)
,@(liii-string) ,@(liii-os) ,@(liii-queue)
,@(liii-stack) ,@(liii-sys) ,@(liii-uuid)))
,@(liii-stack) ,@(liii-sys) ,@(liii-uuid) ,@(liii-base64) ,@(liii-bitwise)))

(tm-define (liii-keywords-define)
(map symbol->string
Expand Down
4 changes: 4 additions & 0 deletions TeXmacs/plugins/r7rs/progs/code/srfi-keyword.scm
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,7 @@
vector-any vector-every vector-copy vector-copy!
vector-index vector-index-right vector-partition
vector-swap!)))

(tm-define (srfi-151-keywords)
(map symbol->string
'(bitwise-not bitwise-and bitwise-ior bitwise-xor bitwise-or bitwise-nor bitwise-nand bit-count arithmetic-shift)))

0 comments on commit f64e175

Please sign in to comment.