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
|
2c257f399c
|
factor: Rename MACRO: and MACRO: to have quot as the output in stack effects.
|
2015-07-18 22:16:11 -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
|
726e5068f7
|
Revert "tools.test: Print tests homoiconically. There is too much spacing still"
This reverts commit 34a197248c .
|
2014-11-23 23:59:57 -08:00 |
Doug Coleman
|
beaa8ef083
|
Revert "tools.test: Fix using list."
This reverts commit 4306180c11 .
|
2014-11-23 23:59:35 -08:00 |
Doug Coleman
|
4306180c11
|
tools.test: Fix using list.
|
2014-11-23 18:01:19 -08:00 |
Doug Coleman
|
34a197248c
|
tools.test: Print tests homoiconically. There is too much spacing still
but it's better than before imo. See #1221.
|
2014-11-23 16:51:40 -08:00 |
John Benediktsson
|
3139ec1d61
|
tools.test: allow testing from the command-line.
|
2013-04-26 17:43:39 -07:00 |
Doug Coleman
|
00450e468a
|
tools,help: Fix error-type.
|
2013-03-23 22:07:40 -07:00 |
Doug Coleman
|
378300155b
|
tools.test: Rename did-not-fail.
|
2013-03-23 17:09:19 -07:00 |
John Benediktsson
|
4f260ab9bd
|
"H{ } substitute" is faster than "{ } substitute".
|
2012-07-13 19:06:38 -07:00 |
Joe Groff
|
36dac58380
|
update USING:s
|
2011-11-15 18:37:30 -08:00 |
Doug Coleman
|
26872ffe4d
|
Rename vocab to lookup-vocab
|
2011-10-24 06:42:54 -05: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
|
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 |
Slava Pestov
|
ea726f5680
|
Move remaining sequence operations from generalizations to sequences.generalizations where they belong
|
2010-05-18 18:36:47 -04:00 |
Slava Pestov
|
7524007110
|
load-all now skips vocabs tagged 'not loaded', and test-all skips vocabs tagged 'not tested'
|
2010-04-13 18:43:33 -07:00 |
Slava Pestov
|
a7ee58dc83
|
mason.test: forget test vocabs right after each test, instead of at the end
|
2010-04-12 14:45:43 -07:00 |
Slava Pestov
|
823e2fd3e9
|
tools.test: run-test-file is public now, fix no-method error if unit test forgets a vocab
|
2010-02-01 17:09:57 +13:00 |
Slava Pestov
|
473cc7db4a
|
stack-checker: tighten some screws in error reporting
|
2009-11-09 00:17:24 -06:00 |
Doug Coleman
|
7ce4b746e5
|
parsed -> suffix!, add append!
|
2009-10-28 13:38:27 -05:00 |
Doug Coleman
|
cfdaaec068
|
move verbose-tests? out of private, change decode-test word to set the verbose mode itself, use images.pam in images test vocabs
|
2009-10-02 16:20:33 -05:00 |
Keith Lazuka
|
6e12c254ef
|
tools.test: added a verbose-tests? flag to control test experiment pprint verbosity
I needed this for my image decode unit tests because I don't want the test results to prettyprint big bitmap byte-arrays.
|
2009-09-30 16:58:07 -04:00 |
Slava Pestov
|
2d46cfdf9e
|
Improved line number handling for unit test failure errors
|
2009-09-08 13:13:30 -05:00 |
Slava Pestov
|
83e0c60573
|
tools.test: flush the output stream
|
2009-08-08 23:03:53 -05:00 |
Slava Pestov
|
3b2fd98e7c
|
Refactor source-file-errors a little bit to remove some code duplication, and so that clicking 'Edit' in error list tool works for parse errors in unit tests
|
2009-08-04 21:01:21 -05:00 |
Slava Pestov
|
0c1e519dcb
|
Rename use+ to add-use, move search to vocabs.parser, EXCLUDE: bombs out if word doesn't exist
|
2009-05-13 22:15:48 -05:00 |
Slava Pestov
|
b2c3183b21
|
Split up tools.vocabs. Note that load-everything is now named load-all
|
2009-05-04 06:44:17 -05:00 |
Slava Pestov
|
05f3f9dcb9
|
Fixing unit tests for stack effect inference changes
|
2009-04-20 21:15:19 -05:00 |
Slava Pestov
|
57d718113e
|
tools.test: more robust must-fail
|
2009-04-19 18:21:25 -05:00 |
Slava Pestov
|
50ed1f5a9f
|
Better error printing
|
2009-04-17 15:50:11 -05:00 |
Slava Pestov
|
a2cff89591
|
Call notify-error-observers
|
2009-04-13 14:40:03 -05:00 |
Slava Pestov
|
c4be8bd65a
|
Refactor error code so that error types are registered; listener prints a summary of errors
|
2009-04-12 16:08:46 -05:00 |
Slava Pestov
|
0420b39f4f
|
Make source file error types a bit more extensible
|
2009-04-11 22:26:24 -05:00 |
Slava Pestov
|
e5df0559eb
|
Working on adding help-lint errors to error list
|
2009-04-11 20:30:09 -05:00 |
Slava Pestov
|
a0ad6bda39
|
tools.test: store file in a variable while tests are running
|
2009-04-10 08:11:46 -05:00 |
Slava Pestov
|
0a7485190b
|
compile-error-type => source-error-type; make test failures global
|
2009-04-10 03:52:12 -05:00 |
Slava Pestov
|
e467f4eea3
|
More work on unit test tool
|
2009-04-09 08:17:41 -05:00 |
Slava Pestov
|
e5c28dfa95
|
tools.test: use source-files.errors
|
2009-04-09 04:50:47 -05:00 |
Slava Pestov
|
786475102d
|
Make more code infer
|
2009-03-17 02:19:50 -05:00 |
Slava Pestov
|
8db24bdd34
|
assert-depth now has a static stack effect. This fixes a UI unit test failure
|
2008-12-05 08:25:26 -06:00 |
Slava Pestov
|
e5ed7447ed
|
Removing more >r/r> usages
|
2008-12-03 08:46:16 -06:00 |
Slava Pestov
|
7c61cf190f
|
Circularity between vocabularies no longer causes an infinite loop; loading a vocabulary like json or furnace no longer loads certain files twice
|
2008-11-23 00:04:18 -06:00 |
Slava Pestov
|
8d5135682f
|
Print a message when tests fail
|
2008-10-20 21:07:46 -05:00 |
Slava Pestov
|
c19f2257f4
|
Fix permission bits
|
2008-10-02 08:34:49 -05:00 |
Doug Coleman
|
8a921c791c
|
if-empty changes
|
2008-09-06 19:13:59 -05:00 |
Slava Pestov
|
48fa2e2d0e
|
Updating some code
|
2008-08-12 03:31:48 -05:00 |
Slava Pestov
|
a9cf3facbb
|
More load fixes
|
2008-07-29 03:17:21 -05:00 |
Slava Pestov
|
d66f887736
|
Create basis vocab root
|
2008-07-28 22:03:13 -05:00 |