[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-chicken 6adf5fd 018/102: Adds recognition of the 'c
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-chicken 6adf5fd 018/102: Adds recognition of the 'crunch' R5RS subset |
Date: |
Sun, 1 Aug 2021 18:26:47 -0400 (EDT) |
branch: elpa/geiser-chicken
commit 6adf5fd4afcf75ee83ffecc297779aee6725234a
Author: Dan Leslie <dan@ironoxide.ca>
Commit: Dan Leslie <dan@ironoxide.ca>
Adds recognition of the 'crunch' R5RS subset
Crunch is a subset of R5RS that the crunch egg can heavily optimize via
c++ compilation. This change allows geiser to report to chicken
programmers whether the function is found within that subset, easing
development.
Details on the crunch egg can be found at:
http://wiki.call-cc.org/eggref/4/crunch
---
geiser/emacs.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/geiser/emacs.scm b/geiser/emacs.scm
index cddf8da..0993812 100644
--- a/geiser/emacs.scm
+++ b/geiser/emacs.scm
@@ -172,6 +172,10 @@
require-extension select set! unless use when
with-input-from-pipe match
match-lambda match-lambda* match-let match-let* receive)))
+ (define geiser-chicken-crunch-symbols
+ (make-parameter
+ '(not eq? eqv? equal? + - * / = > < >= <= abs acos asin atan ceiling cos
display even? exact? exact->inexact exp expt floor inexact? inexact->exact
integer? log max min modulo negative? odd? positive? quotient remainder round
sin sqrt tan truncate zero? char=? char>? char<? char>=? char<=? char->integer
char-alphabetic? char-ci=? char-ci>? char-ci<? char-ci>=? char-ci<=?
char-downcase char-lower-case? char-numeric? char-upper-case? char-upcase
char-whitespace? integer->char number-> [...]
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Utilities
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -308,7 +312,10 @@
'())
(if (any (cut eq? <> sym) (geiser-chicken-builtin-symbols))
'(chicken)
- '())))
+ '())
+ (if (any (cut eq? <> sym) (geiser-chicken-crunch-symbols))
+ '(crunch)
+ '())))
;; Locates any paths at which a particular symbol might be located
(define (find-library-paths sym types)
- [nongnu] elpa/geiser-chicken e9bebe2 032/102: Adds memoization, (continued)
- [nongnu] elpa/geiser-chicken e9bebe2 032/102: Adds memoization, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken bfccf97 038/102: Fixes for Literals, Errors and Modules, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 2481dfc 041/102: Right-most character of arguments was being cut, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken c3731bf 047/102: Oops: shell-quote-binary -> shell-quote-argument, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken bc3f877 049/102: Fuzzy matching for Chicken AutoDoc and Completions, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken d3743db 051/102: Fixes a potential endless loop., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 1d3e6de 023/102: Add general font-lock keywords for all implementations, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken c1f5959 053/102: Remove compilation of chicken module, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 975fca9 001/102: Initial Chicken support, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 0e84bba 013/102: The issue arose with numerics, as well., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 6adf5fd 018/102: Adds recognition of the 'crunch' R5RS subset,
Philip Kaludercic <=
- [nongnu] elpa/geiser-chicken 67a7bd5 015/102: Merge remote-tracking branch 'dleslie/proper-windows-loading', Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken c77a8d3 021/102: Adds the ability to have sub-word delimiters, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 39e128e 030/102: Converts toplevel methods to prefixed methods, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 752b9b2 035/102: Minor improvements, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 58ecefe 043/102: Completions didn't work after first symbol in sexp, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken fb5baa4 042/102: No longer show arguments as strings., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 78ce429 055/102: Adds required modules to binary parameters, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken b779e7e 057/102: Allows Chicken to limit the number of symbols provided to Geiser, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken 4e5c66b 060/102: Support Chicken Scheme apropos =>2.3.0, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chicken ff59903 061/102: Improvements to Chicken completion speed, Philip Kaludercic, 2021/08/01