diff options
| author | Gerd Moellmann | 2000-01-29 12:15:49 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-01-29 12:15:49 +0000 |
| commit | bbd9b56608ff9e354e8f665672cec9bca924a25d (patch) | |
| tree | db8eddc83921c8395d85bd62761da33def955835 /etc | |
| parent | f5bd1691b763289fcbd680d421e3d2ed426e6137 (diff) | |
| download | emacs-bbd9b56608ff9e354e8f665672cec9bca924a25d.tar.gz emacs-bbd9b56608ff9e354e8f665672cec9bca924a25d.zip | |
*** empty log message ***
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 32 |
1 files changed, 32 insertions, 0 deletions
| @@ -781,6 +781,38 @@ appropriate for C-style escape sequences in strings. | |||
| 781 | 781 | ||
| 782 | ** New modes and packages | 782 | ** New modes and packages |
| 783 | 783 | ||
| 784 | *** The package ebnf2ps translates an EBNF to a syntactic chart in | ||
| 785 | PostScript. | ||
| 786 | |||
| 787 | Currently accepts ad-hoc EBNF, ISO EBNF and Bison/Yacc. | ||
| 788 | |||
| 789 | The ad-hoc default EBNF syntax has the following elements: | ||
| 790 | |||
| 791 | ; comment (until end of line) | ||
| 792 | A non-terminal | ||
| 793 | "C" terminal | ||
| 794 | ?C? special | ||
| 795 | $A default non-terminal | ||
| 796 | $"C" default terminal | ||
| 797 | $?C? default special | ||
| 798 | A = B. production (A is the header and B the body) | ||
| 799 | C D sequence (C occurs before D) | ||
| 800 | C | D alternative (C or D occurs) | ||
| 801 | A - B exception (A excluding B, B without any non-terminal) | ||
| 802 | n * A repetition (A repeats n (integer) times) | ||
| 803 | (C) group (expression C is grouped together) | ||
| 804 | [C] optional (C may or not occurs) | ||
| 805 | C+ one or more occurrences of C | ||
| 806 | {C}+ one or more occurrences of C | ||
| 807 | {C}* zero or more occurrences of C | ||
| 808 | {C} zero or more occurrences of C | ||
| 809 | C / D equivalent to: C {D C}* | ||
| 810 | {C || D}+ equivalent to: C {D C}* | ||
| 811 | {C || D}* equivalent to: [C {D C}*] | ||
| 812 | {C || D} equivalent to: [C {D C}*] | ||
| 813 | |||
| 814 | Please, see ebnf2ps documentation for EBNF syntax and how to use it. | ||
| 815 | |||
| 784 | *** The package align.el will align columns within a region, using M-x | 816 | *** The package align.el will align columns within a region, using M-x |
| 785 | align. Its mode-specific rules, based on regular expressions, | 817 | align. Its mode-specific rules, based on regular expressions, |
| 786 | determine where the columns should be split. In C and C++, for | 818 | determine where the columns should be split. In C and C++, for |