diff options
author | Norbert Preining <preining@logic.at> | 2008-07-29 15:01:28 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-07-29 15:01:28 +0000 |
commit | 434fd59b3889827c8bbc961cbb896ee914698cf9 (patch) | |
tree | a5beb79a2d6291c5800b37e3b0d117728d6cf649 /Master/texmf-dist/doc/context | |
parent | 3cd37f60e5e92b2d2a9cf363e295d4bf75c01f07 (diff) |
add context-bnf
git-svn-id: svn://tug.org/texlive/trunk@9877 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/context')
-rw-r--r-- | Master/texmf-dist/doc/context/third/bnf/NEWS | 28 | ||||
-rw-r--r-- | Master/texmf-dist/doc/context/third/bnf/README | 39 | ||||
-rw-r--r-- | Master/texmf-dist/doc/context/third/bnf/t-bnf.pdf | bin | 0 -> 280331 bytes |
3 files changed, 67 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/context/third/bnf/NEWS b/Master/texmf-dist/doc/context/third/bnf/NEWS new file mode 100644 index 00000000000..2849b0784c1 --- /dev/null +++ b/Master/texmf-dist/doc/context/third/bnf/NEWS @@ -0,0 +1,28 @@ + + + BNF Module News + + + +VERSION 0.3 + + Nothing more than a clean-up of the project tree. Although the autotools + setup was working OK it was more confusing than helpful. People tend to + install these kinds of things in a much more ad hoc manner anyway. + + + +VERSION 0.2 + + + Total rewrite of the logic. Much easier to specify grammars, as the need for + commas and full-stops has been lifted. Furthermore, there is now an + alternative way of specifying non-terminals, using '-pairs instead. The + output is a lot nicer now as well, albeit not as compact as before. + + + +VERSION 0.1 + + + Initial release, nothing much to report here. diff --git a/Master/texmf-dist/doc/context/third/bnf/README b/Master/texmf-dist/doc/context/third/bnf/README new file mode 100644 index 00000000000..891661832f9 --- /dev/null +++ b/Master/texmf-dist/doc/context/third/bnf/README @@ -0,0 +1,39 @@ + + + BNF Module README + + +INTRODUCTION + + + The t-bnf module implements a way to easily write BNF grammars in CONTEXT. + Let's look at an example BNF grammar in a document: + + \starttext + + Here's a \BNF\ grammar. Enjoy. + + \placebnfgrammar + [here] + [bnf:test] + {A test of the \BNF\ module} + {\startbnfgrammar[] + <S>: a<S>b + <S>: $\epsilon$ + \stopbnfgrammar} + + Which will match the language $L = \{\,a^nb^n \mid n \geq 0\,\}$. + + \stoptext + + You may try to generate module documenation embedded in t-bnf.tex with texexec + as well: + + % texexec --interface=en --module --pdf t-bnf.tex + + If you have any issues with creating the documentation this may be a result + of lacking the proper language format. You can look up the proper + information for generating these formats in minstall.pdf at PRAGMA-ADEs site + (http://www.pragma-ade.com/). + + Enjoy! diff --git a/Master/texmf-dist/doc/context/third/bnf/t-bnf.pdf b/Master/texmf-dist/doc/context/third/bnf/t-bnf.pdf Binary files differnew file mode 100644 index 00000000000..863553fadc9 --- /dev/null +++ b/Master/texmf-dist/doc/context/third/bnf/t-bnf.pdf |