Doug Coleman
7378ba7717
Unbreakify the new profiler, add a couple of unit tests to demonstrate displaying output.
2011-11-02 17:01:43 -07:00
Doug Coleman
4d66cd26dc
Keep the profiling results even when the quotation throws an exception.
2011-11-02 16:47:27 -07:00
Doug Coleman
fb44adef99
Clean up formatting, rename load-vocab-hook to require-hook. Add a unit test for vocabs.loader.
2011-11-02 16:31:42 -07:00
Joe Groff
82a62181ce
vm: count samples during unoptimized compiler
2011-11-02 13:23:21 -07:00
Joe Groff
81aac9359f
tools.profiler.sampling: fix stack effect name
2011-11-02 13:23:19 -07:00
Joe Groff
1745e22211
tools.profiler.sampling: make rate a global var
2011-11-02 13:23:19 -07:00
Joe Groff
4330a645f4
tools.profiler.sampling: groom flat profile
2011-11-02 13:23:18 -07:00
Joe Groff
fb837b91dc
tools.profiler.sampling: flat profile report
2011-11-02 13:23:18 -07:00
Joe Groff
fd96103d50
tools.profiler.sampling: smoke test compact-gc
2011-11-02 13:23:18 -07:00
Joe Groff
f645c82b8a
tools.profiler.sampling: add detail to profile.
2011-11-02 13:23:16 -07:00
Joe Groff
d4736d4e3a
tools.profiler.sampling: "top-down" and "profile."
2011-11-02 13:23:16 -07:00
Joe Groff
30ed9b535b
vm: parameterize sampling rate
2011-11-02 13:23:15 -07:00
Joe Groff
87316ae28f
tools.profiler.sampling: smoke tests and metadata
2011-11-02 13:23:15 -07:00
Joe Groff
6d3d8392d1
tools.profiler.counting: rename help article
2011-11-02 13:23:14 -07:00
Joe Groff
eb749bb535
tools.profiler.sampling: very basic frontend words
2011-11-02 13:23:14 -07:00
Joe Groff
eac90675c0
move counting profiler to tools.profiler.counting
2011-11-02 13:23:09 -07:00
Joe Groff
33919b2919
tools.profiler: rename to tools.counting-profiler
2011-11-02 13:23:06 -07:00
Joe Groff
186bf65a00
constants for special object hardcoded literals
2011-11-02 12:54:50 -07:00
Doug Coleman
94db86a6db
Make "foo.private" require load foo instead.
...
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201 .
2011-11-02 11:50:03 -07:00
Doug Coleman
4002945c09
Don't test coverage of auto-generated class predicates. Get a better count of callabales in a word to fix %coverage.
2011-11-01 17:13:11 -07:00
Slava Pestov
258b9590a2
tools.deploy: fix unit test
2011-10-29 17:15:49 -07:00
Doug Coleman
dc0a921866
Remove the lexer-factory because nothing uses it. Update usages.
2011-10-29 01:11:19 -07:00
Doug Coleman
763d9a3f7d
Missed yet more renames
2011-10-24 17:00:09 -07:00
Doug Coleman
f9257959fd
Rename class to class-of
2011-10-24 06:47:42 -05:00
Doug Coleman
26872ffe4d
Rename vocab to lookup-vocab
2011-10-24 06:42:54 -05:00
Doug Coleman
2ecd513130
Factor out ``no-roots no-prefixes'' into its own word. Add load-root, load-from-root, vocabs-in-root and implement load in terms of load-from-root.
...
Add error checking for append-vocab-dir and (child-vocabs) in case someone tries to pass them the wrong parameters.
Rename: vocab-dir+ to append-vocab-dir
Document load-from-root and load-root
2011-10-23 19:59:01 -05:00
Doug Coleman
441a8b8926
Checked in some code on accident.
2011-10-21 15:34:44 -05:00
John Benediktsson
5a943b32c4
Remove stack effects from HELP: declarations.
2011-10-20 19:36:11 -07:00
Doug Coleman
df3cf77e59
Fix tools.annotations tests
2011-10-19 00:57:06 -07:00
Joe Groff
300a0256c8
new vocab tools.annotations.assertions
...
Annotates unsafe words with assertions that their inputs and outputs are valid. Provide annotations for stream-read(-partial)-unsafe and (set-)nth-unsafe to start with.
2011-10-18 15:13:34 -07:00
Joe Groff
c850722cbb
tools.annotations: send watch to error-stream
2011-10-18 15:13:34 -07:00
John Benediktsson
80e1c8e3f2
Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed.
2011-10-18 13:19:39 -07:00
Doug Coleman
f21fee3b73
Rename complete-effect to scan-effect
2011-10-17 10:25:27 -07:00
Doug Coleman
db1d499a6f
Fix typo in tools.deploy.windows.ico
2011-10-16 23:06:11 -07:00
John Benediktsson
81714b8dc3
More lint cleanups.
2011-10-16 19:33:16 -07:00
John Benediktsson
6f1c44b46d
Cleanup some lint warnings.
2011-10-15 19:19:44 -07:00
John Benediktsson
312704ae68
math.parser: cleanup uses of 16/8/2 >base/base>.
2011-10-14 10:09:12 -07:00
Joe Groff
e200656ce4
tools.test.fuzz tests: missing using
2011-10-10 18:03:52 -07:00
Joe Groff
b5fc65707d
new module tools.test.fuzz: quickcheck-style probabilistic testing, based on Andrew Pennebaker's factcheck vocab
2011-10-10 12:23:23 -07:00
Joe Groff
5a21742f74
tools.test: move fake-unit-test utility from test suite to module
2011-10-10 12:23:23 -07:00
Doug Coleman
685fc2f86f
Rename method -> lookup-method in three places.
2011-10-04 20:37:23 -07:00
Doug Coleman
181f11faa8
Make M\ throw an error upon lookup failure. Change method -> ?lookup-method, lookup-method is the throwing version of ?lookup-method. Fixes #229 .
2011-10-03 15:49:49 -07:00
Slava Pestov
6bd956670b
tools.continuations: >c and c> are gone
2011-10-03 00:37:48 -07:00
Slava Pestov
c68e2308a8
Display a system-alert for callback errors in the UI; also for thread errors in deployed apps; fixes #92 , fixes #95
2011-10-03 00:24:37 -07:00
Slava Pestov
dabbe35bd9
concurrency.mailboxes: linked-thread's error reporting should still work even when debugger.threads is not loaded. This addresses part of #95
2011-10-03 00:24:37 -07:00
Doug Coleman
76580da5d5
Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
...
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183 .
Fixes #209 .
2011-09-29 11:28:28 -07:00
John Benediktsson
4f42c72012
specialized-arrays: performed some cleanup.
...
Specifically,
• Created >c-array to be replacement for >T-array.
• Created cast-array to be generic replacement for all T-array-cast words.
• Created c-array@ to be generic replacement for T-array@ words.
• Replaced usages of <T-array> with T <c-array>
• Replaced usages of <direct-T-array> with T <c-direct-array>
• Replaced usages of >T-array with T >c-array
• Replaced usages of T-array-cast with T cast-array
• Replaced usages of malloc-T-array with T malloc-array.
• Removed malloc-T-array.
• Removed T-array-cast.
• Removed T-array@.
• Removed >T-array.
I also added (but didn't change any code to use):
• T c-array-type, returns T-array
• T c-array?, returns T-array?
• c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X. Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
John Benediktsson
baac978767
Removing "to:" syntax from values.
...
Squashed commit of the following:
commit 18fef6bfa59f71dcb63b439f631c735848a9bbbb
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Mon Sep 26 11:02:26 2011 -0700
vocabs.metadata: revert mistaken change.
commit 496b103b54034ea953882a039c08847d0eda0bb4
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Sun Sep 25 19:03:54 2011 -0700
values: Removing "to:" syntax.
2011-09-26 11:08:26 -07:00
Doug Coleman
5d998589c2
Decouple adding the coverage annotations from setting the flag in them
...
Add a test-coverage word for reporting on only the unit-tests for a vocabulary
2011-09-25 19:32:36 -07:00
John Benediktsson
bbeccadbbe
tools.crossref: now 50% faster.
2011-09-25 11:40:55 -07:00