Matthew Flatt
3a2659968a
prefer closest binding name for procedures
...
In some cases, such as
(define g (let ([f (lambda (x) x)]) f))
the inner name `f` could get replaced by the outer name `g`.
Prefer the inner name so that macros can use a `let` wrapper
to reliably name a procedure.
cherry-picked from mflatt/ChezScheme#letname
original commit: fb75f08cfa9690f94ae2abaa237278b287367d68
2018-06-22 09:33:12 -06:00
Matthew Flatt
3d1cb4684a
make bootfiles
...
original commit: 59045a7e0b41b9ccba9d1a0577fc89c471ef9b0e
2018-01-22 17:55:12 -07:00
Matthew Flatt
261cb9ce1d
Merge branch 'pthread' of github.com:mflatt/ChezScheme
...
original commit: 72597bafba6ff6290ac801aea1390e50252d8f7a
2018-01-22 17:09:55 -07:00
Matthew Flatt
4a2dc8d182
Merge branch 'rendezvous' of github.com:mflatt/ChezScheme
...
original commit: cccdcf961dfd3de8e2e7d0da651ef827bc128258
2018-01-22 17:08:49 -07:00
Matthew Flatt
76ec46611d
Revert "add collect-rendezvous
"
...
This reverts commit aef0458c08d10e02a2b50b7018564c0cca7c709c.
original commit: b50882550673738ac2d93fb2135d117425f34e7a
2018-01-22 17:07:48 -07:00
Matthew Flatt
1e95b761f1
Add __thread
foreign-call convention
...
See the `foreign-callable` docs for a good example use.
original commit: 3645f7568c7ab9ca6a9459a870338b51605a2c6c
2018-01-22 17:06:19 -07:00
Matthew Flatt
a590b5ec35
add collect-rendezvous
...
original commit: 73cf31d3625e519493918faba650bbfc303f1712
2018-01-22 17:01:46 -07:00
Matthew Flatt
15d1acd2f5
add collect-rendezvous
...
original commit: aef0458c08d10e02a2b50b7018564c0cca7c709c
2018-01-20 21:02:15 -07:00
Matthew Flatt
0c55348453
Merge branch 'fdstart' of github.com:mflatt/ChezScheme
...
original commit: 67f4cfc11da128038a7d631b77af8909a8901247
2018-01-15 19:40:49 -07:00
Matthew Flatt
1f77eaf2af
add load-compiled-from-port and Sregister_boot_file_fd
...
original commit: 0865b4637fce16079cb9ad8d3eb6211f1bf08c9f
2018-01-15 19:39:20 -07:00
Andy Keep
ef497bf210
Merge branch 'bounds' of https://github.com/mflatt/ChezScheme into mflatt-bounds
...
original commit: b619c426142eaa8ae410138e17d16bd1e7f133e9
2018-01-15 13:10:29 -05:00
Andy Keep
3cedf42ed2
- added tests to ensure the optimize-level version 2 of map and for-each raise
...
a non-procedure exception when the first argument is not a procedure, even
when the rest of the program is compiled at optimize level 3.
4.ms, root-experr-compile-0-f-f-f, patch-compile-0-t-f-f,
patch-compile-0-f-t-f, patch-interpret-0-f-t-f, patch-interpret-0-f-f-f,
patch-interpret-3-f-t-f, patch-interpret-3-f-f-f
original commit: 7916447d1a482ec91ae63927692053d727d9b459
2018-01-15 13:07:23 -05:00
Matthew Flatt
3f38a109f0
gensym
-> (current-generate-id)
for nongenerative record
...
original commit: bd287e45c685057feb824f257b2da8883cef5595
2018-01-14 14:23:03 -07:00
Andy Keep
093b4e2f40
Merge branch 'gus-massa-17-12-Map-Error'
...
original commit: d6bd351dfc59537c6a3d0e44094f1e21355e482a
2018-01-13 12:28:54 -05:00
Andy Keep
1a35e17a60
Merge branch '17-12-Map-Error' of https://github.com/gus-massa/ChezScheme into gus-massa-17-12-Map-Error
...
original commit: 154ed6a4113b3f440e9d5a8348270d2ca1ace807
2018-01-13 12:28:11 -05:00
Gustavo Massaccesi
eb9d65d88c
avoid building the result list in a map that is called for effect
...
cp0.ss
# Conflicts:
# s/cp0.ss
original commit: 12353c17917f0979e72740592891ce928b40963f
2018-01-10 17:59:16 -03:00
Gustavo Massaccesi
d593fe4a78
Check that first argument of map is a procedure in cp02 expansion
...
to raise the same error that the non expanded version
cp0.ss
original commit: cf10634c29c5f873e1e77b1868dd58071650dba3
2018-01-10 17:57:06 -03:00
Matthew Flatt
ca082aa7e8
Merge branch 'bounds' of github.com:mflatt/ChezScheme
...
original commit: fc9b765ed576903919e09f676612359bbbf2231f
2018-01-07 09:18:24 -07:00
Matthew Flatt
23094be32b
unbreak threads build
...
original commit: 1848af27e73a644f008f73974b1946bb7ac47643
2018-01-07 09:16:58 -07:00
Matthew Flatt
1dba8c4624
fix bounds check on immutables values and an immediate index
...
original commit: fc064b5b91bc5c7da8b7c71441a37e3c05523986
2018-01-07 08:48:57 -07:00
Matthew Flatt
f4f0bfff11
Merge branch 'genid' of github.com:mflatt/ChezScheme
...
original commit: bd3c746343c6850ed62eb5fcd2674292e4480fa4
2018-01-04 18:47:47 -07:00
Matthew Flatt
3526ab71fa
add expand-omit-library-invocations
...
original commit: 35dbfdaa9ea3832f2ded108b7edcaead61922007
2018-01-04 18:32:27 -07:00
Matthew Flatt
cf87f8c4f6
add current-generate-id
...
original commit: be555fa7605f17f8613b1c02fe9f5e187a7cfeb9
2018-01-04 18:32:27 -07:00
Bob Burger
74fa386d2d
fix c/vs.bat to work on 32-bit Windows
...
original commit: 78f0caf0fbdfa8ff9fd8e4ac1f2b12ee21214fef
2018-01-03 10:06:17 -05:00
Bob Burger
da9fec41e4
Generalized Windows Visual C++ merge module locator for Visual Studio 2017
...
original commit: 700c3c47ced6657924628ea0db7ee2679e50788a
2018-01-02 13:35:04 -05:00
Bob Burger
350f87ba4d
fix bug in date->time-utc caused by incorrect use of difftime in Windows
...
original commit: 4748dad50c7f0e9b3ba002c27990d4c88c0189fc
2017-12-29 16:48:30 -05:00
Andy Keep
228a22ad84
Merge pull request #249 from mflatt/evenodd
...
even? and odd?: reject exceptional flonums, since they're not integers
original commit: 85299506afb2acaa5b957a86aeca54812c14be40
2017-12-29 04:19:46 +01:00
Andy Keep
b1a19f79bb
Merge branch 'master' into evenodd
...
original commit: 1c0f190d28f2304a57e5db051a3dea69a914e903
2017-12-28 21:03:59 -05:00
Matthew Flatt
9a51376b5a
even? and odd?: reject exceptional flonums, since they're not integers
...
original commit: 94a28793313c714520635bd09359ef8bde2d52a8
2017-12-28 17:00:04 -06:00
Bob Burger
1a8a6dee21
fix comment about Sscheme_program
...
original commit: abb991bcd87f64eeae9a3848959191a4da5d6542
2017-12-28 10:54:03 -05:00
Matthew Flatt
c40206fb7a
Merge branch 'evenodd' of github.com:mflatt/ChezScheme
...
original commit: 6f1447cce5be0c105e925197b6f5afab1d5205a2
2017-12-28 07:05:19 -06:00
Matthew Flatt
a092b4d404
even? and odd?: reject exceptional flonums, since they're not integers
...
original commit: 550c5dd04c102cb11f4f91fda867148d3888f11b
2017-12-28 06:43:36 -06:00
Andy Keep
4f9145544e
Merge pull request #242 from gus-massa/17-12-Signatures
...
fix a few signatures
original commit: 7c543c9208530c72818eb41c1f2797001a01607b
2017-12-24 17:22:14 -05:00
Matthew Flatt
c9701b1d7c
tweak to tree-reduce memoization
...
original commit: 5d1deee09b4ccf13e58df4d9487b4e87589e334c
2017-12-21 07:24:57 -07:00
Matthew Flatt
8af0a5de94
Merge branch 'livefix' of github.com:mflatt/ChezScheme
...
original commit: 7292d4a04806da0f7f07de9404aeedaf00158a4e
2017-12-21 05:35:55 -07:00
Matthew Flatt
3ba909f3c6
avoid quadratics in call-live information
...
Using a tree representation enables sharing to avoid a quadratic-sized
compiled form and intermediate quadtraic-time/space representations
for a program like this one, where there are N calls each with an
average of N/2 live variables:
(define vars
(let loop ([i 10000])
(cond
[(zero? i) '()]
[else (cons (gensym) (loop (sub1 i)))])))
(time
(begin
(compile
`(lambda ,vars
,@(map (lambda (v) `(,v)) vars)))
(void)))
Keeping the variables in tree form (since they're already collected
that way) and memoizing reduces on the tree allows sharing to be
constructed and preserved. The tree approach persists even to the
runtime mask for live variables.
original commit: 35942accb14d1226189605548a9e05ca95e3f0b6
2017-12-21 05:34:11 -07:00
Gustavo Massaccesi
7a8d824b3d
fix a few signatures
...
s/primdata.ss
original commit: 0886e9807c7ded82dd836b54c963ea8c966d5c54
2017-12-15 20:17:27 -03:00
Gustavo Massaccesi
dc0be2bfbe
fix mat of substring-fill!
...
after the recent change, the result of substring-fill! is void
5_5.ms
original commit: a2cd9856be74008cc23b6ca3476339e79a1cd5ff
2017-12-15 19:28:43 -03:00
Andy Keep
f1b9fc95da
Fixing output of substring-fill! and vector-fill!
...
- fixed substring-fill! and vector-fill! to return void, reflecting the
documented return value of unspecified value. Also changes substring-fill!
to use define-who instead of repeating 'substring-fill! in all the error
messages.
5_4.ss, 5_6.ss
original commit: 3f65788b5422693f3648a9e2fe575f464eb31ccd
2017-12-12 08:43:01 -05:00
Matthew Flatt
cf05bafcda
bootfiles
...
original commit: 6d2c4d8df15a038c8988ebcfd93f9f6fcfe6649b
2017-12-09 06:55:24 -07:00
Matthew Flatt
0cdfda55c5
first cut at backreference support from GC
...
original commit: 49fff33f7284980823e9d993869396a145778abe
2017-12-09 06:44:28 -07:00
Bob Burger
3863e63ef9
added support for Visual Studio 2017.15.5
...
original commit: 33eaccf5d0105186d66faa76e8463bab9369bf1a
2017-12-07 17:18:22 -05:00
Matthew Flatt
bc3d26bd55
bootfiles
...
original commit: 0601ec5ae75abdc64bd0542a3f13d98ab914cbaa
2017-12-06 08:54:18 -07:00
Matthew Flatt
33d037f6a6
Merge branch 'procloc' of github.com:mflatt/ChezScheme
...
original commit: 552758ee584d142f5e92612676869cd4fde64ede
2017-12-06 08:37:50 -07:00
Matthew Flatt
9f1f5b793f
add generate-procedure-source-information
...
original commit: 45df1f3a517c040a45aaea8f0bd4c9d859310187
2017-12-05 20:40:22 -07:00
Andy Keep
84c6961dc9
Merge pull request #225 from gus-massa/17-10-Enumerate
...
Fix enumerate signature
original commit: f0ca1390f2ef606b8ea6fa0f39b44df986d7d67a
2017-12-05 13:50:11 -05:00
Andy Keep
6b1320eb67
Merge branch 'master' into 17-10-Enumerate
...
original commit: ec7dfdee5081f0e415e2922e1b6ded91f66d77a7
2017-12-05 13:48:44 -05:00
Andy Keep
280e3632bb
Merge branch 'master' into 17-10-Enumerate
...
original commit: 1ca717c9ece587f08a654772a72f1452357ca389
2017-12-05 12:22:07 -05:00
Andy Keep
c7595427d1
Merge pull request #240 from gus-massa/17-12-BV-Native
...
fix bytevector-[u/s]16-native-set! signature
original commit: c073c364e3da5a3b6a6cbc4b1e0f6c899670f6b3
2017-12-05 12:21:04 -05:00
Gustavo Massaccesi
1ecfb04a58
fix bytevector-[u/s]16-native-set! signature
...
original commit: 5d4e2fa1b2cf1ad7011b94b2b5262f734d5f0530
2017-12-05 12:43:49 -03:00