Lexical Analysis
The first step in compiling a program is to break it into tokens. For example, given the j-- programwe want to produce the sequence of tokens package, pass, ;, import, java, ., lang, ., System, ;, public, class, Factorial, {, public, static, int, factorial, (, int, n,), {, if, (, n, <=, 0, ), },...
Saved in:
| Published in: | Introduction to Compiler Construction in a Java World pp. 55 - 84 |
|---|---|
| Main Authors: | , , |
| Format: | Book Chapter |
| Language: | English |
| Published: |
United Kingdom
Chapman and Hall/CRC
2013
CRC Press LLC |
| Subjects: | |
| ISBN: | 1439860882, 9781439860885 |
| Online Access: | Get full text |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Be the first to leave a comment!

