Justin Ethier
f6219f5d87
Fill out the 0.9.6 section
2018-12-07 17:39:31 -05:00
Justin Ethier
d5690a001e
Do not assume return_copy
receives an object.
...
It may be passed a call instead, in which case we want to refer to the call as a local variable instead of making that call more than once!
2018-12-07 17:00:32 -05:00
Justin Ethier
c625e8b0e6
Second try with fast list
2018-12-05 17:39:09 -05:00
Justin Ethier
87267600d2
Remove data param
2018-12-05 17:39:02 -05:00
Justin Ethier
de5d83f21a
Added comment
2018-12-04 22:58:51 -05:00
Justin Ethier
07dd9c7ef5
New fast list functions
2018-12-04 22:54:53 -05:00
Justin Ethier
1a586b188c
Disable fast list functions
...
Having problems getting macros to work in a safe way with Cyc-seq. Since these functions were never a big win anyway, we are going to disable them for now.
2018-12-04 17:51:35 -05:00
Justin Ethier
c65977a6a2
Cut over list_2 to new macro
2018-12-04 14:51:03 -05:00
Justin Ethier
aaab2de154
Fix list macro
2018-12-04 13:38:50 -05:00
Justin Ethier
069305ebdf
Cast to pointer type
2018-12-04 12:54:06 -05:00
Justin Ethier
4ce81afdc4
WIP - new listX types
2018-12-04 09:55:17 -05:00
Justin Ethier
f7d76bd90a
Do not use make_cell
2018-12-03 18:06:59 -05:00
Justin Ethier
df73875960
Add set_cell_as_expr
2018-12-03 17:57:02 -05:00
Justin Ethier
14e1eb1b9f
Add 143.c to bootstrap
2018-12-03 17:56:42 -05:00
Justin Ethier
01a73839ac
Cut cons over to new expr-safe code
...
Want to ensure cons can be used safely as part of a Cyc-seq. This cannot happen if the cons used the previous make_pair macro as that can only be called at the top of a function as part of a declaration.
2018-12-03 13:17:17 -05:00
Justin Ethier
f9d03342f2
Issue #282 - assign to temporary variables
...
Do this to prevent issues when one variable's value depends upon another's.
2018-12-02 22:21:27 -05:00
Justin Ethier
69a35f7d2e
Revert I/O changes for now
2018-11-30 17:50:34 -05:00
Justin Ethier
f5b7c75184
Temporarily revert previous changes for cons
2018-11-30 17:26:45 -05:00
Justin Ethier
8ccd2b3525
WIP, seq safe allocation/assignment of pairs
2018-11-30 13:38:10 -05:00
Justin Ethier
e6e6527be7
WIP
2018-11-29 18:51:08 -05:00
Justin Ethier
e4085b2f1e
Cleanup garbage chars
2018-11-29 17:59:01 -05:00
Justin Ethier
a918f2cb2d
issue #282 - Put numeric operations in body
...
This avoids ordering issues. But I think we still have trouble with other primtives. Is there ever a legitimate need to declare a c var for a prim??? I am not seeing it, especially with our changes now for Cyc-seq.
2018-11-29 13:36:07 -05:00
Justin Ethier
32a2024094
Version bump
2018-11-28 18:59:37 -05:00
Justin Ethier
0140d8a9e5
0.9.5 release notes
2018-11-28 17:15:06 -05:00
Justin Ethier
984ddc76dc
check for list before calling (length)
2018-11-27 18:59:28 -05:00
Justin Ethier
27ca613d0a
Remove dead code
2018-11-27 18:46:29 -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
7490f01243
Clarify changes
2018-11-26 13:24:10 -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
bdcfea1989
Version bump
2018-11-26 10:48:22 -05:00
Justin Ethier
f800f07f2b
Added 0.9.5
2018-11-26 10:47:58 -05:00
Justin Ethier
2b5253d5ca
Declare Cyc_utf8_decode as static to improve performance
2018-11-26 10:47:02 -05:00
Justin Ethier
9ccef98305
Prep to release 0.9.4
2018-11-25 16:51:20 -05:00
Justin Ethier
c1ce77a996
Merge remote-tracking branch 'origin/master'
2018-11-25 16:47:11 -05:00
Justin Ethier
257d4a4aa6
Revisions
2018-11-23 23:35:52 -05:00
Justin Ethier
ba98256ce1
Completetly revised 0.9.4 section
2018-11-23 23:08:26 -05:00
Justin Ethier
190c4a63fe
Revised 0.9.4 section
2018-11-23 22:06:41 -05:00
Justin Ethier
1145d1f8e2
Only generate a let if local var is used
...
If the variable is not used we will get a warning from the C compiler. So let's not generate a let unless the var is actually used.
We may want to revisit this later for a related optimization, maybe via Cyc-seq.
2018-11-23 21:46:51 -05:00
Justin Ethier
09f2f0412d
Added a note about let/local-var reductions
2018-11-23 12:06:23 -05:00
Justin Ethier
729c0d4025
Add check for CPS prims
2018-11-22 23:15:12 -05:00
Justin Ethier
07683bf273
Fixup alloca_list macros, we don't want the & ops
2018-11-22 18:44:18 -05:00
Justin Ethier
931b449579
Extra cases for prim use-alloca and & operator
2018-11-22 17:40:46 -05:00
Justin Ethier
b0e6c42eb1
Added prim->c-func-uses-alloca?
2018-11-22 17:33:06 -05:00
Justin Ethier
1f1b032641
Support alloca for all literals
2018-11-21 19:19:00 -05:00
Justin Ethier
e63349b830
Remove debug code
2018-11-21 19:13:32 -05:00