Jump to content

Parse EBNF: Difference between revisions

m
m (wordliness)
Line 180:
 
=={{header|Modula-2}}==
<lang Modula-2modula2>MODULE EBNF;
MODULE EBNF;
 
FROM ASCII IMPORT EOL;
Line 271 ⟶ 270:
END EBNF.</lang>
And the source for the EBNF scanner. I hope you like nested procedures.
<lang modula2>IMPLEMENTATION MODULE EBNFScanner;
<lang Modula-2>
IMPLEMENTATION MODULE EBNFScanner;
 
FROM ASCII IMPORT LF;
Line 440 ⟶ 438:
ch := ' '
END EBNFScanner.</lang>
 
 
=={{header|PicoLisp}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.