Parse EBNF: Difference between revisions

m
added whitespace and hightlighting.
(Added Wren)
m (added whitespace and hightlighting.)
Line 1:
{{clarified-review}}{{draft task}}[[Category:Recursion]]
[[Category:Recursion]]
Write a program that can parse a grammar in Extended Backus–Naur Form and then parse something else according to the grammar. The program is only required to decide whether or not the something else belongs to the language described by the grammar, but for extra credit, it can output a syntax tree. See [[Parse EBNF/Tests|the tests]].
{{clarified-review}}
 
 
;Task:
Write a program that can parse a grammar in   Extended Backus–Naur Form   ('''EBNF'''),   and then parse something else according to the grammar.
 
Write a program that can parse a grammar in Extended Backus–Naur Form and then parse something else according to the grammar. The program is only required to decide whether or not the something else belongs to the language described by the grammar,  but for extra credit,   it can output a syntax tree. See [[Parse EBNF/Tests|the tests]].
 
See [[Parse EBNF/Tests|the tests]].
<br><br>
 
=={{header|Go}}==