Commit graph

875 commits

Author SHA1 Message Date
Justin Ethier
d3e679fd03 Added atomic_type 2019-05-29 18:53:53 -04:00
Justin Ethier
0941d43f4f Added TODO 2019-05-28 13:31:08 -04:00
Justin Ethier
3f6e9655bd Set the 'immutable' field when constructing objs 2019-05-01 13:37:02 -04:00
Justin Ethier
3cb234402d Added checks for immutable flag 2019-05-01 13:11:05 -04:00
Justin Ethier
7bc59f3ded Allow (exit) to return integer values to OS 2019-04-11 13:21:31 -04:00
Justin Ethier
549bb59937 Micro-optimization - turn Cyc_st_add into a macro 2019-03-28 12:21:15 -04:00
Justin Ethier
b73f68cc8a Qualify static function 2019-03-21 22:59:58 -04:00
Justin Ethier
3706647583 Refactoring 2019-03-21 17:16:21 -04:00
Justin Ethier
c357663f0a Issue #310 - Fix type checking for member/assoc 2019-03-20 22:56:33 -04:00
Justin Ethier
41eaf8008b Add "bin" support to Cyc-installation-dir 2019-03-17 18:45:55 -04:00
Justin Ethier
f64d429ab8 WIP 2019-02-28 09:43:58 -05:00
Justin Ethier
ec7c3c3308 Revert change to (integer?) for now
Causes unit test failures, need to sort this out separately.
2019-02-18 17:18:02 -05:00
Justin Ethier
204e31e362 Issue #303 - Handle numeric predicate edge cases
Add edge cases to (real?) for complex numbers, and (integer?) for reals.
2019-02-18 16:48:11 -05:00
Justin Ethier
b2b10ca729 WIP - new version of libtommath 2019-02-17 19:00:47 -05:00
Justin Ethier
7c8076e433 Added Cyc_is_list() 2018-12-12 13:10:10 -05:00
Justin Ethier
87267600d2 Remove data param 2018-12-05 17:39:02 -05:00
Justin Ethier
07dd9c7ef5 New fast list functions 2018-12-04 22:54:53 -05:00
Justin Ethier
369b6f3c77 More static functions 2018-11-27 10:32:18 -05:00
Justin Ethier
c9551d6ac8 Revert previous change 2018-11-26 17:11:00 -05:00
Justin Ethier
ac5ee210f5 Added Cyc_string_append2 2018-11-26 16:46:27 -05:00
Justin Ethier
8f94ff12f9 Added a TODO 2018-11-26 16:07:01 -05:00
Justin Ethier
262001c900 Mark internal read helper functions as static 2018-11-26 13:22:25 -05:00
Justin Ethier
7ce70739b5 Mark str2int as static 2018-11-26 13:13:17 -05:00
Justin Ethier
639d3b1438 one more static declaration 2018-11-26 11:00:28 -05:00
Justin Ethier
2b5253d5ca Declare Cyc_utf8_decode as static to improve performance 2018-11-26 10:47:02 -05:00
Justin Ethier
ba994b9d36 Issue #278 - Fix compiler warning 2018-10-02 11:28:07 -04:00
Justin Ethier
b41971e187 Issue #276 - Improve overflow detection for multiplication 2018-09-10 13:29:30 -04:00
Justin Ethier
b2326b89f4 Issue #276 - Possible fix
Do not perform multiplication until we are sure the operation will not over/under flow.
2018-09-09 18:42:35 -04:00
Justin Ethier
d20496318f Added more docs 2018-08-24 13:16:29 -04:00
Justin Ethier
388759853d Add docs 2018-08-24 12:52:23 -04:00
Justin Ethier
88998757db Check for fixnums passed to string funcs 2018-08-22 18:51:05 -04:00
Justin Ethier
3261eee05a Perform slightly faster type checking for vector and bytevector access functions. 2018-08-21 16:06:37 -04:00
Justin Ethier
bb4b136b00 Very small speedup - fixnums for vector access 2018-08-20 13:36:33 -04:00
Justin Ethier
40c73203ce Issue #270 - Working through a solution 2018-08-06 20:15:06 -04:00
Justin Ethier
133adce4c1 Enhance debug capability via GC_DEBUG_TRACE 2018-07-14 22:23:51 -04:00
Justin Ethier
dba718ef63 Allow car/cdr to be inlined 2018-06-21 13:05:54 -04:00
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
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
84b2f9c67e Issue #55 - Support number->string 2018-05-11 15:47:48 -04:00
Justin Ethier
89db7cca24 Issue #55 - More arithmetic op support for complex 2018-05-11 15:40:20 -04:00
Justin Ethier
f203e75b83 Fix typo 2018-05-11 15:26:56 -04:00
Justin Ethier
ac82b0933b WIP 2018-05-11 14:39:39 -04:00
Justin Ethier
fa9e71f17c WIP 2018-05-11 14:23:46 -04:00
Justin Ethier
866fce1d33 Issue #55 - WIP for complex num arith ops 2018-05-11 13:21:08 -04:00
Justin Ethier
03f5e35c3a Added Cyc_is_complex 2018-05-10 13:35:11 -04:00
Justin Ethier
9c64faa3df Very basic comparison functionality for complex nums 2018-05-10 13:20:17 -04:00
Justin Ethier
ea8a09f184 Fix copy&paste error 2018-05-07 20:58:47 -04:00