Commit Graph

91 Commits (master)

Author SHA1 Message Date
Matthew Butterick 30cbf95e6a doc fix: ? is used for quantification 1 year ago
D. Ben Knoble 92b7dcc067
scribble: fix indentation in file examples (#27)
I copied in the actual file contents. It would perhaps be safest to do
some sort of "read the file and splice the contents in," but I'm not
sure how to do that at the moment.
2 years ago
Matthew Butterick 243f32a7bb refine docs for `from/stop-before`
Only works with literal tokens, not arbitrary patterns, due to underlying limitations on `complement` pattern matcher
3 years ago
Matthew Butterick c792b12d71 Revert "subparsers"
This reverts commit 11539991ec.
5 years ago
Matthew Butterick 11539991ec subparsers 5 years ago
Matthew Butterick 4732784dee note on source-path arg 5 years ago
Matthew Butterick 460a5480fc exactness 5 years ago
Jesse Alama 2e8f5e42be Use nonnegative-integer? in favor of natural-number?
The natural-number? predicate seems to be
unavailable (though there is a remnant of it in the form of
natural-number/c, which is just a contract alias of
exact-nonnegative-integer?). In any case, it surely means
nonnegative integer.

(One might push the envelope here slightly and add
exactness, but this commit does not go that far.)
5 years ago
Matthew Butterick 84f2fc2b97 add base dep 5 years ago
Matthew Butterick 4f4c674a18 removal 5 years ago
Matthew Butterick 095b4c2409 move 5 years ago
Matthew Butterick 69e38c9b4f separate 5 years ago
Matthew Butterick 7c93fffed5 differences from ragg (closes #15) 5 years ago
Matthew Butterick 0901778f65 Revert "simplify flattening"
This reverts commit 17b01b3718.
5 years ago
Matthew Butterick 17b01b3718 simplify flattening 5 years ago
Matthew Butterick d1ebde511a adjust flattening of zero-or-more rule (fixes #18) 5 years ago
Matthew Butterick 2612c3356b use 'unknown not #f 5 years ago
Matthew Butterick b2a9d1ac53 vestigial 5 years ago
Rodrigo Bernardo 536016551d Fix typo 5 years ago
Gregory Toprak e301210ffb Fix link in docs
The broken link showed up as an undefined tag warning for `(tech "comment")` when installing this package.

This seemed like the most straightforward fix, but it's a bit wordy.
6 years ago
Matthew Butterick 1b69e27c44 activate srclocs in tester 6 years ago
Matthew Butterick 359da840b9 better error msg when token type is whitespace (fixes #9) 6 years ago
Matthew Butterick e6b8f99316 suppress source info in errors when it doesn't exist 6 years ago
Matthew Butterick 6cf947b8af add multiline comments; ignore commas 6 years ago
Matthew Butterick dd37900690 docs nit 6 years ago
Matthew Butterick f8687db35a improve cutting of top-level rule name 6 years ago
Matthew Butterick 8fd0aa4092 doc edit about top-level rule 6 years ago
Matthew Butterick bfacb563df permit cuts on top-level rule name 6 years ago
Matthew Butterick 6dff5018c6 add `apply-port-proc` 6 years ago
Matthew Butterick 9cbb3e7a5c another 6 years ago
Matthew Butterick cd736fdf4e handle non-char conditions 6 years ago
Matthew Butterick 0d4a350d2c tiny refac 6 years ago
Matthew Butterick 4f225cc740 reorder hide & splice (fixes #8) 6 years ago
Matthew Butterick 98d60c3ead colorize empty set 6 years ago
Matthew Butterick 3d46506cde empty parens better than empty brackets 6 years ago
Matthew Butterick de1c42d4f9 support empty-set notation 6 years ago
Matthew Butterick cf5e686ea6 simplify more 6 years ago
Matthew Butterick 1d8ff90769 simplify 6 years ago
Matthew Butterick 01ebdbba04 restore comment 6 years ago
Matthew Butterick 3e92d67a69 rename 6 years ago
Matthew Butterick 40f5cfa640 use the force 6 years ago
Matthew Butterick 52f1f4bce2 add test for start & atok tokens 6 years ago
Matthew Butterick 2ad5296567 red refaction 6 years ago
Matthew Butterick b5c75eee64 morefac 6 years ago
Matthew Butterick c3b887e219 refac 6 years ago
Matthew Butterick 7ea93a0bd9 extra exports for repl 6 years ago
Matthew Butterick 8473f59881 colorer tweak 6 years ago
Matthew Butterick 2f2f92a3c1 rename a test file 6 years ago
Matthew Butterick ce347b018d support backslashes in patterns 6 years ago
Matthew Butterick 54fb498c63 curly tests 6 years ago