Doug Coleman
7ce4b746e5
parsed -> suffix!, add append!
2009-10-28 13:38:27 -05:00
Doug Coleman
0d4b9132d7
fix a bunch of typos in docs
2009-10-21 17:40:43 -05:00
Joe Groff
3d95494c1e
Merge branch 'master' of http://factorcode.org/git/factor
2009-10-16 12:28:29 -05:00
Joe Groff
ce807b0fbb
factor "parse-word" out of "scan-word"
2009-10-16 12:26:31 -05:00
Slava Pestov
a6598eb33a
parser: clarify docs
2009-10-16 12:10:39 -05:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Slava Pestov
3c55e7fe0c
Add NAN: literal syntax for NANs with a payload
2009-09-12 15:06:15 -05:00
Brad Christensen
f8405e9c55
A number of documentation fixes.
...
* Short-circuit combinators now show correct stack effect for quots
* Groups and Clumps unchecked examples corrected, made runnable in listener
* Class operations had duplicate link to class-types
* Protocol slots readability fixed
* Tuple word property for "tuple-layout" corrected to "layout"
* cond>quot sentence started in lowercase
* Method precedence code example missing stack effect for GENERIC:, M: integer explain changed to detail an integer
* Motivation for default streams readability
* Default input and output streams duplicate readln link removed from output stream words section
* Looping combinators do description clarified
* Make philosophy missing space
* Linear order protocol duplicate after? link removed
* Parsing words readability fix
* Copied note regarding with-compilation-unit from define to define-declared and define-inline
2009-08-10 23:34:25 -07:00
Slava Pestov
a213db05db
parser: remove outdated unit tests that were superseded by tests in vocabs.parser
2009-07-18 11:35:09 -05:00
Slava Pestov
aba4fa7371
Recent vocabs.parser change had a regression: vocabs with no roots (scratchpad) were excluded from default use list. Also move with-interactive-vocabs to listener vocab
2009-06-07 21:59:13 -05:00
Slava Pestov
9cc178b738
If a vocab fails to load, manifest would be left in a weird state (reported by Joe Groff)
2009-05-22 01:59:50 -05:00
Slava Pestov
9c239694bf
Update unit tests for parser note and lazy list changes
2009-05-16 13:41:11 -05:00
Slava Pestov
306d3c3b32
Docs for parser.notes
2009-05-16 09:56:09 -05:00
Slava Pestov
35ccf0231e
Factor out parser note code into parser.notes vocabulary, and print a note if a using list contains duplicates
2009-05-16 09:40:17 -05:00
Slava Pestov
90560d3959
Better presentation for ambiguous-use-error, fix ui.tools.listener now that 'search' can throw, make USE: and UNUSE: ignore dupes
2009-05-16 09:34:42 -05:00
Slava Pestov
274655e77c
More work on auto-use
2009-05-16 04:26:45 -05:00
Slava Pestov
66a9416473
Update documentation for stricter vocabulary search path semantics
2009-05-16 00:29:21 -05:00
Slava Pestov
b31fe9b8f2
Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab
2009-05-14 22:31:29 -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
Doug Coleman
471fe2c272
rename lines to stream-lines
...
rename cnotents to stream-contents
2009-05-01 10:41:27 -05:00
Slava Pestov
5649cc7a0a
Compiler warnings are no more
2009-04-23 22:17:25 -05:00
Slava Pestov
3353a777f7
Fixing some unit test failures
2009-04-22 07:05:00 -05:00
Slava Pestov
48e70b65fa
Move cross-referencing stuff to tools.crossref since compiler doesn't depend on it anymore, and compute cross-referencing index as needed; reduces image size by ~4Mb
2009-04-22 04:20:38 -05:00
Slava Pestov
05f3f9dcb9
Fixing unit tests for stack effect inference changes
2009-04-20 21:15:19 -05:00
Slava Pestov
ec72f33fcb
Documentation updates
2009-04-20 02:23:52 -05:00
Slava Pestov
e811dd6192
Reverse compiler.errors => tools.errrs dependency to reduce deploy image size
2009-04-18 03:21:31 -05:00
Doug Coleman
7a1841f59b
(( -- )) eval -> eval( -- )
2009-04-17 15:49:21 -05:00
Doug Coleman
aad6a3d504
fixing compiler error in core
2009-04-17 12:45:57 -05:00
Slava Pestov
e52be965f0
Finish moving compiler.errors to basis
2009-04-13 02:50:23 -05:00
Slava Pestov
d227fcd33f
Move compiler.errors to basis
2009-04-13 02:18:41 -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
7adb76aaf4
Factor out some compiler error code into source-files.errors
2009-04-09 04:50:38 -05:00
Slava Pestov
99b8400e56
Documentation updates
2009-04-06 03:00:46 -05:00
Slava Pestov
7741d2ca23
- definitions.icons now has a reference article
...
- move about to help.vocabs; it now opens the vocab browser instead
- help.vocabs is in default use list
- add runnable-vocab predicate class
2009-03-24 09:11:45 -05:00
Slava Pestov
637d06a4f8
Add silly 'tip of the day' feature, and 'recently visited' list to UI browser home page
2009-03-24 04:11:08 -05:00
Slava Pestov
723bfab030
Fixing unit tests for syntax change
2009-03-23 00:34:02 -05:00
Slava Pestov
e0d48e3ab6
New utility word: complete-effect
2009-03-22 17:59:40 -05:00
Slava Pestov
c0154c1391
Change (:) to parse effect immediately, and remove ( parsing word
2009-03-21 03:17:35 -05:00
Slava Pestov
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Slava Pestov
be4fb1e7d9
Move call( and execute( to core
2009-03-16 20:11:36 -05:00
Slava Pestov
38c6be94d4
Fixing some stack comments
2009-03-16 06:17:18 -05:00
Slava Pestov
1fab364299
Updating some unit tests
2009-03-16 00:05:43 -05:00
Slava Pestov
fdcd8f210a
Add 'see' to default vocab search path
2009-03-11 13:57:31 -05:00
Slava Pestov
bfb6b4642a
Consultations now implement the definition protocol; removing one from a source file forgets consulted methods
2009-03-07 00:42:43 -06:00
Slava Pestov
44815fd981
Better handling of case when user-defined accessor becomes auto-generated
2009-03-06 23:33:03 -06:00
Slava Pestov
bf663e830a
Changing a method into a generated slot accessor would result in the generated accessor being forgotten
2009-03-06 20:02:31 -06:00
Slava Pestov
e4a0396550
Add parse-quotation hook to parser which locals overrides. '[ and [ use this hook. Fixes locals bug reported by erg
2009-03-06 19:48:04 -06:00
Slava Pestov
4a639033fa
Merge branch 'master' into new_ui
2009-02-15 21:06:55 -06:00
Slava Pestov
6b99b04531
Add vocab: for vocab-relative paths
2009-02-15 19:53:21 -06:00
Slava Pestov
2d3d722fd0
parser: tweak note printing
2009-02-14 00:45:34 -06:00
Slava Pestov
ab386d01aa
Merge branch 'master' into new_ui
2009-02-10 16:23:14 -06:00
Slava Pestov
07caee3405
Update some existing code to use initialize
2009-02-10 16:16:12 -06:00
Slava Pestov
a0c1d32197
Move io.streams.string from core to basis
2009-02-06 01:58:51 -06:00
Slava Pestov
5cd4f65e59
Fix conflict
2009-01-27 15:49:49 -06:00
Slava Pestov
298fdecf32
Fixing eval unit test, and help lint failures from stricter help lint
2009-01-27 15:38:01 -06:00
Slava Pestov
8b6ae748b9
Merge branch 'master' into new_ui
2009-01-27 06:34:19 -06:00
Slava Pestov
597be972b8
Put help.lint in default use list
2009-01-27 04:11:51 -06:00
Slava Pestov
4de760a338
No smart quotes here
2009-01-27 01:33:38 -06:00
Slava Pestov
d8e135a4d3
Merge branch 'master' into new_ui
2009-01-27 00:08:52 -06:00
Slava Pestov
e32d11a4d0
Smart quotes
2009-01-26 23:22:50 -06:00
Slava Pestov
ef223f26d5
Fix conflict
2009-01-24 23:56:33 -06:00
Slava Pestov
f34c14a0f5
Remove some usages of tuck
2009-01-23 18:20:47 -06:00
Slava Pestov
d305cb897b
Merge branch 'master' into new_ui
2009-01-10 18:14:56 -06:00
Slava Pestov
da20ea83af
Minor parser docs fix
2009-01-10 18:13:16 -06:00
Slava Pestov
e03f997837
Add io.pathnames to default use list in listener
2009-01-06 12:15:58 -06:00
Slava Pestov
9ae23231af
Merge branch 'new_ui' of /Users/slava/old/factor into new_ui
2008-12-17 23:41:17 -06:00
Slava Pestov
5fdb474c76
Fixing various test failures and updating some more vocabs for >r/r> removal
2008-12-17 22:29:32 -06:00
Slava Pestov
0643cf3a44
Merge branch 'master' into new_ui
2008-12-17 18:15:01 -06:00
Slava Pestov
c5160d76e9
Merge qualified, alias, symbols, constants into core
2008-12-17 18:10:01 -06:00
Slava Pestov
023ae576b5
Updating unit tests for io.files split
2008-12-15 01:40:50 -06:00
Slava Pestov
da94d8afae
Working on new UI
2008-12-11 16:47:38 -06:00
Doug Coleman
37b9a350cc
swap ... 3append -> surround in core
2008-12-06 18:42:41 -06: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
b8fff571b4
More robust amended-use behavior
2008-11-29 15:21:40 -06:00
Slava Pestov
a4d9cdfeb3
Refactor all usages of >r/r> in core to use dip, 2dip, 3dip
...
Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r>
2008-11-23 02:44:56 -06:00
Slava Pestov
51787c2022
Add some error checking to CHAR:
2008-11-23 00:25:01 -06:00
Slava Pestov
af29312a9e
Fix parser tests
2008-11-21 02:25:43 -06:00
Slava Pestov
1addde1567
If 'search' was called outside of the parser, note. might be called, which would fail if no lexer was set
2008-11-21 00:18:25 -06:00
Slava Pestov
2e2856b9a4
Document auto-use? feature
2008-11-20 21:54:38 -06:00
Slava Pestov
98d109a9a8
Rename do-what-i-mean? to auto-use?
2008-11-20 20:35:01 -06:00
Slava Pestov
eb6cdcc06e
Fix parser tests
2008-11-19 17:41:39 -06:00
Slava Pestov
002563ce44
Add DWIM mode
2008-11-19 16:27:16 -06:00
Slava Pestov
6085557116
Parser now prints an IN:/USING: form if restarts were invoked; add more restarts for certain errors
2008-11-19 16:03:05 -06:00
Slava Pestov
9bf63b1613
New $quotation markup element
2008-11-16 09:03:30 -06:00
Slava Pestov
57242951b9
Better error reporting in FROM: and RENAME: words
2008-11-08 19:33:15 -06:00
Slava Pestov
673fda2281
Fix bogus error message
2008-11-02 03:10:27 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
580c9b8868
Add stack-checker vocab to interactive-vocabs
2008-09-07 02:37:23 -05:00
Slava Pestov
161c27a302
Tweak interactive-vocabs
2008-09-05 19:55:28 -05:00
Doug Coleman
76fb3de616
new accessors
2008-09-02 01:55:36 -05:00
Doug Coleman
0f3d585dd2
new accessors
2008-08-30 12:34:45 -05:00
Slava Pestov
74dccc7fbf
Debugging compiler
2008-08-28 22:28:34 -05:00
Slava Pestov
4cb64aaeb8
Fixing unit tests for eval word being moved
2008-07-29 00:05:01 -05:00
Slava Pestov
f5c15481fe
Move io.styles to basis
2008-07-28 22:28:13 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00
Slava Pestov
17b94261c5
Fix deploy tests
2008-07-02 21:52:28 -05:00
Slava Pestov
537269447c
Move mirrors out of the boot image
2008-07-02 00:20:01 -05:00
Slava Pestov
b36e06d0d6
Builtinn types now use new slot accessors; tuple slot type declaration work in progress
2008-06-28 02:36:20 -05:00
Slava Pestov
666d4abaee
More fixes
2008-06-25 04:06:18 -05:00