Today we fixed up the references to list-sort, which should have been
sort-list. The contract for sort-list is the same as srfi-32's, (sort
list <).
This also matches the code. There were also some small changes that
needed to be made to the edwin:mode interface.
Currently we're running into an issue while attempting to load our
edwin:fundamental structure (in order to get a mode working).
The code references char-set functions, such as CHAR-SET:GRAPHIC and
ASCII-RANGE->CHAR-SET, any thoughts?
Would this be something worth porting?
--
-- Ryan Schwers
Currently we're running into an issue while attempting to load our
edwin:fundamental structure (in order to get a mode working).
The code references char-set functions, such as CHAR-SET:GRAPHIC and
ASCII-RANGE->CHAR-SET, any thoughts?
Would this be something worth porting?
Lower and upper must be exact non-negative integers representing ISO-8859-1 character codes, and lower must be less than or equal to upper. This procedure creates and returns a new character set consisting of the characters whose ISO-8859-1 codes are between lower (inclusive) and upper (exclusive).
For historical reasons, the name of this procedure refers to “ASCII” rather than “ISO-8859-1”.
ucs-range->char-set
lower upper [error? base-cs] -> char-setucs-range->char-set!
lower upper error? base-cs -> char-setReturns a character set containing every character whose ISO/IEC 10646 UCS-4 code lies in the half-open range [lower,upper).
If character set base-cs is provided, the characters specified by the range are added to it. ucs-range->char-set!
is allowed, but not required, to side-effect and reuse the storage in base-cs; ucs-range->char-set
produces a fresh character set.
Note that ASCII codes are a subset of the Latin-1 codes, which are in turn a subset of the 16-bit Unicode codes, which are themselves a subset of the 32-bit UCS-4 codes. We commit to a specific encoding in this routine, regardless of the underlying representation of characters, so that client code using this library will be portable. I.e., a conformant Scheme implementation may use EBCDIC or SHIFT-JIS to encode characters; it must simply map the UCS characters from the given range into the native representation when possible, and report errors when not possible.
Hi all!
Today we fixed up the references to list-sort, which should have been
sort-list. The contract for sort-list is the same as srfi-32's, (sort
list <).
I'm attaching the patch, if that works out, it'd be best if you could have your upcoming patch series be rebased on top of this commit - that way, everything can be applied easily.
We can redo the patches and current work with the argument fix.
--
Ryan Schwers
Jim has edwin:button in progress and that should take care of those
missing variables from edwin:fundamental.
--
Ryan Schwers