Commit Graph

761 Commits

Author SHA1 Message Date
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
Andy Keep
b24833c44d Adding build status icon for this branch.
original commit: ce0f9b5b165915b3d9d2e232ebefc2901139ec99
2018-01-15 23:18:56 -05:00
Andy Keep
63a6884f9e More complete build script with checking.
original commit: e5a95095ae636475c7e44255d083012855168fcd
2018-01-15 22:52:45 -05:00
Andy Keep
6d9ed8bf04 Updated to run the partialx again.
original commit: d32395ab408c09a4ff02d741e1854fbdb92201b8
2018-01-15 22:14:58 -05:00
Andy Keep
c5f5edf3bc Updated the dobuild.sh script to print summary and diff with expected summary.
original commit: e9424df9f712fefb108ad22ed75a2fb4705272f6
2018-01-15 22:13:04 -05:00
Andy Keep
e43572f570 Marking dobuild.sh executable.
original commit: 35602172bc334a61c386f4dc5faba7f6ca147283
2018-01-15 22:05:13 -05: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
8d03bb0fe5 Small update to move build out to a seperate file, also adding expected summary.
Moved command out of travis configuration file and created a separate bash
script we could run.  The filtering appears to be getting in the way of the
error code being forwarded up to the running shell, and it is possible the -e
option on bash will help.  The summary file is the expected result file (for
diffing, if necessary).
  .travis.yml, .travis/dobuil.sh (new), .travis/summary

original commit: 48cb144d83b5fffa0d2523790a6d0bf172d154ea
2018-01-15 21:24:22 -05:00
Gustavo Massaccesi
63a6443c26 fix a few signatures
primdata.ss

original commit: 903e017f2611f7e2c3817667afefee7a0ebfae35
2018-01-15 22:58:34 -03:00
Andy Keep
cb0c235ef2 Small change to check exit code.
original commit: a1f2cb9f64cb532d4253a2daa8be70c530b68054
2018-01-15 20:50:40 -05:00
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