Andy Keep
bd00226709
Adding an intentionally failing test to test my build checking theories.
...
original commit: 227914ff17eefcc12d3ca6cebe8c844df348734e
2018-01-15 19:59:52 -05: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
Bob Burger
449d7c7f38
Merge pull request #239 from barak/master
...
fixed a couple typos
original commit: 073dbccf7fec0b2856c2f85e5f3636f2702c630b
2017-12-04 09:47:22 -05:00
Barak A. Pearlmutter
877bf5e25b
spelling
...
original commit: bf67725d5538defc7e006b0fb7a2eb95993b6f34
2017-12-04 09:35:31 +00:00
Matthew Flatt
0e71f09585
make bootfiles
...
original commit: d3f2276805599d2d9a631fdbcb9a4949895a2ef0
2017-12-02 08:56:27 -07:00
Matthew Flatt
74dbc7d6f5
Merge branch 'arity-wrapper' of github.com:mflatt/ChezScheme
...
original commit: 3694a08fedfaf7e00eb52c1bbb55ce6df3e081e4
2017-12-02 08:27:01 -07:00
Matthew Flatt
4c2528653e
add make-arity-wrapper-procedure
...
A program can use `make-arity-wrapper-procedure` to synthesize a
function that reports a given arity mask (without calling `compile`).
In addition, `set-arity-wrapper-procedure!` suports modifying the
implementation of a synthesized procedure. Although similar
functionality could be achieved with `(lambda args (apply (unbox proc)
args))`, an arity wrapper procedure can dispatch to another procedure
without allocating a list for the arguments.
The interpreter now uses an internal variant of arity wrappers to
cooperate with `procedure-arity-mask`.
original commit: 295255a326afbf3f120f95c2ccc6e95b74fdd5e2
2017-12-02 08:24:42 -07:00
Andy Keep
07987daf04
Merge branch 'master' into 17-10-Enumerate
...
original commit: ad54c2dddd68ca5aec37f0837f72cbfdaac6bb7b
2017-11-24 09:27:36 -05:00
Bob Burger
db1ce365fc
fixed two typos
...
original commit: 2d1d3ad5fcf4b63423d9e7ff783315792ac81626
2017-11-22 10:38:33 -05:00
Matthew Flatt
286aa79f41
update bootfiles
...
original commit: 5fc0ed342519b3bfd56e4b10f47a5f7b597f44a0
2017-11-17 14:32:48 -07:00
Matthew Flatt
bb1a3b0c45
Merge branch 'cas' of github.com:mflatt/ChezScheme
...
original commit: d9a3e7a9906649406673f49c951137db2a94de8c
2017-11-14 11:18:28 -07:00