The bnf Reference Manual

Next: , Previous: , Up: (dir)   [Contents][Index]

The bnf Reference Manual

This is the bnf Reference Manual, version 0.1.3, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Nov 15 04:18:53 2022 GMT+0.

Table of Contents


1 Introduction

bnf 0.0.0

BNF example generator especially for comprehensive test.

Altenatives and differences

| 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.

Usage

(bnf:examples (integer (sign? digit+ dot?))
              (sign? (or "" #\+ #\-))
	      (digit+ (or . #.(coerce "1234567890" 'list))
	              :max 3)
              (dot? (or "" #\.)))
=> ("7" "546." "+26" "+794." "-32" "-1.")

From developer

Product's goal

Already?

License

MIT

Developed with

SBCL

Tested with

Installation


2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 bnf

BNF example generator. Useful for testing parser.

Author

SATO Shinichi

Source Control

(GIT git@github.com:hyotang666/bnf)

Bug Tracker

https://github.com/hyotang666/bnf/issues

License

MIT

Version

0.1.3

Dependencies
  • uiop (system).
  • trestrul (system).
Source

bnf.asd.

Child Component

bnf.lisp (file).


3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp   [Contents][Index]

3.1.1 bnf/bnf.asd

Source

bnf.asd.

Parent Component

bnf (system).

ASDF Systems

bnf.


Previous: , Up: Lisp   [Contents][Index]

3.1.2 bnf/bnf.lisp

Source

bnf.asd.

Parent Component

bnf (system).

Packages

bnf.

Public Interface

examples (macro).

Internals

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 bnf

Source

bnf.lisp.

Use List

common-lisp.

Public Interface

examples (macro).

Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Public Interface


5.1.1 Macros

Macro: examples (&body clause*)
Package

bnf.

Source

bnf.lisp.


5.2 Internals


Previous: , Up: Internals   [Contents][Index]

5.2.1 Ordinary functions

Function: <labels-def> (clause)
Package

bnf.

Source

bnf.lisp.

Function: <simple-def-form> (form)
Package

bnf.

Source

bnf.lisp.

Function: <with-max-form> (form var)
Package

bnf.

Source

bnf.lisp.

Function: canonicalize (orp &rest elt*)
Package

bnf.

Source

bnf.lisp.

Function: combinate (forms)
Package

bnf.

Source

bnf.lisp.

Function: generate-digit-char ()
Package

bnf.

Source

bnf.lisp.

Function: sample (list)
Package

bnf.

Source

bnf.lisp.

Function: strcat (list)
Package

bnf.

Source

bnf.lisp.


Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts


Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables