You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by jv...@locus.apache.org on 2000/09/06 12:38:01 UTC
cvs commit: jakarta-velocity/specification velocity-bnf
jvanzyl 00/09/06 03:38:01
Added: specification velocity-bnf
Log:
- start creating a BNF from the javacc grammar.
Revision Changes Path
1.1 jakarta-velocity/specification/velocity-bnf
Index: velocity-bnf
===================================================================
Here's is a start at an official BNF for velocity.
With this others might be able to more easily identify
any possible defects. For example: there is an <if-statement>
and an <else-if-statement>. I haven't yet found a production
with the appropriate lookahead to accommodate a single
<if-statement> with <else-if-statements> as child nodes.
I hope it will help in some form.
<template> ::= <text>
<block>
<if-statement>
<else-if-statement>
<foreach-statement>
<include-statement>
<set-statement>
<parse-statement>
<param-statment>
<stop-statement>
<reference>
The full BNF will follow shortly.