Jump to content

Talk:Compiler/Verifying syntax: Difference between revisions

m
no edit summary
(Created page with "==Incorrect BNF== The BNF given does not permit = to be directly followed by not. Go/Julia/Perl all get that wrong.<br> The Go output also claims that "g not = h" is valid, wh...")
 
mNo edit summary
Line 2:
The BNF given does not permit = to be directly followed by not. Go/Julia/Perl all get that wrong.<br>
The Go output also claims that "g not = h" is valid, whereas Perl/Julia and now Phix call that invalid. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 18:57, 3 January 2020 (UTC)
 
I may not understand the specification given for BNF syntax. Doesn't the rule:
 
expr_level_4 = ["not"] expr_level_5 [('=' | '<') expr_level_5] ;
 
mean any expr_level_5 expression can be preceded by not?
--[[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 19:09, 3 January 2020 (UTC)
4,105

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.