Björn Lindqvist
2f835d3666
compiler.tree.propagation.*: implements downgrading to fixnum for the
...
mod word, maybe a first step in solving #224
factor_vm::primitive_bignum_mod is changed so that it outputs a fixnum
if the value is small enough. Then the compiler can take advantage of
knowing that expressions like [ >bignum 10 mod ] always result in a
fixnum [-9,9] and inline more arithmetic.
2015-06-27 16:14:58 +02:00
Björn Lindqvist
72fe466ac9
compiler.tree.propagation.known-words: more precise output class
...
assignment for all mod words
The compiler can better optimize a quotation like [ 20 fixnum-mod 55 + ]
if it knows fixnum-mod outputs a fixnum.
2015-06-27 16:14:57 +02:00
Doug Coleman
44e8e7b344
primitives: Change PRIMITIVE: to check that the word is in that vocabulary and the stack effect is correct.
...
Use PRIMITIVE: in core/ and basis/
2015-06-25 18:02:03 -07:00
Doug Coleman
09e4606791
compiler.cfg.debugger: alien-invoke insn nodes were printing double quotes in the dot file output. If you would pprint a string, instead print that string so the double quotes are not present in the output.
2015-06-24 18:46:39 -07:00
Doug Coleman
9d2c641a99
io.standard-paths: On mac when you launch Factor from the doc it doesn't have the login shell PATH variable for paths such as /usr/local/bin for homebrew. Add a word that finds things in this path as well.
...
Note that launching a binary found this way needs the full path, as the PATH variable itself is not modified and the binary will still not be in PATH if it wasnt before.
2015-06-24 18:44:09 -07:00
John Benediktsson
8325837b84
locals.parser: fix help-lint warning.
2015-06-22 18:42:16 -07:00
John Benediktsson
e69d0a7b45
locals.parser: only need to clone manifest.
2015-06-22 15:59:15 -07:00
John Benediktsson
fc467b72a5
functors: make sure to unuse functor-words, some cleanup.
2015-06-22 15:58:59 -07:00
Björn Lindqvist
d32b9f9c90
locals.parser: docs for with-lambda-scope and some random doc additions
2015-06-22 11:15:48 +02:00
Björn Lindqvist
976961bfbd
locals.parser: new word with-lambda-scope to handle lexical variables
...
better, fixes #1338
By cloning the relevant parts of the manifest, you ensure that the
quotation with-lambda-scope runs can't "leak" local names in case of
restartable errors.
2015-06-22 11:15:47 +02:00
John Benediktsson
16abe47b03
compiler.tree.propagation: fix tests for bit? inlining.
2015-06-17 20:52:05 -07:00
John Benediktsson
621b50a8e5
cpu: enable bit-test intrinsic for fixnum-bit?.
2015-06-17 19:11:10 -07:00
John Benediktsson
fda90b2beb
math.primes.erato: add some comments at the top.
2015-06-17 10:19:00 -07:00
John Benediktsson
619ffe1884
persistent.vectors: bring private back (broken in 4191882a68
).
2015-06-17 08:23:34 -07:00
Doug Coleman
3705d6e387
persistent.vectors: fix unbalanced private
2015-06-16 22:16:49 -07:00
John Benediktsson
423b2afb91
compiler.cfg.linear-scan.allocation: fix docs for free-position.
2015-06-16 20:38:34 -07:00
Doug Coleman
4eb6fd6624
gtk, opengl: try out update-library
...
opengl.gl: Only find the opengl library if we are on unix and not on macosx.
2015-06-16 20:14:04 -07:00
Doug Coleman
5908f301b9
alien.libraries: Add update-library. See #1185
2015-06-16 19:56:34 -07:00
John Benediktsson
b2adcaaac9
dlists: fix unbalanced-private-declaration.
2015-06-16 18:51:25 -07:00
John Benediktsson
8b6c743e02
math.primes.erato.fast: use literals to show how the wheel is calculated.
2015-06-16 18:44:08 -07:00
Björn Lindqvist
3678f62508
x86.64: change the register order so that RBX is allocated before RCX
2015-06-16 18:28:32 -07:00
Björn Lindqvist
8c8605d11a
compiler.cfg.linear-scan.*: more tests and docs for allocation and state
2015-06-16 18:28:32 -07:00
Björn Lindqvist
78fe8bf1dc
compiler.cfg.linear-scan.*: dont use a hashtable here, it fixes register
...
allocation so it's always in the same order as machine-registers
2015-06-16 18:28:32 -07:00
John Benediktsson
64db5c5bb4
math.primes.erato: faster compressed sieve by two improvements:
...
1) fixnum math in unmark-multiples
2) 3 upper sqrt 2 <range> in sieve
2015-06-16 08:26:48 -07:00
John Benediktsson
7e23c12c0f
math.primes.erato.fast: some bignum fixes and more tests.
2015-06-16 08:20:32 -07:00
John Benediktsson
e3ec051527
math.primes: fix "11 >bignum prime?".
2015-06-15 23:02:39 -07:00
John Benediktsson
1303d37358
editors.brackets.windows: need USE: editors.brackets.
2015-06-15 20:09:45 -07:00
John Benediktsson
db42e12853
math.primes.erato.fast: adding fast Sieve of Eratosthenes.
2015-06-15 19:51:02 -07:00
John Benediktsson
588a05bc62
editors.brackets: add support for Mac OS X.
2015-06-15 09:45:23 -07:00
Dimage Sapelkin
69a381085b
Create summary.txt
2015-06-15 09:35:38 -07:00
Dimage Sapelkin
ad21e9d904
Create authors.txt
2015-06-15 09:35:38 -07:00
Dimage Sapelkin
ee37e69cba
Create brackets.factor
2015-06-15 09:35:38 -07:00
Dimage Sapelkin
178b1971d5
Create brackets-docs.factor
2015-06-15 09:35:38 -07:00
John Benediktsson
d4e3adca57
compiler.cfg.ssa.destruction.coalescing: lookup variable once not twice.
2015-06-15 09:11:16 -07:00
John Benediktsson
c44aaf58be
cpu.ppc: remove use of with-scope in favor of locals.
2015-06-15 09:11:03 -07:00
John Benediktsson
255b60ef8d
cpu.x86: remove use of with-scope in favor of locals.
2015-06-15 09:10:52 -07:00
Björn Lindqvist
aeaed40d9c
compiler.cfg.ssa.destruction.coalescing: new vocab to refactor and
...
simplify the prepare-insn code in compiler.cfg.ssa.destruction
2015-06-15 12:28:31 +02:00
Björn Lindqvist
c5ec490f39
compiler.cfg.ssa.destruction: the natural-sort was malplaced, only sort
...
inputs from ##phi, should fix remainder of #1345
2015-06-15 12:28:30 +02:00
Björn Lindqvist
c0645ecafe
compiler.cfg.linear-scan.*: fix help-lint errors
2015-06-14 16:44:37 +02:00
Björn Lindqvist
5ad35fabd1
compiler.cfg.*: lots of more compiler docs
2015-06-14 16:44:37 +02:00
Björn Lindqvist
418438ab13
compiler.cfg.linear-scan.*: change compute-live-intervals so that it
...
returns only one sequence, it makes some words a little simpler
2015-06-14 16:44:37 +02:00
Björn Lindqvist
f37ab939f0
compiler.*: more compiler docs
2015-06-14 16:44:37 +02:00
Björn Lindqvist
91118ae5df
compiler.cfg.linear-scan.allocation.state: fix #1345 by adding vreg to
...
the heap key
By having { start end vreg } as the key in the min-heap ordering is
guaranteed even if two intervals share the same start and end.
2015-06-14 16:44:37 +02:00
Björn Lindqvist
9dbb3e9171
compiler.codegen.gc-maps: simplies largest-spill-slot and refactors serialize-gc-maps
2015-06-14 16:44:37 +02:00
Björn Lindqvist
ca2d64af68
compiler.cfg.ssa.destruction: try and sort the vreg pairs before
...
elimination, this way you always get the same leader info
2015-06-14 16:44:36 +02:00
Björn Lindqvist
be342e8638
compiler.cfg.ssa.destruction: refactors maybe/must-eliminate-copy into
...
one try-eliminate-copy
2015-06-14 16:44:36 +02:00
Björn Lindqvist
98ae0eb02e
compiler.cfg.ssa.destruction: small refactoring which removes
...
class-elements and maybe-eliminate-copy-later
2015-06-14 16:44:36 +02:00
Björn Lindqvist
ceff23339c
compiler.cfg.ssa.destruction: a bunch of new docs
2015-06-14 16:44:36 +02:00
Björn Lindqvist
b4f881a9be
compiler.cfg.ssa.destruction.tests: a bunch of new tests
2015-06-14 16:44:36 +02:00
John Benediktsson
54c4388a68
vocabs: remove little used words.
...
vocabs:vocab-name* => editors.private:public-vocab-name.
2015-06-11 20:04:44 -07:00
Jon Harper
5c23f10e50
json.writer: add an explicit error when serializing fp-specials
2015-06-10 22:51:39 -07:00
Jon Harper
5ed3aef603
json.reader: read Infinity, -Infinity and NaN
2015-06-10 22:51:38 -07:00
Jon Harper
496ff53f22
json.reader: read UTF-16 surrogate pairs
2015-06-10 22:51:38 -07:00
Doug Coleman
fb8d601c20
cocoa: windows -> ui-windows
2015-06-10 16:05:11 -07:00
Doug Coleman
958d5e61b2
ui: rename windows to ui-windows
2015-06-10 15:36:35 -07:00
John Benediktsson
dfa763434e
Fix tests broken by word hashcode change.
2015-06-09 20:37:55 -07:00
John Benediktsson
aa00d59d59
words: rename reset-props to remove-word-props.
2015-06-09 11:53:46 -07:00
John Benediktsson
72c95895e7
locals.parser: use qualified-vocabs.
2015-06-09 09:59:19 -07:00
John Benediktsson
b7e0c5a0dd
sequences.deep: adding a test for deep-reduce.
2015-06-09 09:16:40 -07:00
John Benediktsson
6698f7d55d
tools.coverage: cleanup and use deep-reduce in count-callables.
2015-06-09 08:43:51 -07:00
John Benediktsson
a732c2afc5
sequences.deep: adding deep-reduce.
2015-06-09 08:42:54 -07:00
John Benediktsson
10c0f808ca
lcs.diff2html: fix refactor bug.
2015-06-09 08:04:03 -07:00
John Benediktsson
667462e848
tools.coverage: fix refactor bug.
2015-06-09 08:03:35 -07:00
Björn Lindqvist
c2290aa141
locals.parser.tests: fixing the tcs so they work
2015-06-09 13:02:03 +02:00
Björn Lindqvist
92868fe778
locals.parser: fix for #1340 , write locals directly to the manifest
...
The locals parser used to parse and store locals in the 'locals'
variable which was an alias to 'manifest get qualified-vocabs>> last
words>>'. For some reason, after a restart they become distinct
objects. An easy fix is to not alias the hash in the first place.
2015-06-09 13:02:03 +02:00
Björn Lindqvist
8ef135bc2f
locals.types: stub unit tests
2015-06-09 13:02:03 +02:00
Björn Lindqvist
48138d548a
locals.parser: small refactorings and unit tests
2015-06-09 13:02:03 +02:00
John Benediktsson
d68175f48f
Some more general fixes for recent refactors.
2015-06-08 19:15:29 -07:00
Doug Coleman
259d5f8744
editors: fix bug i introduced. need a rename tool asap...
2015-06-08 18:07:42 -07:00
Doug Coleman
f680288b4a
furnace.auth: rename profile to current-profile
2015-06-08 17:29:48 -07:00
Doug Coleman
6c28590789
html.components: use lcs-diff
2015-06-08 17:29:36 -07:00
Doug Coleman
8cb176bfe7
lcs: rename generic "diff" to lcs-diff
2015-06-08 17:16:42 -07:00
John Benediktsson
90111600b9
Fix two places that should be "all-disk-vocabs-recursive".
2015-06-08 14:37:36 -07:00
Doug Coleman
1230f56197
com.wrapper: create -> create-word
2015-06-08 13:21:24 -07:00
Doug Coleman
d6b6b955d3
windows: fix words -> vocab-words
2015-06-08 13:07:12 -07:00
Doug Coleman
6e60c811ac
core: Rename create to create-word, create-in to create-word-in.
2015-06-08 12:47:35 -07:00
Doug Coleman
a4c5a748ad
core/basis: Rename words dealing with vocabs to loaded-vocabs or disk-vocabs because it's too confusing otherwise.
2015-06-08 12:47:35 -07:00
Doug Coleman
a318ec1eb0
unicode.breaks: Rename words to unicode-words
2015-06-08 12:45:15 -07:00
Doug Coleman
1cc9b00b42
vocabs.refresh: Trying to clean up some vocabs code.
2015-06-08 12:45:15 -07:00
Doug Coleman
37e7349dee
windows.com: Prevent release from being called with f, which causes a
...
segfault.
2015-06-06 17:04:02 -07:00
John Benediktsson
2bac4a9695
checksums.sha: remove trailing whitespace.
2015-06-06 09:28:01 -07:00
John Benediktsson
1723544b56
formatting: use nappend-as in sprintf.
2015-06-06 09:28:01 -07:00
John Benediktsson
5904690ae6
sequences.generalizations: use concat-as in nappend-as.
2015-06-06 09:28:01 -07:00
Doug Coleman
fa2bf33659
compiler.tree: renaming is hard. cleanup -> cleanup-tree
2015-06-05 23:18:43 -07:00
Doug Coleman
16094d283b
compiler.tree.debugger: more "cleanup"
2015-06-05 23:04:05 -07:00
Doug Coleman
77c5783270
formatting: Welcome to the sprintf club, MSVC 2015. Fixes #1337 .
2015-06-06 05:54:22 -07:00
Doug Coleman
a0cb7b4fd8
compiler.tree.cleanup: Fix docs
2015-06-05 21:22:50 -07:00
Doug Coleman
fbaa38be6d
bit-arrays: rename clean-up to zero-end-bits
2015-06-05 21:09:57 -07:00
Doug Coleman
808342076d
compiler: rename cleanup to cleanup-tree, cleanup* to cleanup-tree*
2015-06-05 21:08:18 -07:00
Doug Coleman
20a1c09a42
alien.libraries.finder: Allow library to match just by name. Related to #1099 .
...
Add some more unit tests. Fix a typo fidner->finder.
2015-06-05 17:05:57 -07:00
John Benediktsson
c74ccdd33e
deques: use fry to simplify.
2015-06-04 23:15:51 -07:00
John Benediktsson
14ed9a5455
math.functions: some silly cleanup.
2015-06-02 11:54:05 -07:00
John Benediktsson
e2bead3328
editors.sublime: keep Sublime Text 2 support like we do on OS X.
2015-06-01 15:34:32 -07:00
Doug Coleman
2ee3516bf1
io.files.unique: Better docs for with-unique-directory.
2015-06-01 15:22:05 -07:00
Doug Coleman
51d60dd833
editors.sublime: Fix sublime for windows.
2015-06-01 15:00:40 -07:00
John Benediktsson
22402a2e07
Revert "io.standard-paths: adding support for PATHEXT."
...
This reverts commit be9bff0e5b
.
2015-06-01 14:59:36 -07:00
John Benediktsson
be9bff0e5b
io.standard-paths: adding support for PATHEXT.
2015-06-01 14:57:47 -07:00
John Benediktsson
071704072c
editors: bunch of cleanup.
2015-06-01 14:39:30 -07:00
John Benediktsson
0d7c3c5291
io.standard-paths: add ?find-in-path.
2015-06-01 14:26:38 -07:00
John Benediktsson
2884f8dabe
io.standard-paths.windows: use map-find.
2015-06-01 14:26:27 -07:00
Doug Coleman
769af0673a
calendar.format: Add a word to output times in the format that git uses. Rename a paren word.
2015-05-31 15:08:51 -07:00
John Benediktsson
0eea157d90
math.bitwise: bitfield should just use map-reduce.
2015-05-31 08:04:34 -07:00
John Benediktsson
f24bbffb2a
math.bitwise: change bitfield to reduce from first argument rather than zero.
2015-05-30 21:55:27 -07:00
John Benediktsson
0f1f27dcee
math.bitwise: fix docs for bitfield.
2015-05-30 21:51:08 -07:00
Björn Lindqvist
c2a70d18b4
bootstrap.x86: fix assembler code bug in fixnum*
...
Now the operands are kept in EBP and ECX and the vm-reg (EBX) is not
used unnecessarily
2015-05-25 08:42:16 -07:00
Björn Lindqvist
48e6455186
cpu.x86.*: %mov-vm-ptr isn't so useful, shorter and simpler to write
...
vm-reg MOV
2015-05-22 12:22:29 -07:00
Björn Lindqvist
fa190a8329
bootstrap.ppc: untested fix for #1319 for ppc
2015-05-22 12:22:28 -07:00
Björn Lindqvist
183ec83a6d
VM: possible fix for #1319 .
...
Fix for reset_context() so that the top two stack items are never
removed from the stack so if the parent->init_context(ctx) call triggers
a GC, those items are never collected.
2015-05-22 12:22:27 -07:00
Björn Lindqvist
8d697fcc34
threads.test: a test that is mostly able to reproduce #1319
2015-05-22 12:22:26 -07:00
Björn Lindqvist
016614747d
VM: the delete_context() and reset_context() api functions can be
...
simplified a bit
The functions always operates on parent->ctx, so passing a context*
parameter is redundant. This enables shorter assembly code for
the (start-context-and-delete) and (set-context-and-delete) primitives.
2015-05-22 12:22:26 -07:00
Björn Lindqvist
528e9f61f3
bootstrap.x86: new words jit-call-Xarg for calling vm functions with
...
arguments, simplifies some assembly code
2015-05-22 12:22:25 -07:00
Björn Lindqvist
6ca83e7588
Reorganising bootstrap files
...
All the bootstrap.factor scripts in cpu/ are run by the bootstrap to
make boot images, but aren't used otherwise. So I think it's cleaner to
put them in one directory inside the bootstrap hierarchy.
2015-05-22 12:22:24 -07:00
Doug Coleman
cf3ccd0abe
io.directories.search: Add some more combinators for finding files.
2015-05-21 22:35:24 -07:00
Doug Coleman
c13b881517
generalizations: dos2unix
2015-05-20 15:02:04 -07:00
Doug Coleman
0a9c79752d
generalizations: Only define npick for >= 1. Fixes #1306 .
2015-05-20 15:01:49 -07:00
Doug Coleman
12bd42c663
io.monitors: Fix using, speed up test from 3 second timeouts to 100ms timeouts.
2015-05-19 12:37:07 -07:00
Doug Coleman
870f9a73d6
compression.zlib: Add some helper functions for streaming unzipping.
2015-05-19 10:57:13 -07:00
Doug Coleman
c9ef2824c3
compression.zlib.ffi: Add some structures and functions for streaming unzipping.
2015-05-19 10:55:47 -07:00
Doug Coleman
0962b4a697
io.monitors: Run each set of monitors tests in its own directory. Fixes #1106 .
2015-05-19 10:50:58 -07:00
John Benediktsson
a66bed77b3
compiler.cfg.stacks.clearing: fix help-lint.
2015-05-18 10:02:35 -07:00
Doug Coleman
72d002ae4b
cpu.architecture: Fix trivial doc.
2015-05-18 00:37:05 -07:00
Björn Lindqvist
6c43475183
cpu.x86: fix silly bug in %clear
2015-05-18 06:52:49 +02:00
John Benediktsson
c7ea419874
compiler.cfg.stacks.clearing: fix tests.
2015-05-17 09:32:44 -07:00
Björn Lindqvist
9ceea3c241
compiler.*: new cfg instruction ##clear, it makes it easier to see where
...
the compiler.cfg.stacks.clearing pass inserts extra instructions
2015-05-17 07:59:34 +02:00
Björn Lindqvist
655faadec9
compiler.*: now when we're tracking uninitialized locations instead of
...
initialized ones, the height slot isn't needed on ##call anymore
2015-05-17 07:59:34 +02:00
Björn Lindqvist
6dd2fe31b6
compiler.cfg.stacks.*: new attempt at fixing the gc maps bugs
...
the padding vocab is inverted so that instead of trying to track which
locations are live, it tracks those which are dead which is much easier
to get right.
2015-05-17 07:59:34 +02:00
John Benediktsson
aa1a5f22ba
compiler.tree.debugger: fix docs using.
2015-05-14 08:16:27 -07:00
John Benediktsson
2c3492a916
minor cleanup to some docs.
2015-05-13 16:09:14 -07:00
John Benediktsson
40b699cc1e
math.primes: little bit more cleanup.
2015-05-13 15:17:15 -07:00
John Benediktsson
ab50fc818f
math.primes: use fast-gcd in coprime? and replicate instead of make.
2015-05-13 14:47:31 -07:00
John Benediktsson
296968580a
use assoc-reject instead of [ ... not ] assoc-filter.
2015-05-12 19:08:42 -07:00
John Benediktsson
b366a06c41
use reject instead of [ ... not ] filter.
2015-05-12 18:50:34 -07:00
John Benediktsson
a33fc84de7
help.lint.checks: re-enable leak detection.
2015-05-12 10:46:37 -07:00
Björn Lindqvist
ba8caa72fb
io.crlf: the lf>crlf and crlf>lf words looks generally useful, lets put them in io.crlf to reduce some code duplication
2015-05-12 09:32:05 -07:00
Björn Lindqvist
36444f328f
http.server.requests: an upper limit is needed for the content-length header
2015-05-12 09:32:05 -07:00
Björn Lindqvist
7647020615
http.server: extend handle-client-error so that it responds with 400 Bad Request if the request is invalid
2015-05-12 09:32:05 -07:00
Björn Lindqvist
eac41a588a
http.server.requests: if the content-length header is missing or invalid, a (controlled) error is thrown
2015-05-12 09:31:22 -07:00
Björn Lindqvist
d30beb13ed
http.server.requests: system for read-request for reporting errors
...
The idea is that read-request throws request-error if something is
wrong with the request. handle-client* can then catch it and respond
with 400 bad request. This way you can differentiate between bad
requests and requests that causes the HTTP server to crash.
2015-05-12 09:31:22 -07:00
Björn Lindqvist
99012bb20a
http.server.requests.tests: more tests for POST requests handling
2015-05-12 09:31:21 -07:00
Björn Lindqvist
9058fbff01
mime.multipart: removed call to maybe-fill-bytes, fixes multipart parsing of short payloads
2015-05-12 09:31:21 -07:00
Björn Lindqvist
f75ee294e7
http.server.requests: refactor the http.server vocabs request handling into its own vocab
2015-05-12 09:31:21 -07:00
John Benediktsson
1f2ecfde76
present: adding M\ complex present.
2015-05-11 17:57:11 -07:00
John Benediktsson
e1d18579e7
cpu/stack-checker: fix some help-lint warnings.
2015-05-10 10:13:57 -07:00
Björn Lindqvist
f9a6bb27f4
compiler.cfg.*: new test-case and setting leader-map to f is better
2015-05-09 20:10:27 -07:00
Björn Lindqvist
409a32d555
compiler.cfg.stacks.padding: docs
2015-05-09 20:04:23 -07:00
Björn Lindqvist
24dc0679dc
compiler.cfg.ssa.destruction: fix and testcase for the
...
"lookup-base-pointer* does not define a method for the POSTPONE: f
class" bug
2015-05-09 20:04:22 -07:00
Björn Lindqvist
ecf3829843
compiler.cfg.stacks.*: new vocab 'padding' to perform much more accurate
...
live analysis. it will replace the 'map' vocab
2015-05-09 20:04:22 -07:00
Björn Lindqvist
0c2559ef6e
compiler.*: a bunch more compiler docs
2015-05-09 20:04:22 -07:00
Björn Lindqvist
e2c91852e4
compiler.cfg.utilities: unused word
2015-05-09 20:04:22 -07:00
Björn Lindqvist
8df92abeb9
compiler.*,cpu.*: add a height slot to ##call nodes, then other compiler
...
passes can much easier to accurate liveness analysis on stack locations
2015-05-09 20:04:22 -07:00
Björn Lindqvist
8f02cad9c5
compiler.cfg.*: a bunch of new tests
2015-05-09 20:04:22 -07:00
Björn Lindqvist
a195e361df
compiler.cfg.stacks.*: create-locs, word for creating stack locations
...
from a sequence
2015-05-09 20:04:21 -07:00
Doug Coleman
f2c67d6ab4
io.directories.search: Add two tests for find-up-to-directory, one that finds a file and one that doesn't.
2015-05-08 21:02:29 -07:00
Doug Coleman
2aa6ce7e8c
io.directories.search: fix inline recursive combinator compilation. fix
...
reversed logic for containing-directory
2015-05-07 16:49:32 -07:00
Doug Coleman
510f605df9
io.directories.search: Add find-up-to-root combinator and helper words.
...
Example: "c:\\factor64\\.git\\objects" [ ".txt" tail? ] find-up-to-root .
"c:\\factor64\\.git"
2015-05-05 23:26:52 -07:00
Doug Coleman
59205b0399
tools.scaffold: generating docs for obj/f was broken.
2015-05-05 21:39:55 -07:00
Doug Coleman
501f990971
compression.zlib: Just deal with raw bytes, no compressed object tuple.
2015-05-02 10:46:12 -07:00
Doug Coleman
0371fa3137
Revert "compression.zlib: fix help-lint."
...
This reverts commit 30492d1a06
.
2015-05-02 10:46:00 -07:00
John Benediktsson
30492d1a06
compression.zlib: fix help-lint.
2015-05-02 09:32:05 -07:00
Doug Coleman
8a4c80371e
compression.zlib: Guess at the length and take a byte-array as uncompress argument instead of a silly compressed tuple.
2015-05-01 23:43:58 -07:00
Doug Coleman
10d6fc654c
editors.visual-studio-code: wrong metafile
2015-05-01 10:03:10 -07:00
Doug Coleman
07b90ca38c
editors.visual-studio-code: Split up into Windows and other platforms.
2015-04-30 22:56:22 -07:00
Doug Coleman
62ea429c2b
compiler.cfg.linear-scan.assignment: Trivial docs fix.
2015-04-30 18:39:31 -07:00
Doug Coleman
74f5eacec7
editors.visual-studio-code: Support for m$ft's new code editor. Can't
...
figure out command line parameters yet.
io.files.temp.windows: Make (get-appdata-directory) not private and rename
it to get-appdata-directory.
2015-04-30 18:21:15 -07:00
John Benediktsson
a7cd03b45d
compiler.cfg.linear-scan.assignment: fix help-lint.
2015-04-30 17:20:52 -07:00
Björn Lindqvist
5ca23c4793
compiler.*: a few extra doc fixes
2015-04-30 04:51:58 +02:00
Björn Lindqvist
6097e80178
compiler.cfg.*: fixing tests so they work on 32bit archs too
2015-04-30 04:49:48 +02:00
John Benediktsson
c99b3e0b53
suffix-arrays: update using.
2015-04-29 14:22:01 -07:00
Björn Lindqvist
b4e7ffede4
compiler.cfg.stacks.local: test and fix for a silly bug in
...
compute-local-kill-set (switched the order on ds and rs)
2015-04-29 09:32:00 -07:00
Björn Lindqvist
9fc73c3355
compiler.cfg.stacks.local: unused words
2015-04-29 09:32:00 -07:00
Björn Lindqvist
d0c1493f36
compiler.cfg.linearization: can't use slurp/replenish-queue here because
...
the successors need to be pushed to the back of the deque
2015-04-29 09:32:00 -07:00
Björn Lindqvist
24ca0e3160
compiler.cfg.*: reverting the commit
...
5fd9e61bc04b054d58b8eeecbe9b5c59f68f2195, caused bad regressions in SIMD code
2015-04-29 09:31:59 -07:00
Björn Lindqvist
050e15ce83
compiler.cfg.debugger: new words build-optimized-tree and run-passes to
...
remove some duplicated code
2015-04-29 09:31:59 -07:00
Björn Lindqvist
6215561ad4
compiler.cfg.*: more docs and removing a test that isn't relevant anymore
2015-04-29 09:31:59 -07:00
Björn Lindqvist
17dff48402
compiler.cfg.ssa.*: refactors words to use stack parameters instead of
...
dynamic variables
2015-04-29 09:31:59 -07:00
Björn Lindqvist
2077ae9180
compiler.cfg.linear-scan.assignment: refactoring vreg>reg and
...
assign-registers-in-block so locals aren't needed
2015-04-29 09:31:59 -07:00
Björn Lindqvist
135d7f5ff3
compiler.cfg.*: more unit tests
2015-04-29 09:31:59 -07:00
Björn Lindqvist
992314d2de
compiler.cfg.*: new word for consuming deques slurp/replenish-deque
...
most uses of slurp-deque processes one item and pushes a sequence of
items to continue working with. it can be formalized into a
slurp/replenish-deque combinator which also reduces the amount of
variables you need to use
2015-04-29 09:31:58 -07:00
Björn Lindqvist
c3ca8bd859
compiler.cfg.*: even more compiler docs
2015-04-29 09:31:58 -07:00
Björn Lindqvist
997f95196c
compiler.cfg.*: lots of new unit tests
2015-04-29 09:31:58 -07:00
Björn Lindqvist
167d1598b3
compiler.cfg.linear-scan.allocation.*: lots more docs and some word simplifications
2015-04-29 09:31:58 -07:00
Björn Lindqvist
63a1e90af8
compiler.cfg.ssa.cssa, compiler.cfg.ssa.destruction, compiler.utilities: docs & tests
2015-04-29 09:31:58 -07:00
Björn Lindqvist
16f6025979
compiler.cfg.linear-scan.allocation.spilling: docs and tests for this vocab
2015-04-29 09:31:58 -07:00
Björn Lindqvist
b827bc75cc
compiler.*: bunch of new docs for some compiler instructions
2015-04-29 09:31:58 -07:00
Björn Lindqvist
a17e943e88
compiler.cfg.liveness: refactoring so that words that doesn't modify
...
the live-set doesnt return it
e.g it's clearer when the effect is ( live-set insn -- ) than ( live-set insn -- live-set ) that the live-set is modified in place
2015-04-29 09:31:57 -07:00
Björn Lindqvist
c876d79b9d
compiler.cfg.liveness: lots of more tests and some docs
2015-04-29 09:31:57 -07:00
Björn Lindqvist
aa6fbf475e
compiler.cfg: the id slot of basic-block appears to not be needed
2015-04-29 09:31:57 -07:00
Björn Lindqvist
5cd44dc07c
compiler.cfg.linear-scan.allocation.state: set spill-area-size/align when the cfg tuple is created
2015-04-29 09:31:57 -07:00
Björn Lindqvist
d486de889d
compiler.cfg.*: smaller doc improvements
2015-04-29 09:31:57 -07:00
Björn Lindqvist
4cda101717
compiler.cfg.linear-scan.allocation.state: more docs and tests for vocab
2015-04-29 09:31:57 -07:00
Björn Lindqvist
043b6d5377
compiler.cfg.linear-scan.linear-scan: refactoring of word so that locals doesn't need to be used and more docs (by moving comments)
2015-04-29 09:31:56 -07:00
Björn Lindqvist
6c6f85428c
compiler.cfg.intrinsics.simd: refactoring to use assocs instead of case-s for lookups + tests
2015-04-29 09:31:56 -07:00
Björn Lindqvist
745d3f29b2
compiler.cfg.*: a bunch of new docstrings and other doc fixes
2015-04-29 09:31:56 -07:00
Björn Lindqvist
f9812d9874
compiler.cfg.stacks.*: possible fix for #1289
...
instead of delaying outputting ##replace instructions to when they are
needed, output them directly in the block so that "holes" in the
stacks are avoided.
2015-04-29 09:31:56 -07:00
Björn Lindqvist
177a356240
compiler.cfg.stacks.local: refactorings on the vocab to try and make it using less dynamic variables
2015-04-29 09:31:56 -07:00
Björn Lindqvist
91144c0712
compiler.cfg.stacks.*: simplify the code a little by making replace-sets, peek-sets and kill-sets contain hash-sets instead of hash-tables
2015-04-29 09:31:56 -07:00
Björn Lindqvist
0ff4c68e15
compiler.cfg.stacks.local: to simplify, end-local-analysis can take the block it operates on as argument
2015-04-29 09:31:56 -07:00
Björn Lindqvist
b983053130
compiler.cfg.*: putting test-init in compiler.cfg.stacks.tests didn't work, put new word cfg-unit-test in compiler.test
2015-04-29 09:31:55 -07:00
Björn Lindqvist
4390561a6e
compiler.cfg.*: new word reset-vreg-counter, useful for making test writing more convenient
2015-04-29 09:31:55 -07:00
Björn Lindqvist
2536943e82
compiler.cfg.*: new word connect-Nto1-bbs
...
using that word predecessors is already up-to-date so calling needs-predecessors isn't needed
2015-04-29 09:31:55 -07:00
Björn Lindqvist
8a7699e42c
compiler.cfg.*: refactoring to remove the initial-basic-block word
2015-04-29 09:31:55 -07:00
Björn Lindqvist
6559382028
compiler.cfg.*: ds-load removed
2015-04-29 09:31:55 -07:00
Björn Lindqvist
cc1903bec1
compiler.cfg.*: some refactoring in the stack tracking for #shuffle nodes
...
instead of having separate words for the stacks like inc-d/r and ds/rs-store use generic words that work on either stack
2015-04-29 09:31:55 -07:00
Björn Lindqvist
eda9535ce6
compiler.tree.propagation.call-effect: changing back call-effect-unsafe?, changing it made all images to large for some reason
2015-04-29 09:31:55 -07:00
Björn Lindqvist
92165e4ee7
Docs: bunch of smaller documentation fixes for various vocabs
2015-04-29 09:31:54 -07:00
Björn Lindqvist
837e098d41
compiler.cfg.*: a little more docs
2015-04-29 09:31:54 -07:00
Björn Lindqvist
ba4736ff75
compiler.cfg.stacks.local: change current-height to a two-tuple { { d emit-d } { r emit-r } } it makes the code a bit simpler
2015-04-29 09:31:54 -07:00
Björn Lindqvist
c360f0123b
compiler.cfg.stacks: a few unused words removed
2015-04-29 09:31:54 -07:00
Björn Lindqvist
09238cee4b
compiler.tree.propagation.call-effect: docs for this vocab
2015-04-29 09:31:54 -07:00
Björn Lindqvist
acc1bd3221
compiler.*: removing the check-d and check-r slots from gc-map and adjusting code that depended on those
2015-04-29 09:31:53 -07:00
Björn Lindqvist
2cd2aa498a
VM: the compiler doesn't emit any live overinitialized locations anymore
...
Any overinitialized location immediately becomes garbage and is not
reused again. This is very nice because then the gc maps can be
simpler again.
2015-04-29 09:31:53 -07:00
Björn Lindqvist
ded3760d46
compiler.*: merge of ##inc-r and ##inc-d into one instruction ##inc with a loc slot
...
this is nice because it leads to simpler code and matches how ##peek and ##replace instructions work
2015-04-29 09:31:53 -07:00
Björn Lindqvist
c7d9cb4c3d
compiler.cfg.*: new and improved docs
2015-04-29 09:31:53 -07:00
Björn Lindqvist
74ea76a3c9
compiler.cfg: unlikely? slot unused, lets get rid of it
2015-04-29 09:31:53 -07:00
Björn Lindqvist
bb504b7c3d
compiler.cfg.dependence: this vocab was only used by scheduling so it isn't needed anymore
2015-04-29 09:31:53 -07:00
Björn Lindqvist
b3ebb04d6d
compiler.cfg.*: since the height and scheduling compiler passes aren't used anymore lets remove them
2015-04-29 09:31:53 -07:00
Doug Coleman
bfc1bccbfd
core-foundation.fsevents: Fix typedefs and array types to unsigned.
2015-04-21 13:11:26 -07:00
John Benediktsson
e5b12a1c59
interpolate: allow anonymous by-order stack arguments.
2015-04-20 14:44:49 -07:00
John Benediktsson
5251d7c9bc
interpolate: number stack arguments from top of stack.
2015-04-20 13:02:09 -07:00
John Benediktsson
5726f4e207
Revert "interpolate: number stack arguments from top of stack."
...
This reverts commit 162f75a7e5
.
2015-04-20 11:19:49 -07:00
John Benediktsson
162f75a7e5
interpolate: number stack arguments from top of stack.
2015-04-20 11:10:27 -07:00
John Benediktsson
d235a6562e
simple-tokenizer: whoops, need to escape \
2015-04-19 21:12:40 -07:00
John Benediktsson
a30c0c0946
simple-tokenizer: consider \t \n \r spaces also.
2015-04-19 20:47:55 -07:00
John Benediktsson
56bb141257
peg.ebnf: unescape strings in a few places.
2015-04-19 20:47:26 -07:00
John Benediktsson
338e99e434
peg: remove trailing whitespace from docs.
2015-04-19 20:47:05 -07:00
John Benediktsson
30d7d0dac2
core-foundation.fsevents: add more flags.
2015-04-19 15:57:05 -07:00
John Benediktsson
7e4d1178c3
interpolate: don't break backwards compatibility.
2015-04-18 20:22:29 -07:00
John Benediktsson
c5ed2c89fe
interpolate: some fixes for recent API change.
2015-04-18 19:36:49 -07:00
John Benediktsson
ce491a5aa1
interpolate: allow mixing of named variables and stack arguments.
2015-04-18 17:18:37 -07:00
John Benediktsson
1ce1e2d27e
help.apropos: remove extra whitespace.
2015-04-17 18:04:08 -07:00
John Benediktsson
9eb365abe0
http.client: add quot stack effect.
2015-04-17 17:54:29 -07:00
John Benediktsson
a5339d48c8
furnace.utilities: use "header" word, some cleanup.
2015-04-17 17:54:13 -07:00
John Benediktsson
50725002be
formatting: support space prefix for numbers.
2015-04-17 17:50:00 -07:00
John Benediktsson
b0ba4a5925
mime.multipart: use header, some cleanup.
2015-04-17 17:41:56 -07:00
Doug Coleman
1d1ef9079c
opengl.capabilities: Make it more explicit that you should put the
...
directory that contains opengl not the library name itself.
2015-04-09 15:05:20 -05:00
John Benediktsson
faa7fde557
tools.ps: enable use from command-line.
2015-04-09 10:43:43 -07:00
John Benediktsson
24101fbaeb
tools.hexdump: enable use from command-line.
2015-04-09 10:43:20 -07:00
John Benediktsson
ea2547aae3
editors.emacs: fix doc typo.
2015-04-01 15:57:06 -07:00
Doug Coleman
7895e0fcaa
io.launcher.windows tests: Use unique-file instead of temp-file. Fixes
2015-04-01 15:44:55 -07:00
John Benediktsson
e164fcf431
http.parsers: parse a "simple request".
2015-03-11 17:48:28 -07:00
John Benediktsson
7c30ae8ab6
gobject.ffi: fix windows dll name.
2015-03-08 08:51:53 -07:00
John Benediktsson
3a12615b12
xml.writer: adding a test for pprint-xml fix.
2015-02-28 16:40:13 -08:00
John Benediktsson
c7f440e097
xml.data: fix issue with empty tags not being printed use shortened <tag/> format.
2015-02-28 16:00:00 -08:00
John Benediktsson
e243a886d3
xml.data: adding tests for tags assoc protocol.
2015-02-28 15:37:06 -08:00
John Benediktsson
102aa2cbc1
xml.data: make tags support assoc protocol as documented.
2015-02-28 15:34:24 -08:00
Mark Green
fe2c2d23de
Adding help for <model-field> and <action-field>.
2015-02-21 18:39:04 -08:00
Doug Coleman
857e60db5b
alien.libraries: Cannot include alien.libraries.finder here for docs.
2015-02-13 11:31:56 -08:00
Benjamin Pollack
e6fecadb04
Explicitly reference find-library in alien docs
...
Factor 0.98 added a great find-library library, but unless you already know it
exists, you're probably not going to discover it. This attempts to help with
that by adding a few cross-references with the add-library word and the main
alien article.
2015-02-11 17:38:44 -08:00
Doug Coleman
5e48dfb1e6
stack-checker.state: Fix error in docs. Tweak doc grammar.
2015-02-05 13:49:14 -08:00
Doug Coleman
1b35e19a03
bootstrap.image.upload: Use pscp on Windows for uploading boot images
...
since c:\ paths are treated as hostnames and the command fails.
2015-02-05 13:43:49 -08:00