Commit graph

190 commits

Author SHA1 Message Date
Justin Ethier
b4f4c9a182 Faster version of (eq?) 2018-06-08 18:08:04 -04:00
Justin Ethier
6bec04f9c4 Faster version of (boolean?) 2018-06-08 17:53:46 -04:00
Justin Ethier
596276f1ff Convert more funcs to macros 2018-06-08 16:51:08 -04:00
Justin Ethier
1d0654a9d7 Converted (vector?) to a macro 2018-06-08 16:34:55 -04:00
Justin Ethier
8622eb8241 Added TODO 2018-06-08 15:10:04 -04:00
Justin Ethier
44c246c38e Force inlining of Cyc_is_null
By redefining as a macro there is a large potential speed increase with certain programs, with very few changes on our end.
2018-06-08 15:06:11 -04:00
Justin Ethier
1fcf947dd3 Complex number support 2018-05-14 14:20:24 -04:00
Justin Ethier
03f5e35c3a Added Cyc_is_complex 2018-05-10 13:35:11 -04:00
Justin Ethier
9dddfb882f Issue #55 - Adding more complex number support 2018-05-07 20:48:53 -04:00
Justin Ethier
2cd96058eb Add fast assoc by cdr 2018-02-14 13:00:43 -05:00
Justin Ethier
4b8c53c088 Issue #236 - Added C functions for single-byte I/O 2017-12-18 17:27:53 -05:00
Justin Ethier
42507606a5 Added Cyc_string_byte_length() 2017-11-06 17:54:00 +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
0bcce5038e WIP 2017-10-27 17:18:29 +00:00
Justin Ethier
8289eca02a Remove obsolete function 2017-10-27 13:02:51 +00:00
Justin Ethier
703f863e48 Fixes for make-string 2017-10-26 21:56:35 +00:00
Justin Ethier
aa0b0a7567 Added UTF8 encoder, final version of string->utf8 2017-10-25 18:35:11 -04:00
Justin Ethier
13e260300f Added utility function and stubs 2017-10-24 17:53:43 -04:00
Justin Ethier
ac8b280578 Refactoring, added make_utf8_string 2017-10-20 16:29:56 +00:00
Justin Ethier
71c7ed3e7f Cleanup and added UTF 8 definitions to header file 2017-10-20 12:54:13 +00:00
Justin Ethier
ad4309416a Added Cyc_check_opaque 2017-10-04 17:19:24 -04:00
Justin Ethier
2d7839c264 WIP 2017-08-11 17:25:14 +00:00
Justin Ethier
b913edcc9f Experimenting with inline of Cyc_is_pair 2017-07-10 13:48:44 +00:00
Justin Ethier
27970524c5 Generalization of globals_changed thread param 2017-06-09 17:17:01 +00:00
Justin Ethier
aea673c764 Added parens 2017-05-26 15:13:22 +00:00
Justin Ethier
7cdabc02b6 WIP 2017-05-25 17:46:41 -04:00
Justin Ethier
9242c424c3 WIP 2017-05-24 17:23:23 +00:00
Justin Ethier
4b8d143627 Cleanup 2017-04-05 18:08:08 -04:00
Justin Ethier
074dee7886 Exploring how define-c could inline functions 2017-04-03 13:37:27 +00:00
Justin Ethier
4e600a243a Expose bignum helper functions 2017-03-29 07:11:04 +00:00
Justin Ethier
6d85b83240 WIP 2017-03-28 01:19:20 -04:00
Justin Ethier
ca68ab358a Added fast char cmp prims 2017-03-20 18:17:40 -04:00
Justin Ethier
a714f57f97 Added Cyc_is_fixnum 2017-03-01 18:24:45 -05:00
Justin Ethier
e6eddc4963 Added doc string 2017-02-24 22:46:50 -05:00
Justin Ethier
3466698758 Updated docs 2017-02-24 17:35:01 -05:00
Justin Ethier
2810e736db Doxygen markup 2017-02-24 15:54:02 -05:00
Justin Ethier
331950d309 Primitive docs 2017-02-24 15:09:05 -05:00
Justin Ethier
af055ea80c Added Cyc_remainder() 2017-02-21 00:42:11 -05:00
Justin Ethier
284dc05128 Use Cyc_expt() 2017-02-17 00:03:07 -05:00
Justin Ethier
ad51bc7e80 Preliminary bignum integration 2017-02-16 02:38:57 -05:00
Justin Ethier
b9c8d2abf4 WIP for libtommath 2017-02-08 18:33:20 -05:00
Justin Ethier
e5e4d24959 Remove errant period 2017-01-30 17:43:35 -05:00
Justin Ethier
57562071c9 Issue #158 - Removed make_int macro
Also removed some related code that became redundant.
2017-01-30 16:54:23 +00:00
Justin Ethier
e78b336b78 Issue #102 - Pass data parameter to Cyc_display() 2016-12-22 00:14:53 -05:00
Justin Ethier
f60fed7344 Issue #102 - Added a data parameter to Cyc_write() 2016-12-21 23:47:39 -05:00
Justin Ethier
71aaf162c9 Allow Cyc-list to handle 0 args 2016-11-28 18:32:27 -05:00
Justin Ethier
5790716927 Added Cyc_list() 2016-11-28 18:11:36 -05:00
Justin Ethier
e636f40f99 Revert memq, memv, assq, assv back to primitives 2016-10-17 23:42:53 -04:00
Justin Ethier
54a47242bf Adding assoc/member C functions back 2016-10-15 17:57:46 -04:00
Justin Ethier
1326d0d5c2 Added fast mul/div 2016-10-14 18:07:00 -04:00