Jump to content

Compiler/lexical analyzer: Difference between revisions

We have a {{task}} macro and a {{task heading|}} macro - the second requires a vertical bar before its argument to distinguish it from the first in the current wiki implementation (and an empty argument seems meaningless)
m (Undo revision 364882 by Rdm (talk))
Tag: Undo
(We have a {{task}} macro and a {{task heading|}} macro - the second requires a vertical bar before its argument to distinguish it from the first in the current wiki implementation (and an empty argument seems meaningless))
Tag: Manual revert
 
Line 4:
 
: ''Lexical analysis is the process of converting a sequence of characters (such as in a computer program or web page) into a sequence of tokens (strings with an identified "meaning"). A program that performs lexical analysis may be called a lexer, tokenizer, or scanner (though "scanner" is also used to refer to the first stage of a lexer).''
 
{{task heading}}
 
Create a lexical analyzer for the simple programming language specified below. The
6,962

edits

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