Compiler/lexical analyzer: Difference between revisions

Content deleted Content added
Document END_OF_INPUT and comments more explicitly
→‎{{header|Perl 6}}: add 'improve' template
Line 1,530: Line 1,530:


=={{header|Perl 6}}==
=={{header|Perl 6}}==

{{improve|Perl 6|
* It does not emit the <tt>END_OF_INPUT</tt> token.
* It does not do the error handling specified in the [[#Diagnostics]] section of the task description.}}


<lang perl6>grammar C_Language {
<lang perl6>grammar C_Language {