home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / doc / manual / volume3 / local-bnf.tex < prev    next >
Encoding:
Text File  |  1991-07-03  |  2.0 KB  |  41 lines

  1. \File{local\-bnf.bnf},{10:56},{Jul  4 1991}
  2. \L{\LB{}}
  3. \L{\LB{\<statementlist\> ::= \<statement\>}}
  4. \L{\LB{}\Tab{16}{\| \<statement\> \<statementlist\>}}
  5. \L{\LB{}}
  6. \L{\LB{\<statement\> ::= \<expression\> \S{}\";\"\SE{}}}
  7. \L{\LB{}\Tab{16}{\| \S{}\";\"\SE{}}}
  8. \L{\LB{}\Tab{16}{\| \S{}\"print\"\SE{} \<prexp\> \S{}\";\"\SE{}}}
  9. \L{\LB{}\Tab{16}{\| \S{}\"if\"\SE{} \<condition\> \<statement\>}}
  10. \L{\LB{}\Tab{16}{\| \S{}\"if\"\SE{} \<condition\> \<statement\> \S{}\"else\"\SE{} \<statement\>}}
  11. \L{\LB{}\Tab{16}{\| \S{}\"\{\"\SE{} \<statementlist\> \S{}\"\}\"\SE{}}}
  12. \L{\LB{}}
  13. \L{\LB{\<condition\> ::= \S{}\"(\"\SE{} \<expression\> \S{}\")\"\SE{}}}
  14. \L{\LB{}}
  15. \L{\LB{\<expression\> ::=  \S{}\"(\"\SE{} \<expression\> \S{}\")\"\SE{}}}
  16. \L{\LB{}\Tab{16}{\| \<expression\> \S{}\"==\"\SE{} \<regex\>}}
  17. \L{\LB{}\Tab{16}{\| \<expression\> \S{}\"!=\"\SE{} \<regex\>}}
  18. \L{\LB{}\Tab{16}{\| \<variable\> \S{}\"=\"\SE{} \<expression\>}}
  19. \L{\LB{}\Tab{16}{\| \<expression\> \S{}\"==\"\SE{} \<expression\>}}
  20. \L{\LB{}\Tab{16}{\| \<expression\> \S{}\"!=\"\SE{} \<expression\>}}
  21. \L{\LB{}\Tab{16}{\| \<expression\> \S{}\"\|\|\"\SE{} \<expression\>}}
  22. \L{\LB{}\Tab{16}{\| \<expression\> \S{}\"\&\&\"\SE{} \<expression\>}}
  23. \L{\LB{}\Tab{16}{\| \S{}\"!\"\SE{} \<expression\>}}
  24. \L{\LB{}\Tab{16}{\| [ \S{}\"ignore\"\SE{} ] \S{}\"file\"\SE{} \<string\>}}
  25. \L{\LB{}\Tab{16}{\| [ \S{}\"ignore\"\SE{} ] \S{}\"pipe\"\SE{} \<string\>}}
  26. \L{\LB{}\Tab{16}{\| \S{}\"exit\"\SE{} [ \<expression\> ]}}
  27. \L{\LB{}\Tab{16}{\| \<field\>}}
  28. \L{\LB{}\Tab{16}{\| \<variable\>}}
  29. \L{\LB{}\Tab{16}{\| \<string\>}}
  30. \L{\LB{}}
  31. \L{\LB{\<prexp\> ::= \<expression\>}}
  32. \L{\LB{}\Tab{16}{\| \<prexp\> \S{}\",\"\SE{} \<expression\>}}
  33. \L{\LB{}}
  34. \L{\LB{\<string\> ::= quoted string of characters (e.g., \S{}\"abced\"\SE{})}}
  35. \L{\LB{}}
  36. \L{\LB{\<variable\> ::= list of characters of the form [a\-zA\-Z\_][a\-zA\-Z0\-9\_]*}}
  37. \L{\LB{}}
  38. \L{\LB{\<field\> ::= \S{}\"\$(\"\SE{} list of characters and \- \S{}\")\"\SE{}}}
  39. \L{\LB{}}
  40. \L{\LB{\<regex\> ::= \S{}\"\/\"\SE{} regular expression (see regexp(3)) \S{}\"\/\"\SE{}}}
  41.