Parse EBNF: Difference between revisions
Content deleted Content added
m wordliness |
|||
Line 180: | Line 180: | ||
=={{header|Modula-2}}== |
=={{header|Modula-2}}== |
||
<lang |
<lang modula2>MODULE EBNF; |
||
MODULE EBNF; |
|||
FROM ASCII IMPORT EOL; |
FROM ASCII IMPORT EOL; |
||
Line 271: | Line 270: | ||
END EBNF.</lang> |
END EBNF.</lang> |
||
And the source for the EBNF scanner. I hope you like nested procedures. |
And the source for the EBNF scanner. I hope you like nested procedures. |
||
⚫ | |||
<lang Modula-2> |
|||
⚫ | |||
FROM ASCII IMPORT LF; |
FROM ASCII IMPORT LF; |
||
Line 440: | Line 438: | ||
ch := ' ' |
ch := ' ' |
||
END EBNFScanner.</lang> |
END EBNFScanner.</lang> |
||
=={{header|PicoLisp}}== |
=={{header|PicoLisp}}== |