Alexander Iljin
0637557cca
*-docs: remove extra space character at the end of paragraghs
2018-08-21 10:45:52 -07:00
Doug Coleman
9f213f96f6
core: Add the shuffler words but without primitives.
...
The nipd branch slowed bootstrap by a minute, this patch does not.
sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
John Benediktsson
ca03896d74
more test IN: cleanup.
2018-02-15 09:20:01 -08:00
John Benediktsson
bd9676e152
core/basis/extra: use none?.
2018-02-14 11:56:31 -08:00
Doug Coleman
fad9e9d002
peg.ebnf: Add EBNF-PARSER: to define a word that returns an EBNF parser
...
This is in contrast to defining a word that parser.
2017-08-06 00:17:25 -05:00
Doug Coleman
15b13870ae
peg.ebnf: Clean up EBNF: syntax.
...
The syntax for an EBNF parser is now ``EBNF: identifier string``. The
inline syntax went from [EBNF ... EBNF] to EBNF[[ ]], EBNF[=[ ]=], etc.
<EBNF looked for a main word, but this functionality is just EBNF[[ ]]
now.
2017-08-05 22:23:57 -05:00
Alexander Iljin
2ffa446f5b
*-docs: replace double spaces with single spaces
...
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
John Benediktsson
48c69cb8ea
use reject instead of [ ... not ] filter.
2017-01-05 13:29:58 -08:00
John Benediktsson
dadff2f062
some cleanup.
2016-11-26 22:01:03 -08:00
Alexander Iljin
9a3a3c0170
peg.ebnf-docs: add note on including "-" in the character classes
2016-10-28 09:34:53 -07:00
Björn Lindqvist
20711a0fd3
Adding escaping to CHAR: " -> CHAR: \"
...
It is not necessary to escape the " character, but it doesn't hurt and
is necessary for syntax-highlighting (FUEL) to work correctly.
2016-09-04 06:40:43 +02:00
John Benediktsson
498285d7dd
unicode: make this the API for all unicode things.
2016-03-30 23:29:48 -07:00
John Benediktsson
0f4f1058ce
peg.ebnf: different (better) error for peg.ebnf.semantic-action.
2016-03-30 13:55:21 -07:00
John Benediktsson
c4f67577f1
peg.ebnf: add a note for bug #23 and prefix articles with EBNF.
2016-03-30 13:30:30 -07:00
John Benediktsson
4138ac0654
peg: simplify parse-satisfy.
2016-03-30 10:30:36 -07:00
Doug Coleman
26689c3d75
peg: Throw an error if nothing at all matches at position 0.
2016-03-30 10:16:15 -07:00
Doug Coleman
e49d721374
peg: Don't need to add empty errors here. It breaks the real error message.
2016-03-30 10:16:15 -07:00
John Benediktsson
71ef8a22c2
disambiguate namespaces:set and sets:set.
2016-03-29 17:14:42 -07:00
John Benediktsson
9f37936f53
peg.ebnf: whoops, fix using for some reason not included in previous patch.
2016-03-28 17:24:57 -07:00
John Benediktsson
7ab8a787b0
peg.ebnf: fix and a better fix.
2016-03-28 17:04:03 -07:00
John Benediktsson
e7fa8fbc2f
peg.ebnf: reset qualified-vocabs so FROM: statements don't leak.
2016-03-28 16:41:56 -07:00
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
John Benediktsson
b28a24c7df
peg: fix some old docs that referred to "p1".
2015-09-02 10:34:59 -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
e0d1b14e5c
factor: don't need FROM: namespaces => set or namespaces:set anymore
2015-08-12 11:25:57 -05: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
43fb73fae6
factor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace.
2015-08-06 17:05:12 -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
John Benediktsson
b5a671cd88
peg: replace uses of digits>integer with string>number.
2015-07-19 19:18:47 -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
43d6f1d3e2
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
2015-07-02 17:28:17 -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
e3cb325040
factor: clean up whitespace in -docs files
2015-07-02 10:31:22 -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
338e99e434
peg: remove trailing whitespace from docs.
2015-04-19 20:47:05 -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
e9ed1f3a72
peg.debugger: don't use formatting.
2014-10-23 12:01:51 -07:00
Björn Lindqvist
3ed3e10074
peg: add 'got' slot to parse-error, so you get a little more info about why the parsing fails
2014-10-23 11:31:27 -07:00