Commit graph

3619 commits

Author SHA1 Message Date
Justin Ethier
0bcce5038e WIP 2017-10-27 17:18:29 +00:00
Justin Ethier
a5d768a8a4 Cyc_io_get_output_string - populate num_cp correctly 2017-10-27 13:17:34 +00:00
Justin Ethier
8289eca02a Remove obsolete function 2017-10-27 13:02:51 +00:00
Justin Ethier
6aaa600ebc Bugfixes:
- Avoid unnecessary calls to `strlen`
- Type check the `fill` parameter to `make-string`
2017-10-27 13:01:04 +00:00
Justin Ethier
4a77296ddf Added UTF-8 support to list->string 2017-10-27 12:44:06 +00:00
Justin Ethier
77e391cabc Uncomment fast path 2017-10-26 22:35:11 +00:00
Justin Ethier
703f863e48 Fixes for make-string 2017-10-26 21:56:35 +00:00
Justin Ethier
0bd0eeb7a6 WIP 2017-10-26 17:04:52 +00:00
Justin Ethier
596f225179 Added memset test code 2017-10-26 13:02:55 +00:00
Justin Ethier
aa0b0a7567 Added UTF8 encoder, final version of string->utf8 2017-10-25 18:35:11 -04:00
Justin Ethier
ccfde220ff WIP 2017-10-25 17:21:53 +00:00
Justin Ethier
96c3846b43 Cleanup 2017-10-25 17:14:10 +00:00
Justin Ethier
556f97dd5f WIP, testing encoders/decoders 2017-10-25 13:54:36 +00:00
Justin Ethier
722d077367 WIP 2017-10-24 19:01:20 -04:00
Justin Ethier
325112e50b Temporary file 2017-10-24 19:00:45 -04:00
Justin Ethier
13e260300f Added utility function and stubs 2017-10-24 17:53:43 -04:00
Justin Ethier
6c4dd4b740 Compute number of code points and byte len 2017-10-24 17:53:09 -04:00
Justin Ethier
13254d06f0 WIP - utf8 / string conversion functions 2017-10-24 13:23:48 +00:00
Justin Ethier
cb1bfef031 WIP - string-set! 2017-10-23 18:47:01 -04:00
Justin Ethier
3e64420101 Added UTF8 support to Cyc_substring 2017-10-23 17:43:37 -04:00
Justin Ethier
424592ad8b Added TODO 2017-10-23 17:10:43 +00:00
Justin Ethier
114e284566 string-length: return number of codepoints 2017-10-23 13:39:04 +00:00
Justin Ethier
96e5692cb9 bugfix 2017-10-23 13:38:02 +00:00
Justin Ethier
8b817966e8 WIP 2017-10-23 13:26:29 +00:00
Justin Ethier
14626f15c4 Unicode changes, take code points into account 2017-10-22 18:59:35 -04:00
Justin Ethier
ac8b280578 Refactoring, added make_utf8_string 2017-10-20 16:29:56 +00:00
Justin Ethier
0ca396f8fa Add new string_type field 2017-10-20 16:29:47 +00:00
Justin Ethier
ccad990626 Beginning to change string type 2017-10-20 13:28:16 +00:00
Justin Ethier
71c7ed3e7f Cleanup and added UTF 8 definitions to header file 2017-10-20 12:54:13 +00:00
Justin Ethier
ae3aa1941d Initial UTF-8 helpers 2017-10-19 13:29:57 +00:00
Justin Ethier
4b2b866ba7 Bump to 0.7 2017-10-08 21:46:56 +00:00
Justin Ethier
d0772c2238 Allow a program to have macros expand into a top-level import expression. 2017-10-06 18:43:30 -04:00
Justin Ethier
ad4309416a Added Cyc_check_opaque 2017-10-04 17:19:24 -04:00
Justin Ethier
889ec5885e Removing "magic numbers" for GC heap size 2017-09-20 13:32:20 +00:00
Justin Ethier
40dd432b3a Merge remote-tracking branch 'origin/master' 2017-09-16 17:19:03 -04:00
Justin Ethier
86158235a8 Preparing for 0.6.3 release 2017-09-16 17:18:46 -04:00
Justin Ethier
c339234632 Issue #225 - Added error-object interfaces
This is only a rough-cut of the actual implementation, though.
2017-09-15 12:14:26 +00:00
Justin Ethier
061a6fd83a Initial file 2017-09-11 21:57:00 +00:00
Justin Ethier
4d03c00f1c Posted requirements for char-ready 2017-09-07 17:54:21 -04:00
Justin Ethier
1146e10f44 Update AUTHORS 2017-09-07 17:22:30 -04:00
Justin Ethier
330657577c Include latest fix from wasamasa 2017-09-07 13:10:28 +00:00
Justin Ethier
8fe853dfac Merge pull request #222 from wasamasa/read-string-eof-behavior
read-string: return EOF if nothing can be read
2017-09-07 13:07:47 -04:00
Vasilij Schneidermann
d731f92e7d read-string: return EOF if nothing can be read
R7RS states that there's three possible scenarios for read-string:

- More characters can be read than asked for (return string)
- Less characters can be read than asked for (return string)
- No characters can be read (return EOF)

This commit ensures the last scenario works as intended.
2017-09-07 17:07:05 +02:00
Justin Ethier
c4a569d2cd WIP 2017-09-06 22:57:39 +00:00
Justin Ethier
a274cfa6e1 Old file 2017-09-05 18:33:22 -04:00
Justin Ethier
94df8603c6 Issue #217 - Use primitives directly if possible 2017-09-05 17:44:25 -04:00
Justin Ethier
db011aa1af Issue #220 - make-string - use heap for large strs 2017-09-05 17:32:04 -04:00
Justin Ethier
2647ceb4ae WIP 2017-09-05 13:44:16 +00:00
Justin Ethier
27336b4047 Issue #219 2017-09-05 12:53:13 +00:00
Justin Ethier
8ec41e34bf Issue #218 - Fix startup issue 2017-09-04 18:57:23 -04:00