Commit graph

3523 commits

Author SHA1 Message Date
Justin Ethier
f41ba1cce3 Synced doc links 2017-08-21 13:56:14 +00:00
Justin Ethier
12ad893f5d Added missing docs 2017-08-21 13:37:02 +00:00
Justin Ethier
3b75d3ea16 Added type checking to Cyc_io_read_line() 2017-08-21 12:31:06 +00:00
Justin Ethier
66cd34c84c Convert read/peek char to use fread code 2017-08-21 12:21:21 +00:00
Justin Ethier
d471813a37 Faster parsing of numbers 2017-08-21 10:39:03 +00:00
Justin Ethier
c7b395506b Use new buffers for in-memory I/O
New buffers are used so there is no conflict between the in-memory string/byte-vector buffer and the buffers used by `read`.
2017-08-19 18:13:05 -04:00
Justin Ethier
05fb1cdb7b Use new make_input_port macro 2017-08-19 18:12:06 -04:00
Justin Ethier
8b3bf050e8 Added new members for in-memory I/O 2017-08-19 18:04:39 -04:00
Justin Ethier
a02a1206be Use input ports 2017-08-18 18:30:40 -04:00
Justin Ethier
e01815ae21 Bug fixes 2017-08-18 17:52:06 -04:00
Justin Ethier
fb18bf46ce Do not display unnecessary colon in error msgs 2017-08-18 17:33:12 -04:00
Justin Ethier
68bf9e3316 Remove old code 2017-08-18 17:06:21 -04:00
Justin Ethier
f61ba6ee4a Cleanup 2017-08-17 16:36:01 +00:00
Justin Ethier
4b7f2cba63 Revert buffer length 2017-08-17 14:06:01 +00:00
Justin Ethier
b997d10f43 Cut-over to new reader 2017-08-17 13:54:53 +00:00
Justin Ethier
4c5191f2b8 Added new read_len field for fread 2017-08-17 13:54:44 +00:00
Justin Ethier
cc9a16b033 Bump to 0.6 2017-08-17 11:53:04 +00:00
Justin Ethier
ffba7ff683 Added #\escape 2017-08-17 11:04:26 +00:00
Justin Ethier
bf896f6b74 Start line/col numbering from 1 (heresy!!) 2017-08-17 11:03:55 +00:00
Justin Ethier
caecc28994 Added docs 2017-08-16 22:57:17 -04:00
Justin Ethier
d41b9e8d95 Recover from EINTR 2017-08-16 22:43:00 -04:00
Justin Ethier
af30ac8066 Cut over to faster reader for files 2017-08-16 14:36:37 +00:00
Justin Ethier
5ecf409f54 Return buffer if not empty upon EOF 2017-08-16 12:05:55 +00:00
Justin Ethier
2d5aa2c3b1 Handle dotted lists 2017-08-16 11:50:55 +00:00
Justin Ethier
9226403da9 Encode comma syntax 2017-08-16 11:42:18 +00:00
Justin Ethier
d72feb5d34 Slight speedup 2017-08-16 11:24:04 +00:00
Justin Ethier
4b7386dedf Higher-level handler for parse2 2017-08-16 11:04:52 +00:00
Justin Ethier
94f15d699e Special encoding for syntax - parens, quotes 2017-08-16 11:02:41 +00:00
Justin Ethier
62a54a50d5 WIP, not quite right with differentiating chars 2017-08-15 19:02:47 -04:00
Justin Ethier
61d242521b Fix to reference tok_end 2017-08-15 18:31:04 -04:00
Justin Ethier
941f5bd737 Hook up _read_character 2017-08-15 17:44:17 +00:00
Justin Ethier
297c8e04ab Added _read_character 2017-08-15 17:41:42 +00:00
Justin Ethier
e01c32aac1 Differentiate exact/inexact numbers 2017-08-15 17:20:06 +00:00
Justin Ethier
ab293fccb9 Parse numbers 2017-08-15 17:14:19 +00:00
Justin Ethier
685a90c9a4 Read literal identifiers 2017-08-15 16:52:34 +00:00
Justin Ethier
42f71af404 WIP 2017-08-15 13:43:27 +00:00
Justin Ethier
7ddb9f3ce6 Bytevector parsing 2017-08-15 13:39:58 +00:00
Justin Ethier
a492ea820c Handle datum comments 2017-08-15 13:23:16 +00:00
Justin Ethier
a125e1add6 WIP - block comments 2017-08-15 13:16:05 +00:00
Justin Ethier
e8e76f457a Handle potentially blocking I/O calls 2017-08-15 12:53:54 +00:00
Justin Ethier
87a83f43e4 Vector parsing 2017-08-14 22:47:27 +00:00
Justin Ethier
93798144b2 WIP 2017-08-14 22:43:43 +00:00
Justin Ethier
c697b71d67 WIP 2017-08-14 22:33:18 +00:00
Justin Ethier
56fcf3bb5b Hex scalars as part of strings 2017-08-14 22:10:46 +00:00
Justin Ethier
35cb42fb99 WIP 2017-08-14 21:54:07 +00:00
Justin Ethier
e99bc4c044 Parse unquote / unquote-splicing 2017-08-14 21:31:31 +00:00
Justin Ethier
eb57300bdd WIP 2017-08-14 17:38:05 +00:00
Justin Ethier
d0c0c18d74 String reading 2017-08-14 17:18:48 +00:00
Justin Ethier
d4836eb36d Read numbers 2017-08-14 15:29:02 +00:00
Justin Ethier
afdecfbfe8 WIP 2017-08-14 13:55:29 +00:00