Skip to content

Commit 3a4af43

Browse files
committed
including new features (productive productions and new extract productions builder) in the changelog
1 parent faf768b commit 3a4af43

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

changeLog.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Example:
2525
Exp.Add = < <Exp> + <Exp> > {left}
2626
Statement = Exp
2727

28-
- Kernel Section can be written in productive form.
28+
- Productions from Syntax (kernel) and Variables sections can be written in productive form.
2929
- Kernel sorts must be written without angle brackets.
3030

3131
Example:
@@ -56,13 +56,15 @@ There are new builders available for both SDF2 and SDF3 files. They include:
5656
- SDF3 - Format:
5757
- Format, which generates a prettyprinted .sdf3 file.
5858
- Lift, which generates a .sdf3 file converting all deprecated items.
59-
- Lift (templates), which does the same as the previous one, but generates single line templates from regular productions.<br><br>
59+
- Lift (templates), which does the same as the previous one, but generates single line templates from regular productions. <br>
60+
- Extract productions, which lifts productions to SDF3 and extract regular productions from templates.<br><br>
6061

6162
- SDF2 - Generate:
6263
- Lift to SDF3, which generates .sdf3 files from the sdf2 definition.
6364
- Lift to SDF3 (templates), which does the same as the previous one, but generates single line templates from regular productions.<br>
6465

65-
All builders have the option (abstract) to generate .aterm files containing the AST for the respective builder.
66+
67+
All builders have the option (abstract) to generate .aterm files containing the AST for the respective builder. Builders that generate from SDF2 or format SDF3 files
6668

6769
#### Dropped Features
6870

@@ -75,15 +77,15 @@ Example:
7577

7678
context-free syntax
7779

78-
Symbol = SymbolLeft | SymbolRight
80+
Symbol = A | B
7981

8082
should be translated to:
8183

8284
context-free syntax
8385

8486
Symbol = Alt
85-
Alt = SymbolLeft
86-
Alt = SymbolRight
87+
Alt = A
88+
Alt = B
8789

8890
- Sequences:
8991

@@ -92,30 +94,30 @@ Example:
9294

9395
context-free syntax
9496

95-
Symbol = (SymbolHead SymbolTail+)
97+
Symbol = (A B C ...)
9698

9799
should be translated to:
98100

99101
context-free syntax
100102

101103
Symbol = Seq
102-
Seq.Seq = SymbolHead SymbolTail+
104+
Seq.Seq = A B C ...
103105

104106
- Tuples:
105107

106108
Example:
107109

108110
context-free syntax
109111

110-
Symbol = <SymbolHead, {SymbolRest ","}+>
112+
Symbol = <A, B, ...>
111113

112114
should be translated to:
113115

114116
context-free syntax
115117

116118
Symbol = Tuple
117119

118-
Tuple.Tuple = "<" SymbolHead "," {SymbolRest ","}+ ">"
120+
Tuple.Tuple = "<" A "," B "," ... ">"
119121

120122

121123
- Function:
@@ -124,31 +126,31 @@ Example:
124126

125127
context-free syntax
126128

127-
Symbol = (SymbolArgs => SymbolRes)
129+
Symbol = (A => B)
128130

129131
should be translated to:
130132

131133
context-free syntax
132134

133135
Symbol = Func
134136

135-
Func.Func = "(" SymbolArgs "=>" SymbolRes ")"
137+
Func.Func = "(" A "=>" B ")"
136138

137139
- Strategy:
138140

139141
Example:
140142

141143
context-free syntax
142144

143-
Symbol = (SymbolLeft -> SymbolRight)
145+
Symbol = (A -> B)
144146

145147
should be translated to:
146148

147149
context-free syntax
148150

149151
Symbol = Func
150152

151-
Func.Func = "(" SymbolLeft "->" SymbolRight ")"
153+
Func.Func = "(" A "->" B ")"
152154

153155

154156

0 commit comments

Comments
 (0)