Matthew Flatt
27198bbf43
schemify: adjust pre-lift transformation that can disturb loops
2020-06-14 19:43:34 -06:00
Matthew Flatt
6aa9f7a8eb
cs-bootstrap: some additional functions for bootstrapping
2020-06-14 19:43:03 -06:00
Matthew Flatt
28271158dd
cs: remove experimental JIT database support
...
Caching compiled JIT fragments in a SQLite database did not turn out
to be a viable path, so remove partial support for it. JIT mode in
general is rarely a good option, but it's at least completely worked
out, so left in for now.
2020-06-14 14:52:43 -06:00
Matthew Flatt
2a7d94d89c
update compilation info, especially for CS
...
Update the Guide's performance section with current information for
Racket CS, and also document the Racket CS compilation mode and
inspection environment variables. Make a couple of environment
variables work more consistently: PLTDISABLEGC for CS and PLT_ZO_PATH
for BC.
2020-06-14 14:26:22 -06:00
Matthew Flatt
6309c64f6c
cs: unbreak Windows build
2020-06-14 08:59:30 -06:00
Matthew Flatt
023681947c
bc: fix GC cooperation on internal setjmp
...
The direct use of `__gc_var_stack__[1]` is wrong if xform has not
generated a function-call wrapper than sets that array element.
2020-06-14 06:24:50 -06:00
Matthew Flatt
e397ad0cbb
schemify: fix loop detection in nested lambda
forms
2020-06-13 19:03:24 -06:00
Matthew Flatt
265c9eaa57
bc: futures repair related to internal stack overflow
...
The combination of 1117392cb5
and the existing "tail-apply.rkt" test
exposed another bug.
2020-06-13 15:44:29 -06:00
Matthew Flatt
bc853db1c7
cs: sync with Chez Scheme
...
Latest FP-unboxing changes require recompilation, so bump the Racket
version.
2020-06-13 11:05:03 -06:00
Matthew Flatt
99acbdaf8c
fix cs to not itialize 'atomic memory, docs to not claim initialized
2020-06-11 19:37:12 -06:00
Matthew Flatt
35fe6a0c64
reference: fix typos related to exfl->fx
and fx->extfl
2020-06-11 19:37:12 -06:00
Matthew Flatt
1117392cb5
cs: fix touch
on future waiting for an atomic action
...
When the runtime thread `touch`es a future that is blocked on an
atomic action (just as JIT compilation), the runtime thread would
eagerly run the action, but still leave the future on the
atomic-action queue. Atomic actions tend to be ok to run a second time
(including JIT compilation), so a problem may not show up immediately,
but a semaphore can get out of sync and cause problems later.
2020-06-11 14:55:39 -06:00
Matthew Flatt
42cb80bc70
make fl->fx
truncate
...
Change `fl->fx` to truncate as it converts, which is typically done
anyway by a machine instruction to convert from floating-point to
integer values. This makes `fl->fx` different from `inexact->exact`
or `fl->exact-integer`, but it brings BC and CS in line.
2020-06-11 06:17:18 -06:00
Matthew Flatt
fd236d99ef
cs configure: propoagate some options to rktio configure
...
Otherwise, for example, there's a pthread mismatch currently on arm32
for rktio compilation and racketcs linking.
2020-06-10 08:13:13 -06:00
Sam Tobin-Hochstadt
ec0964861f
Check for 0.0 imaginary part in exp
.
...
Follows Chez Scheme and Guile. Turns `(exp 10000.+0.0i)` into
`+inf.0+0.0i` instead of `+inf.0+nan.0i`, which is analagous to
the behavior for exact 0 in the complex part.
Fixes #3194 .
2020-06-10 09:10:22 -04:00
Matthew Flatt
2768499b88
fix rktio destroy to release a pipe used for internal singals
...
Also, fix CS to desstroy a place's rktio instance when the place
exits.
Closes #3243
2020-06-09 10:04:46 -06:00
Matthew Flatt
fcea8d3c67
more: adjust PATH note, because there's no "bin" layer on Windows
2020-06-09 08:36:47 -06:00
Fred Fu
c2cae5b7e3
[CS] struct-type-make-predicate creates a value that passes struct-predicate-procedure?
...
Fixes #3239
2020-06-08 15:03:17 -06:00
Sorawee Porncharoenwase
cd996c3b6c
Fixes #3236 : preserve disappeared-use on local, block, and class
2020-06-08 13:35:59 -06:00
Matthew Flatt
79e6d1865a
Revert "expander: fix intering of some module path indexes for ".zo""
...
This reverts commit 91f8d8a72f
.
The idea that the same resolved path implies the same module
path index is incorrect.
Related to #3241
2020-06-08 10:41:17 -06:00
Sancho McCann
1f3a18d637
Updated sgn documentation to reveal behaviour for signed zeros
...
Include expanded example set to show behaviour for infs
2020-06-08 07:35:58 -06:00
Sorawee Porncharoenwase
7abdaee224
doc typo: disappeared-{use,binding}s -> disappeared-{use,binding}
2020-06-06 21:40:52 -04:00
Stephen De Gabrielle
f892fe936e
more: set path guidance
...
Include information about how to set `PATH`.
Related to racket/racket-lang-org#101
2020-06-05 13:13:54 -06:00
Matthew Flatt
110c580d97
cs-bootstrap: repair relevant to arm32le
2020-06-05 13:11:03 -06:00
Paulo Matos
9315112df2
Improve docs on the return value of git-checkout ( #3233 )
2020-06-05 16:56:01 +02:00
Matthew Flatt
3cc74bd3db
adjust datum-intern stress test
...
Instead of requiring a table not to grow within an iteration, require
it to not grow across iterations.
2020-06-04 11:16:45 -06:00
Sam Tobin-Hochstadt
0938ae8e33
Print random state in datum-intern stress test.
2020-06-04 10:52:09 -04:00
Paulo Matos
31c5644cf5
Consolidate current racket-ci images into a single one ( #3230 )
...
This simplifies jobs (like PR jobs) that have to build and test in a
single container and cannot choose between build or test images.
2020-06-03 18:34:20 +02:00
Matthew Flatt
f508bb25ab
cs & threads: fix replace-evt
leading to choice-evt
...
Closes #3229
2020-06-03 09:48:48 -06:00
Robby Findler
8908496ba1
tighten promised contract of denominator
2020-06-02 17:57:48 -05:00
Sam Tobin-Hochstadt
8b8e3913a8
Fix snapshot paths
2020-06-02 13:44:10 -04:00
Sam Tobin-Hochstadt
257eb13e29
use new bucket for ci snapshots
2020-06-02 12:04:41 -04:00
Matthew Flatt
e496805f82
makefile: add win32-also-cs
, etc.
2020-06-02 08:28:10 -06:00
Matthew Flatt
774bfd9139
windows: repair command parsing, especially when building with MinGW
...
Related #3277
2020-06-02 08:05:08 -06:00
Matthew Flatt
606a8c52aa
doc correction: --skip-implies
-> --update-implies
...
Also, clarify the interaction of implied packages with `--deps` and
`--update-deps`.
2020-06-01 19:06:29 -06:00
Matthew Flatt
17d60e479f
unbreak 3m glib testing support
2020-06-01 14:22:10 -06:00
Matthew Flatt
3499e79377
cs: fix glib logging callback
...
Allow a NULL domain string.
Related to #3216
2020-06-01 14:14:43 -06:00
Matthew Flatt
11f4a0048b
thread: fix scheduler's handling of async callbacks
...
If the callback takes too long to run, then a second copy was
scheduled --- which likely schedules a third copy, and so on. This
problem could lead DrRacket to get stuck in a GC cycle, for example.
2020-06-01 13:25:00 -06:00
Matthew Flatt
613155a317
doc: repair example in Inside
2020-05-31 17:17:17 -06:00
Matthew Flatt
d5024cf595
schemify: keep simple loop patterrns intact
...
In Schemify's lifting pass, avoid disturbing loop patterns that Chez
Scheme will recognize. Keeping the loops intact is helpful for
floating-point unboxing, where (currently) unbxoing is supported
across loop iterations but not across function boundaries in general.
2020-05-31 17:17:17 -06:00
Paulo Matos
aa0cfd0557
Fix typo in comment
2020-05-30 08:42:01 +02:00
frogbird
f44877bf4b
added in-list
2020-05-28 14:06:52 -05:00
frogbird
2cca55c38b
moved up coerce-contract check
2020-05-28 14:05:00 -05:00
Paulo Matos
bb4317e545
Improve Windows CI Testing ( #3220 )
...
Build and Test 3m and CS under Windows 10
This improves testing considerably on Windows.
For both PRs and Pushes, build 3m and CS on Windows and run tests.
2020-05-28 14:19:50 +02:00
Sam Tobin-Hochstadt
72ef9f8b6b
Avoid empty prototype list.
...
Related to github/codeql#3535 .
2020-05-26 13:17:57 -04:00
Paulo Matos
6e4bbcb4b9
Non-split build/test workflow on Windows10 for push commits ( #3218 )
2020-05-26 19:06:31 +02:00
Paulo Matos
3657b096d6
Run CI jobs inside containers ( #3134 )
...
Also splits Linux and MacOS push workflows, since they cannot share a
matrix. Updates several checkout, upload/download-artifact actions to v2.
2020-05-26 17:53:58 +02:00
Matthew Flatt
e4485d1e11
doc: more notes on dynamic-require
examples
...
Suggested by Shriram.
2020-05-25 07:49:15 -06:00
Sorawee Porncharoenwase
83d9e56296
doc: body-expr -> body
2020-05-24 14:22:38 -06:00
Matthew Flatt
406a67def6
cs: fix resolve-path
to preserve directory separator
...
Closes #3212
2020-05-24 13:48:35 -06:00