Commit graph

3667 commits

Author SHA1 Message Date
Justin Ethier
e465f811f5 Thread-sleep allow fractional seconds 2017-11-13 18:41:10 -05:00
Justin Ethier
2911c88a7b
Merge pull request #233 from 0-8-15/patch-1
Update runtime.c
2017-11-13 22:21:15 -05:00
Justin Ethier
08448b9148 Added unicode support 2017-11-13 17:50:54 -05:00
Justin Ethier
9186af6db4 Merge remote-tracking branch 'origin/utf8-dev' 2017-11-13 17:06:04 -05:00
Justin Ethier
1e8819d57e Limit iteration in Cyc_io_peek_char 2017-11-12 18:45:04 -05:00
Justin Ethier
9cfb80677a Cleanup 2017-11-12 18:29:32 -05:00
0-8-15
26c8e7170c
Update runtime.c
Cyc_thread_sleep supports srfi-18 thread-sleep! and is used nowhere else.  thread-sleep! sleeps for a timeout which may be "an exact or inexact real number represents a relative time in seconds", not milliseconds.
2017-11-12 17:14:48 +01:00
Justin Ethier
2631f762dd
Merge pull request #232 from ararslan/aa/readme-badge
Make the Travis badge a link to Travis
2017-11-12 09:05:28 -05:00
Alex Arslan
d415724643
Make the Travis badge a link to Travis 2017-11-11 21:20:33 -08:00
Justin Ethier
39d3be8141 Removing 2017-11-11 18:16:14 -05:00
Justin Ethier
7a3db33e8f Removing old files 2017-11-11 18:15:42 -05:00
Justin Ethier
79e9b83652 Swap header images 2017-11-11 18:10:13 -05:00
Justin Ethier
bb99a1ffe0 Tweak 2017-11-11 18:09:37 -05:00
Justin Ethier
49a5aa1c1f Show build status 2017-11-11 18:08:53 -05:00
Justin Ethier
7c56191bc1 Different flags on OSX (??) 2017-11-11 17:55:25 -05:00
Justin Ethier
5adafe517c CI support 2017-11-11 17:25:19 -05:00
Justin Ethier
3c6d578429
Merge pull request #231 from ararslan/aa/ci
Enable Travis for continuous integration testing
2017-11-11 20:37:21 -05:00
Alex Arslan
a076a25966
Fix linker flags for Clang and macOS 2017-11-11 13:18:20 -08:00
Alex Arslan
dc28a6e6a6
Add Linux and macOS continuous integration on Travis 2017-11-10 21:47:34 -08:00
Justin Ethier
a492ca379d Handle the null character 2017-11-09 19:00:21 -05:00
Justin Ethier
f25d76747d Sync up with makefile fixes from bootstrap pull req 2017-11-08 18:04:39 -05:00
Justin Ethier
40b729e11b WIP - peek-char UTF8 support 2017-11-08 18:38:31 +00:00
Justin Ethier
0f4a7b30c1 Fixes for string-set!
Handle setting of a char to one that is represented using fewer bytes.
2017-11-08 14:55:57 +00:00
Justin Ethier
61a18d8fb3 WIP 2017-11-07 18:39:12 -05:00
Justin Ethier
d584cf059e Partial fixes to string-set! 2017-11-07 18:13:12 -05:00
Justin Ethier
02014322b7 Properly count bytes in make-string 2017-11-07 17:47:08 -05:00
Justin Ethier
f5787184da WIP - string-set! 2017-11-07 18:18:56 +00:00
Justin Ethier
cfdec73d78 Emit strings with char/byte lengths 2017-11-06 18:57:56 +00:00
Justin Ethier
42507606a5 Added Cyc_string_byte_length() 2017-11-06 17:54:00 +00:00
Justin Ethier
348ed7205c Added a TODO for peek-char and UTF8 2017-11-06 17:46:56 +00:00
Justin Ethier
d43d019c20 Fix UTF8 support for pack_env_variables() 2017-11-06 17:06:12 +00:00
Justin Ethier
ec5ef86b6a Do not use make_string for UTF8 strings 2017-11-06 16:00:55 +00:00
Justin Ethier
471f0d4b50 UTF8 support 2017-11-06 16:00:11 +00:00
Justin Ethier
9962bca854 Validate hex digits in string with the \x; syntax 2017-11-06 14:12:21 +00:00
Justin Ethier
d431b2af1c Updated Cyc_io_read_line to prevent truncation
Ensure last codepoint is fully-read before returning
2017-11-06 13:19:31 +00:00
Justin Ethier
6910e3e4cb Added TODO 2017-11-03 14:51:34 +00:00
Justin Ethier
67398186d0 Added comments 2017-11-03 14:41:58 +00:00
Justin Ethier
bbe8fbb970 Allow read_return_character to parse UTF8 chars 2017-11-02 18:00:10 -04:00
Justin Ethier
3aa2a159b7 Bugfix: Cyc_utf8_encode returns char count, not bytes 2017-11-02 17:41:26 -04:00
Justin Ethier
734a6e1911 Allow read-char to handle unicode characters 2017-10-31 20:54:21 +00:00
Justin Ethier
b1ea22c940 Fixed (string->utf8) 2017-10-31 18:41:52 -04:00
Justin Ethier
509fd43022 Fixed substring 2017-10-31 17:58:17 -04:00
Justin Ethier
950d92615b WIP 2017-10-31 16:46:14 +00:00
Justin Ethier
8585a9f3cc Test scaffold for Cyc_substring 2017-10-30 18:58:47 -04:00
Justin Ethier
a38295b22b WIP 2017-10-30 17:52:16 +00:00
Justin Ethier
118822f353 WIP 2017-10-30 16:57:39 +00:00
Justin Ethier
7f8cc02c50 WIP - obj_char2obj 2017-10-30 13:26:57 +00:00
Justin Ethier
3783da2674 WIP - obj_obj2char fixes 2017-10-30 13:17:37 +00:00
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