Commit graph

1418 commits

Author SHA1 Message Date
Justin Ethier
784e722843 Enable CPS for set-* functions 2020-01-17 17:46:02 -05:00
Justin Ethier
67baf4d5ee Issue #240 - Clean up error message 2020-01-13 13:03:29 -05:00
Justin Ethier
b28238f8dd Added lib:read-includes 2020-01-09 22:44:57 -05:00
Justin Ethier
7fd4d0e972 Prep for 0.12 2020-01-02 17:27:29 -05:00
Justin Ethier
50f4027c8c Rel++ 2020-01-02 13:41:58 -05:00
Justin Ethier
098b30133f Added TODO 2020-01-02 13:41:19 -05:00
Justin Ethier
40894ecb3e Added define-values 2020-01-02 13:41:04 -05:00
Justin Ethier
837954b310 Use read-bytevector! from Chibi 2019-12-29 18:10:05 -05:00
Justin Ethier
48ce2709b9 Placeholders for bin/txt port prims 2019-12-29 17:58:30 -05:00
Justin Ethier
123c20d60d WIP: (read-bytevector!) 2019-12-28 19:37:15 -05:00
Justin Ethier
e5dca1835f Added read-bytevector 2019-12-28 18:55:19 -05:00
Justin Ethier
02fcad76f6 Added write-bytevector 2019-12-28 18:22:35 -05:00
Justin Ethier
81121f6718 Update for new year 2019-12-28 18:22:24 -05:00
Justin Ethier
3d60211e67 Do not reassign the same var to itself 2019-12-23 16:26:07 -05:00
Justin Ethier
6b7a749288 Stage 0.11.8 2019-12-06 23:50:08 -05:00
Justin Ethier
63696698c8 Rev++ 2019-12-04 18:02:25 -05:00
extrasharp
71f0000d86 Fix (scheme cxr) definitions 2019-12-01 20:53:21 -06:00
Justin Ethier
f091d0267e Unsafe (length) 2019-11-26 23:06:01 -05:00
Justin Ethier
0651716196 Unsafe vector-set 2019-11-26 22:58:24 -05:00
Justin Ethier
c30bf50b5d Fix unsafe car/cdr 2019-11-26 16:11:57 -05:00
Justin Ethier
5f42a06601 More unsafe prims 2019-11-26 16:03:06 -05:00
Justin Ethier
537e8bc975 Experimenting with unsafe prims 2019-11-26 15:37:52 -05:00
Justin Ethier
acb50614ee Issue #305 2019-11-25 14:20:26 -05:00
Justin Ethier
6ffa271bf5 Did not mean to change this file 2019-11-21 13:40:44 -05:00
Justin Ethier
fc108f067f Issue #281 - Try importing file locally first 2019-11-21 13:39:45 -05:00
Justin Ethier
95d1200df0 Incorporate optimization flags 2019-11-13 13:16:45 -05:00
Justin Ethier
debbde6849 Validate the number of arguments passed to local function calls 2019-11-07 13:37:20 -05:00
Justin Ethier
734d40a44d Faster constructor for record types
TODO: validate number of args passed to record type constructor
2019-11-06 13:30:36 -05:00
Justin Ethier
838240fceb Avoid computing (length args) twice 2019-11-06 12:07:42 -05:00
Justin Ethier
fcebf0b9d6 Version bump 2019-10-29 18:27:57 -04:00
Justin Ethier
5354fcb0bb Check bignum return value 2019-10-28 15:49:20 -04:00
Justin Ethier
c9921ce69a Fix libtommath warnings 2019-10-23 13:24:13 -04:00
Justin Ethier
e98e35ee5b Added -no-call-history flag
Allow for faster executables at the expense of call history.
2019-10-14 13:01:16 -04:00
Justin Ethier
28c94c1e65 Bump to 0.11.5 2019-09-27 12:47:33 -04:00
Justin Ethier
e211e3f64d Issue #339 - Fix fast path in make-string
We need to ensure the code point buffer only contains a single byte in order to use the fast path for string creation. For example if there is one code point that is 2 bytes large we need to use the slow path.
2019-09-23 13:28:52 -04:00
Justin Ethier
e6c23e25c1 Issue #337
Added `open-binary-input-file` and `open-binary-output-file` from R7RS.
2019-09-15 10:40:06 -04:00
Justin Ethier
95922d257e Only print when debugging as a program 2019-09-10 17:47:26 -04:00
Justin Ethier
526032e52f Include new file 2019-09-10 17:47:03 -04:00
Justin Ethier
30fd74792f Rename function 2019-09-10 17:35:49 -04:00
Justin Ethier
947e15662a Relocate file 2019-09-10 17:14:52 -04:00
Justin Ethier
02fa091297 Issue #336 - Validate num of args passed to if 2019-09-04 13:07:02 -04:00
Justin Ethier
66ff7f6380 Bump version 2019-08-22 21:30:56 -04:00
Justin Ethier
e099fe7860 Refactoring
Use a macro name that makes more sense, as we are trying to determine if obj is a closure.
2019-08-22 21:28:57 -04:00
Justin Ethier
769ec2ea76 Refactoring, set placeholders for future dev 2019-08-13 18:02:46 -04:00
Justin Ethier
f3c83e42a4 Optimized versions of (map) and (for-each)
These versions are optimized for when the function is being called with two list arguments.
2019-08-09 16:00:46 -04:00
Justin Ethier
f211d350e0 Issue #331 - Ensure map evaluates in order
Reverse so everything is evaluated in order, then reverse again so final results are in order.
2019-08-07 13:29:43 -04:00
Justin Ethier
80b861664a Issue #331 - Ensure definitions from begin's are spliced in 2019-08-06 22:06:43 -04:00
Justin Ethier
2d398573a5 WIP 2019-08-05 18:39:44 -04:00
Justin Ethier
ec25eddc28 Issue #331 - Prevent syntax error during eval
Prevent an unquoted symbol from throwing a syntax error when evaluating a define-record-type form. Note there are still other issues with creating a record type in the interpreter at this time.
2019-08-05 14:09:14 -04:00
Justin Ethier
1edb877c5f Speed up vector for five args or less 2019-08-02 12:13:30 -04:00