BNF example generator especially for comprehensive test.
name | generate | via | return |
---|---|---|---|
cl-string-generator | any string | regex | one value |
cl-gimei | japanese name, adress | one value | |
lorem-ipsum | text for place-holder | one value | |
chancery | any string | rule | one value |
cl-diceware | pass phrase | dice | one value |
bnf | any string | bnf | comprehensive list |
If you want bnf parser generator, the projects below may what you want.
(bnf:examples (integer (sign? digit+ dot?))
(sign? (or "" #\+ #\-))
(digit+ (or . #.(coerce "1234567890" 'list))
:max 3)
(dot? (or "" #\.)))
=> ("7" "546." "+26" "+794." "-32" "-1.")
Already?
MIT
SBCL
- SBCL/2.1.7
- CCL/1.12.1
- CLISP/2.49
- ECL/21.2.1
- Allegro/10.1
- CMUCL/21D
- ABCL/1.8.0