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
Justin Ethier
9dddfb882f
Issue #55 - Adding more complex number support
2018-05-07 20:48:53 -04:00
Justin Ethier
9e17ea628b
Issue #55 - WIP parsing complex numbers
2018-05-07 19:11:12 -04:00
Justin Ethier
4c852b5d39
Big TODO for complex number parsing
2018-05-08 17:29:04 -04:00
Justin Ethier
3c467516c3
Issue #55 - Add complex_num_type definition
2018-05-08 13:41:00 -04:00
Justin Ethier
09b6472ce0
Issue #256 - Remove shift instruction
2018-05-02 17:44:58 -04:00
Justin Ethier
0282227d7a
Issue #246 - Very basic bracket support
2018-04-26 17:23:13 -04:00
Justin Ethier
03c254de14
Issue #247 - Fix mnemonic/hex escapes for syms
...
Escapes are now properly parsed for symbols.
2018-04-26 17:09:38 -04:00
Justin Ethier
9090952300
Issue #252 - Fix off-by-one error
...
When decrementing the length to account for newlines, also decrement the code point count.
2018-04-02 13:47:01 -04:00
Justin Ethier
2cd96058eb
Add fast assoc by cdr
2018-02-14 13:00:43 -05:00
Justin Ethier
741fcc6a0a
Issue #81 - Fixes for bytevector-copy
2018-01-02 18:59:02 -05:00
Justin Ethier
d615621a91
Issue #81 - Fix list->vector to work with large lists
2018-01-02 18:50:27 -05:00
Justin Ethier
a700b4094a
Issue #81 - Complete fix for string->utf8
2018-01-02 17:39:13 -05:00
Justin Ethier
a7de0994a5
Issue #81 - Fixing string->utf8
2018-01-02 12:36:32 -05:00
Justin Ethier
0951be3d2b
Issue #81 - Support allocation of large strings
2018-01-01 18:59:39 -05:00
Justin Ethier
cf4877acd7
Bug fixes
2017-12-18 23:56:07 +00:00
Justin Ethier
4b8c53c088
Issue #236 - Added C functions for single-byte I/O
2017-12-18 17:27:53 -05:00
Justin Ethier
d75cd52850
Allow calling Cyc-get-cvar from eval
2017-12-15 13:51:13 -05:00
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
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
a492ca379d
Handle the null character
2017-11-09 19:00:21 -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