Doug Coleman
43fb73fae6
factor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace.
2015-08-06 17:05:12 -05:00
Doug Coleman
33d96f7623
combinators.smart: Add smart combinator that outputs a seq and (length-n) more elements.
2015-08-06 12:07:20 -05:00
John Benediktsson
8c82f46ee9
match: making match-cond have an optional default like cond.
2015-08-05 21:02:35 -07:00
John Benediktsson
2a3427bdff
io.files.info: use directory?, symbolic-link?, and regular-file?.
2015-08-05 18:33:35 -07:00
John Benediktsson
136d793c6e
compiler.tests: remove some tests that can't work now.
...
check-combination-effect raises an error at parse-time.
2015-08-05 18:01:16 -07:00
John Benediktsson
7312f3dc66
tools.deploy: fix tests for windows.
2015-08-05 14:04:49 -07:00
Doug Coleman
4131b44503
tools.deploy.embed: rename gone wrong. fixes #1415 .
2015-08-05 11:59:27 -07:00
John Benediktsson
b8675e4470
tools.deploy: disable opening directory after deploy for tests.
2015-08-05 11:02:09 -07:00
John Benediktsson
6490391bfc
tools.deploy.windows: fix using.
2015-08-05 07:26:01 -07:00
John Benediktsson
7b46b0e39a
prettyprint: use color constants for -> word-prop.
2015-08-04 20:37:29 -07:00
John Benediktsson
17b369972f
tools.deploy: adding a deploy-path that gives you the executable that was created.
2015-08-04 19:06:19 -07:00
John Benediktsson
ec7afb3ea6
locals.prettyprint: remove "|" as a symbol.
2015-08-04 19:04:47 -07:00
Doug Coleman
1ca3a0cd0b
bootstrap.image.upload: Use git id instead of build number.
2015-08-04 16:28:41 -07:00
Doug Coleman
f5853c7e31
bootstrap.image.upload: Upload build images as well for posterity.
2015-08-04 15:05:38 -07:00
Doug Coleman
9d021bb081
opengl: Temporary (?) fix for the ui. Issue #1379 .
...
Throwing gl errors is not helpful because the ui gets messed up anyway. Print the error and continue. Maybe we should add a section in the F3 error window for opengl errors instead of printing them in the global stdout.
- We could also use gl-error on every platform except for MacOSX 10.11
- We could fix the underlying gl drawing commands that cause this error.
2015-08-04 12:28:59 -07:00
Doug Coleman
d3a749d17a
urls: allow + in protocols, e.g. git+https://
2015-08-04 09:16:47 -07:00
Doug Coleman
abb8bd74b9
json.reader: Fix json reader for empty files to parse as H{ }. Add path>json word.
...
Rename read-jsons
2015-08-03 12:23:08 -07:00
Doug Coleman
876a7f2301
tools.deploy: increase image size for linux32
2015-08-01 14:34:04 -07:00
John Benediktsson
dea7e0f50d
stack-checker: too tired to figure out which using is required but not used.
2015-07-31 21:57:37 -07:00
John Benediktsson
31ecc5ef86
stack-checker: using cleanup.
2015-07-31 20:41:46 -07:00
John Benediktsson
c6fad4aa61
math.ratios: moving to core.
2015-07-30 10:31:00 -07:00
Doug Coleman
23899e2d83
io.files.windows: Need the SLOT: file from io.sockets.secure.openssl
2015-07-30 00:05:37 -07:00
Björn Lindqvist
22b871d82e
compiler.cfg.utilities: make it so block>cfg initializes spill-area-align
2015-07-29 13:01:24 +02:00
John Benediktsson
fba2eb9ace
fix another doc using.
2015-07-28 20:21:12 -07:00
John Benediktsson
38afea84bf
fix doc using.
2015-07-28 20:20:40 -07:00
John Benediktsson
4ded3c491c
fix some help-lint errors.
2015-07-28 20:06:59 -07:00
John Benediktsson
823524c3a0
io.backend.unix.macosx: change to << require >>.
2015-07-28 19:33:24 -07:00
John Benediktsson
71dd957f77
command-line: rename file to path for user-init-error which is kinda exactly like a source-file-error.
2015-07-28 19:30:20 -07:00
John Benediktsson
9ad9cd3f14
unix: don't need << >>.
2015-07-28 19:23:54 -07:00
John Benediktsson
9b77a785e9
math.floats.env: don't need << >>.
2015-07-28 19:23:43 -07:00
John Benediktsson
3649d21541
ui: cleanup some usings.
2015-07-28 19:14:14 -07:00
John Benediktsson
acded37575
ui.images: don't need to << >>.
2015-07-28 19:14:01 -07:00
John Benediktsson
60d7d84b56
ui.commands: don't need to \ .
2015-07-28 19:13:43 -07:00
John Benediktsson
e26493b97b
io.backend.unix.macosx: change USE: to require.
2015-07-28 19:13:29 -07:00
John Benediktsson
0fbd2fd472
alien.libraries: don't need << >>.
2015-07-28 19:13:13 -07:00
John Benediktsson
194e0cc598
disjoint-sets: some cleanup.
2015-07-28 18:14:20 -07:00
John Benediktsson
663fba1d7d
json.reader: fix segfault when parsing non-JSON documents.
2015-07-28 18:10:24 -07:00
John Benediktsson
922cbebf8a
json.reader: enforce json> takes a string.
2015-07-28 18:02:57 -07:00
Björn Lindqvist
8a731681bf
compiler.cfg.*: tests against #1308
2015-07-28 17:58:29 -07:00
Björn Lindqvist
a8c0a25d87
compiler.cfg.ssa.destruction.coalescing: refactor and maybe a fix for #1308
...
the eliminatable-copy? word is the fix. the previous code only checked
that the registers had the same register class, but you also need to
check that they dont have the same representation size. because a copy
from double-rep -> double-2-rep is not eliminatable
2015-07-28 17:58:29 -07:00
Björn Lindqvist
b544c1b352
compiler.cfg.*: some extra unit tests for the compiler
2015-07-28 17:58:29 -07:00
Björn Lindqvist
820207c5b0
compiler.cfg.ssa.destruction.coalescing: simpler code for setting up the
...
initial leader-map and class-element-map
2015-07-28 17:58:28 -07:00
Björn Lindqvist
1b6fa50ff2
cpu.x86: define %alien-invoke and %alien-indirect using %alien-assembly
2015-07-28 17:58:28 -07:00
Björn Lindqvist
5e29aac0a6
Docs: various more compiler-related docs
2015-07-28 17:58:28 -07:00
Björn Lindqvist
aca610813d
compiler.cfg.representations.selection: use a union instead of a generic
...
to see if an insn is peephole-optimizable + test
2015-07-28 17:58:28 -07:00
Björn Lindqvist
44c9b2c8e8
compiler.tree.*: new docs
2015-07-28 17:58:28 -07:00
Björn Lindqvist
2c5f00d865
compiler.cfg.*: even more docs
2015-07-28 17:58:28 -07:00
Björn Lindqvist
e095b54644
compiler.tree.escape-analysis.*: new doc files
2015-07-28 17:58:28 -07:00
Björn Lindqvist
06560b24a6
compiler.tree.escape-analysis.allocations: stub doc file from comments
2015-07-28 17:58:27 -07:00
Björn Lindqvist
b4e4792cb6
compiler.cfg.*: a bunch of docs updates
2015-07-28 17:58:27 -07:00
Björn Lindqvist
cdf9a8535b
compiler.cfg.representations.selection: some initial docs from comments
2015-07-28 17:58:27 -07:00
Björn Lindqvist
31aae02916
compiler.cfg.linear-scan.live-intervals: simpler code for finding the
...
sync points in the cfg
2015-07-28 17:58:27 -07:00
Björn Lindqvist
78d5c0a743
compiler.cfg.instructions: ##read -> read-insn and ##write -> write-insn
2015-07-28 17:58:27 -07:00
Björn Lindqvist
81c7659360
compiler.cfg.instructions: rename ##allocation to allocation-insn,
...
because it's nicer if all instruction unions have the -insn suffix and
the ## prefix is reserved for tuples
2015-07-28 17:58:27 -07:00
Doug Coleman
0babf4558f
math.statistics: fix docs
2015-07-27 12:41:02 -07:00
Doug Coleman
3d4bc1de1a
core: rename parse-call( to parse-call-paren
2015-07-27 09:54:08 -07:00
Doug Coleman
270155bae4
math.statistics: clean up some weird stack effects
2015-07-27 09:54:07 -07:00
John Benediktsson
57b0ce8d9e
ui.gadgets.panes: don't use extract-keys, don't clone twice in specified-font.
2015-07-27 08:42:42 -07:00
John Benediktsson
4f09d852f3
ui.gadgets.sliders: rename slider-pen-tuple to slider-pen.
2015-07-27 08:41:01 -07:00
John Benediktsson
332e3ad52f
ui.gadgets.grids: rename grid-layout-tuple to grid-layout.
2015-07-27 08:40:30 -07:00
John Benediktsson
ca0f80f230
bootstrap: cleanup usings.
2015-07-26 21:20:55 -07:00
Doug Coleman
f3c85e0598
math.vectors.conversion: [foo] for words that make quots is ok, but [[foo]] is overboard. change to ([foo])
2015-07-26 12:24:23 -07:00
John Benediktsson
155c5ab823
fix a couple string escapes.
2015-07-26 08:32:40 -07:00
Doug Coleman
1fcf96cada
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
2015-07-25 22:59:56 -07:00
John Benediktsson
5fbe6aa9e6
ui.gadgets.labels: respect the labels background and foreground.
2015-07-25 22:38:34 -07:00
Doug Coleman
b9c0255fcc
debugger: final fix for path/file rename
2015-07-24 10:56:31 -07:00
Doug Coleman
117727d444
parser, source-files: you need to bootstrap after this patch.
...
cleans up some file vs path naming.
file -> current-source-file
file -> current-test-file somewhere else
source-file -> path>source-file
source-file-tuple -> source-file
2015-07-23 22:03:43 -07:00
Doug Coleman
89ffe8fa82
io.encodints.iso2022: fix unit tests
2015-07-21 19:33:08 -07:00
John Benediktsson
255b4fc823
cpu.x86: fix article title help-lint.
2015-07-21 17:55:52 -07:00
Doug Coleman
97d29b8f57
multiline: disable test that defines a weird syntax word.
2015-07-21 17:33:14 -07:00
Doug Coleman
b39d4c54a4
regexp: remove R" R[ and R{, there are still plenty of options and better ones to come.
2015-07-21 17:33:14 -07:00
Doug Coleman
c1a330ac7a
io.encodings.iso2022: use $ instead of making ESC a parsing word.
2015-07-21 17:33:14 -07:00
Björn Lindqvist
e41aef9a50
cpu.x86: use push and pop when emitting %prologue and %epilogue
...
push/pop REG has the same effect as sub/add rsp, 8 so use them instead
when applicable to generate a little shorter code
2015-07-21 16:22:33 -07:00
Doug Coleman
cf0cb4aedc
nested-comments: remove this vocab. we have /* */ which is good enough for now.
...
broken case:
(*
: print-broken ( -- ) "*)" ;
*)
not worth fixing, please don't bring this back :)
its functionality will be replaced soon.
2015-07-21 12:07:53 -07:00
Doug Coleman
da5564bd3f
multiline: remove unused DELIMITED: word.
2015-07-21 12:02:15 -07:00
John Benediktsson
9ec74563ba
compiler.cfg: use "f [ or ] reduce" instead of "map [ ] any?"
2015-07-21 09:54:44 -07:00
Björn Lindqvist
d24733e703
compiler.cfg.build-stack-frame: refactoring which removes the
...
frame-required? variable
2015-07-21 13:40:50 +02:00
Björn Lindqvist
80ea6b8997
compiler.*: fix the tests that broke because i removed the stack-frame variable
2015-07-21 13:40:49 +02:00
Björn Lindqvist
eba939c0f2
compiler.cfg.stacks.map: this vocab is subsumed by
...
compiler.cfg.stacks.padding which works much better
2015-07-21 13:36:11 +02:00
Björn Lindqvist
bc8525bf5b
compiler.cfg.build-stack-frame: the frame-required? variable needs to be
...
reset so that stack frames aren't included in words that doesn't need them
2015-07-21 13:35:22 +02:00
Björn Lindqvist
b5333ec7aa
compiler.cfg.stack-frame: using cfg get stack-frame>> instead of the
...
stack-frame variable that pointed to the same instance
2015-07-21 13:35:22 +02:00
John Benediktsson
5eec781b40
use ``if*`` instead of ``dup [ ] [ drop ] if``.
2015-07-20 22:24:30 -07:00
John Benediktsson
7327b8bdd4
vocabs.loader: make require-all throw restarts.
...
We only want to catch the restarts in mason, so make a special
load-no-restarts that will catch the failures and print them out
the same way it worked before.
2015-07-20 17:35:22 -07:00
John Benediktsson
507dac7599
locals.parser: don't clone the manifest, just pop used words.
...
It seems the manifest gets cloned on restarts, which makes unuse-words
not work since it just checks ``eq?``. If we pop the last qualified
vocabs, then everything works.
2015-07-20 17:35:22 -07:00
John Benediktsson
529a57bbb4
Revert "hints: add hints to index."
...
This reverts commit 96ce04755a
.
2015-07-20 17:35:22 -07:00
John Benediktsson
8a4a86db64
vocabs.prettyprint: lookup syntax vocab only once in pprint-using.
2015-07-20 17:35:22 -07:00
Doug Coleman
bcc78ab220
basis: whitespace.
2015-07-20 17:13:52 -07:00
John Benediktsson
d5ebb43905
wrap: some cleanup.
2015-07-20 12:25:49 -07:00
John Benediktsson
46fbfe3ff0
wrap: use infimum-by instead of min-by.
2015-07-20 12:25:49 -07:00
John Benediktsson
3ea9f09f6a
fix some sets:members.
2015-07-20 09:32:31 -07:00
Doug Coleman
329aed2366
factor: fix renaming bugs
2015-07-20 07:54:26 -07:00
Doug Coleman
2f6548d6d2
factor: fix breakage with word renamings.
2015-07-20 05:51:16 -07:00
Doug Coleman
2fd752536f
wrap.words: fix docs
2015-07-20 01:31:10 -07:00
Doug Coleman
80601662a3
bootstrap.image: rename image -> bootstrapping-image
2015-07-20 01:26:44 -07:00
Doug Coleman
dfc5be9e43
ui.gadgetes.grids: cell -> grid-cell. it's private and hardly used and loaded by default, let's not confuse the tools with the layouts:cell.
2015-07-20 01:23:00 -07:00
Doug Coleman
af90d77fc2
wrap.words: rename wrap.words:word to wrapping-word. this ``wrapping-word`` is loaded by default and now this trivial vocabulary won't cause a naming conflict with the builtin ``word`` and one of the most used symbols and concepts in the entire language.
2015-07-20 01:15:48 -07:00
Doug Coleman
eca8b7e49c
core: fix docs
2015-07-20 01:01:31 -07:00
Doug Coleman
191d00208d
vm: rename vm:cell to cell_t. it's just a typedef.....
2015-07-20 01:01:01 -07:00
Doug Coleman
e4c39bcf3c
factor: superclass -> superclass-of, superclasses -> superclasses-of
2015-07-20 00:46:33 -07:00
Doug Coleman
2adeed9cb3
factor: rename classes:members to class-members so it doesn't conflict with sets:members. ugh.
2015-07-20 00:32:42 -07:00