This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

please take a look at (features)


The R7RS procedure (features) returns a list of "supported features",
such as may be used by cond-expand.

I just added a bunch of feature names - including 'r7rs (yeah!).
Specifically, I tried to provide sane platform-identifying
names, such as for os, architeture and endianness.
For example on my Fedora Laptop running Java 8 I get:

(kawa kawa-1.14.1 complex exact-complex exact-closed ieee-float ratios
 full-unicode java-8 java-7 java-6 little-endian posix unix linux gnu-linux
 i386 x86-64 jvm r7rs srfi-0 srfi-4 srfi-6 srfi-8 srfi-9 srfi-11 srfi-16
 srfi-17 srfi-23 srfi-25 srfi-26 srfi-28 srfi-30 srfi-39
 string-normalize-unicode threads)

Please try calling (features) on your platform, and let me know
of any non-desirable results.

The "specification" is the non-normative Appendix B "Standard Feature Identifiers"
on page 77 (of my pdf of) R7RS.

You might also want to take a look at the relevant part of the source code:
The initialization in kawa/standard/IfFeature.java of the coreFeatures ArrayList
(currentlylines 105-220).
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]