The last line -> | "(" ")"
says that a is a or a enclosed in brackets.
The line -> { "*" | "/" } means that a is a followed by zero or more things which are preceded by a * or / sign.
With this you should be able to find the rest yourself, otherwise : google BNF grammar.
ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661
Is this even C#?
No it isn't...
ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661
Cave ab homine unius libri.
There is to my knowledge no forum on BNF so he might as well have posted it here.
ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661
Nice snippet. Why use unsafe code?
ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661
Can be. Why not use assembler then, it will look even better.
ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661
You must be joking if you never heard the word "assembler"
ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661