John Benediktsson
|
59caf874a3
|
syntax: removing #! as a comment character.
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
|
2015-09-09 18:28:08 -07:00 |
John Benediktsson
|
e477f6996f
|
Fix comments to be ! not #!.
|
2015-09-08 16:15:10 -07:00 |
John Benediktsson
|
2435307fb3
|
peg: some cleanup.
|
2015-09-02 13:14:01 -07:00 |
Jon Harper
|
03630e8100
|
peg.ebnf: support escaped double quote in a string
|
2015-08-30 18:43:58 +02:00 |
John Benediktsson
|
e8cc383388
|
minor cleanup.
|
2015-08-17 20:32:28 -07:00 |
Doug Coleman
|
be82224fe9
|
peg: 'convention' -> convention-parser for Factor word names. In EBNF DSL, 'convention' is obviously still allowed.
|
2015-08-15 18:10:52 -07:00 |
John Benediktsson
|
ceb75057da
|
change ERROR: words from throw-foo back to foo.
|
2015-08-13 16:13:05 -07:00 |
Doug Coleman
|
b6be8685c3
|
basis: ERROR: changes.
|
2015-08-13 03:20:39 -07:00 |
Doug Coleman
|
330c7ba156
|
factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.
|
2015-08-12 08:49:02 -05: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 |
Doug Coleman
|
9fb130791b
|
factor: trim more whitespace from #! comments
|
2015-07-18 20:36:42 -07:00 |
Doug Coleman
|
892c62e1dc
|
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
|
2015-07-03 09:39:59 -07:00 |
Doug Coleman
|
59f3b1ea57
|
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.
This reverts commit 7e54cc2824.
|
2015-07-02 13:47:06 -07:00 |
Doug Coleman
|
7e54cc2824
|
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
|
2015-07-02 11:36:08 -07:00 |
Doug Coleman
|
999aa7c897
|
factor: clean up spaces in -tests files
|
2015-07-02 10:34:01 -07:00 |
Doug Coleman
|
352e5de16a
|
core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
|
2015-06-29 17:25:40 -07:00 |
John Benediktsson
|
b366a06c41
|
use reject instead of [ ... not ] filter.
|
2015-05-12 18:50:34 -07:00 |
John Benediktsson
|
56bb141257
|
peg.ebnf: unescape strings in a few places.
|
2015-04-19 20:47:26 -07:00 |
John Benediktsson
|
e576fb5fec
|
peg: some cleanup.
|
2014-12-12 14:19:39 -08:00 |
Doug Coleman
|
bc26dbb3ee
|
peg.ebnf: Update docs for peg change.
|
2014-10-23 13:47:40 -07:00 |
John Benediktsson
|
57f9d78892
|
improve help by linking to types directly.
|
2014-05-23 20:20:15 -07:00 |
Doug Coleman
|
ba3092ea20
|
peg.ebnf: Throw errors not strings.
|
2013-03-29 09:51:26 -07:00 |
Doug Coleman
|
9dd0f84f07
|
peg.ebnf: Regexp fail.
|
2013-03-23 16:30:57 -07:00 |
Doug Coleman
|
be87b3aca7
|
peg.ebnf: Rename tokenizer in peg.ebnf, fix whitespace.
|
2013-03-23 16:27:00 -07:00 |
Doug Coleman
|
8c19602ae9
|
assocs: Add of and ?of. Change all the things at once! Fixes #701.
|
2013-03-23 14:59:07 -07:00 |
John Benediktsson
|
d8e8eee935
|
peg.ebnf: fix usage of replace.
|
2013-01-03 18:13:20 -08:00 |
John Benediktsson
|
0cfc78c37c
|
"filter empty?" is "any? not".
|
2012-07-19 16:33:01 -07:00 |
Doug Coleman
|
42f4dc36b2
|
namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``.
|
2012-07-19 00:02:47 -07:00 |
Doug Coleman
|
986ff071b4
|
Fix help-lint for editors, peg.ebnf
|
2011-10-19 00:57:20 -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 |
John Benediktsson
|
c8732657b7
|
Cleanup more lint warnings.
|
2011-10-16 13:01:58 -07:00 |
John Benediktsson
|
1987deb359
|
Fix M: stack effects.
|
2011-10-13 16:41:17 -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
|
9f34c9c676
|
Spelling fixes to documentation.
|
2011-08-26 16:20:31 -07:00 |
Joe Groff
|
27f5f07dbc
|
peg.ebnf: add rule~ syntax to discard a matching subrule from the AST; document (grouping) and {grouping} syntax
|
2011-06-06 16:32:19 -07:00 |
Keita Haga
|
073eda332a
|
In several documentation, remove whitespace before or after the colon or period
|
2011-02-10 01:51:13 +09:00 |
Keita Haga
|
904d85860a
|
peg.ebnf: fix minor typo in docs
|
2011-01-20 23:39:30 +09:00 |
Keita Haga
|
0048670ad7
|
peg.ebnf: fix a couple of typos in docs
|
2011-01-15 01:11:37 +09:00 |
Slava Pestov
|
c34639293a
|
peg.ebnf: minor fix
|
2010-07-26 12:40:32 -04:00 |
Doug Coleman
|
8ccb56c924
|
C-style identifiers in peg.ebnf
|
2010-05-03 23:52:37 -05:00 |
Doug Coleman
|
fa07f5d85f
|
Allow - in peg.ebnf identifiers. Eating still not allowed...
|
2010-05-03 23:40:50 -05:00 |
Doug Coleman
|
c7351595e5
|
Allow a-zA-Z0-9_ in identifiers for peg.ebnf
|
2010-05-03 23:36:29 -05:00 |
Slava Pestov
|
df4fb4a3ee
|
Removing integers-as-sequences
|
2010-01-15 07:15:33 +13:00 |
Doug Coleman
|
daf3094b8c
|
use $subsections instead of $subsection
|
2009-11-18 16:40:18 -06:00 |
Joe Groff
|
3fbe722561
|
Merge branch 'master' of http://factorcode.org/git/factor
Conflicts:
basis/locals/locals.factor
basis/peg/peg.factor
extra/infix/infix.factor
|
2009-10-28 16:17:24 -05:00 |
Doug Coleman
|
7ce4b746e5
|
parsed -> suffix!, add append!
|
2009-10-28 13:38:27 -05:00 |
Joe Groff
|
2ecf3fb568
|
fix load errors from bootstrapping
|
2009-10-28 12:51:03 -05:00 |
Joe Groff
|
f1d9201cb2
|
update peg for [let change
|
2009-10-27 22:29:20 -05:00 |
Slava Pestov
|
b6a0324be6
|
peg: fix unit test failures
|
2009-10-19 06:01:20 -05:00 |
Slava Pestov
|
191e3cf2fb
|
peg.ebnf: fix
|
2009-10-19 04:05:26 -05:00 |