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, ), },...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Introduction to Compiler Construction in a Java World S. 55 - 84
Hauptverfasser: Campbell, Bill, Iyer, Swami, Akbal-Delibas, Bahar
Format: Buchkapitel
Sprache:Englisch
Veröffentlicht: United Kingdom Chapman and Hall/CRC 2013
CRC Press LLC
Schlagworte:
ISBN:1439860882, 9781439860885
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Abstract 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, ), }, return, 1, ;, else, return, n, *, factorial, (, n, -, 1, ), }, ;, }, public, static, void, main, (, String, [, ], args, ), }, {, int, x, =, n, ;, System, ., out, ., println, (, x, +, "!=", +, factorial, (, x, ), ), }, ;, }, static, int, n, =, 5, ;, and }.
AbstractList 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, ), }, return, 1, ;, else, return, n, *, factorial, (, n, -, 1, ), }, ;, }, public, static, void, main, (, String, [, ], args, ), }, {, int, x, =, n, ;, System, ., out, ., println, (, x, +, "!=", +, factorial, (, x, ), ), }, ;, }, static, int, n, =, 5, ;, and }.
Author Campbell, Bill
Iyer, Swami
Akbal-Delibas, Bahar
Author_xml – sequence: 1
  givenname: Bill
  surname: Campbell
  fullname: Campbell, Bill
– sequence: 2
  givenname: Swami
  surname: Iyer
  fullname: Iyer, Swami
– sequence: 3
  givenname: Bahar
  surname: Akbal-Delibas
  fullname: Akbal-Delibas, Bahar
BookMark eNpVkDtPwzAURo14CFoqsbHyBwL32ql9PVYVFKRKLDBbjmOLQLCLHR7996QqC9M3nSN9Z8KOYoqesUuEa-SAN1oR1sQ5zkHJig7YBGquQSpVq0M2wVpokkDET9gZaRBKS85P2ayUVwBAJJCgz9jF2v90zvZXi2j7benKOTsOti9-9rdT9nx3-7S8r9aPq4flYl11CFJWXmqqbYOgufNCtxiCbYmj1Fpo4cmpAHONTgG6VqIKJIA3dd1gI1uSJKYM995NTh-fvgzGNym9OR-HbHv3YjeDz8WgHE-SMNrM5cis9kwXQ8rv9jvlvjWD3fYph2yj68rOMVJgdpHMv0iGzNeo7FLk4hdESVrX
ContentType Book Chapter
Copyright 2013 by Taylor & Francis Group, LLC
Copyright_xml – notice: 2013 by Taylor & Francis Group, LLC
DBID FFUUA
DEWEY 005.4/53
DOI 10.1201/9781482215076-8
DatabaseName ProQuest Ebook Central - Book Chapters - Demo use only
DatabaseTitleList
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 0429067747
9781482215076
9780429067747
1482215071
EndPage 84
ExternalDocumentID EBC1648283_9_56
10_1201_9781482215076_8_version2
GroupedDBID 38.
5~G
AABBV
ABARN
ABBFG
ABEQL
ABQPQ
ACBYE
ACGYG
ACLGV
ACNAM
ACNUM
ADVEM
ADYHE
AEGEX
AERYV
AEUHU
AFIZQ
AFOJC
AHWGJ
AIENH
AIXXW
AJFER
AKQZE
AKSCQ
ALMA_UNASSIGNED_HOLDINGS
ATPON
AZZ
BBABE
BPBUR
CXCJS
CZZ
EBATF
GEOUK
INALI
JJU
JTX
MX7
NEQ
NEV
OHILO
OODEK
PQQKQ
FFUUA
ID FETCH-LOGICAL-i1066-e6984ab1092ce39d1ffad821699393e8c7f0591c701cd617f8302b44b1b6d8683
ISBN 1439860882
9781439860885
IngestDate Tue Oct 21 07:59:46 EDT 2025
Fri Mar 28 05:22:44 EDT 2025
IsPeerReviewed false
IsScholarly false
Keywords Control Flow Graph
Lexical Analyzer
Start State
Context Free Grammar
Dollar Sign
String Literals
Register Allocation
Lexical Syntax
Lexical Grammar
Semi
Input Symbol
State Transition Diagram
Regular Expression
White Space
Reserved Words
Common Sub-expression Elimination
Non-final States
Deterministic Finite State Automaton
Integer State
Java Language Specification
Java World
Single Line Comments
LCCallNum QA76.73.J38
Language English
LinkModel OpenURL
MergedId FETCHMERGED-LOGICAL-i1066-e6984ab1092ce39d1ffad821699393e8c7f0591c701cd617f8302b44b1b6d8683
OCLC 890379622
PQID EBC1648283_9_56
PageCount 30
ParticipantIDs proquest_ebookcentralchapters_1648283_9_56
informaworld_taylorfrancisbooks_10_1201_9781482215076_8_version2
PublicationCentury 2000
PublicationDate 2013
2012
PublicationDateYYYYMMDD 2013-01-01
2012-01-01
PublicationDate_xml – year: 2013
  text: 2013
PublicationDecade 2010
PublicationPlace United Kingdom
PublicationPlace_xml – name: United Kingdom
PublicationTitle Introduction to Compiler Construction in a Java World
PublicationYear 2013
2012
Publisher Chapman and Hall/CRC
CRC Press LLC
Publisher_xml – name: Chapman and Hall/CRC
– name: CRC Press LLC
SSID ssj0001180609
ssib056455897
Score 1.4080237
Snippet 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, ;,...
SourceID proquest
informaworld
SourceType Publisher
StartPage 55
SubjectTerms Computer architecture & logic design
Computing: general
Programming & scripting languages: general
Title Lexical Analysis
URI https://www.taylorfrancis.com/books/9780429067747/chapters/10.1201/9781482215076-8
http://ebookcentral.proquest.com/lib/SITE_ID/reader.action?docID=1648283&ppg=56&c=UERG
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwtV3dS8MwEA9j-iA-zE-cX-zBJ6XYtF2bvoiom5-oiIpvJUlTLM4qU-b8771rkrlNQUR8KaW0aXt3ubvcXX5HyAbPhAx4ill_2XQCKXyHe00Oa56IS1CGaVoiMd2eRefn7O4uvqxUduxemF4nKgrW78fP_8pquAbMxq2zv2D3YFC4AOfAdDgC2-E45hGPxl5tDaGGcEWugluJ0x3mfbdszGmhYjHGwbdOeI_rWppv8xB5Z1B7cfxuunO98cd8ICEPgnecAwXrbb0nbI_f8-6wBJ6pvpYAg3syHGDAZg8jAQazD6LMZRxx_Ib2_pXFm9TLUMQS9dCzHFaFGn3XGtXgW3XtlW0CRkZw2KdlGtQL4koF7k1G7kxY0tMxRTDBE5hBZlUycdi6uDm1GgWhcprM5EnLqBtlbujGBuMJhtwee_kYYu0XC126HdczZBq3ojSQNvCds6SiijlSs404GkYvz5OaIXXDknqB3LRb1_tHjml14eSwJg8dFcYs4IK6sSeVH6c0y3jKPBqC-xj7iskoAz-YysilMgWnM0PYNhEEgoowZSHzF0m1eCrUEmko31Opol6EKVZFXSEUWDwq3EgJ8N1lnewO_2HyWkaGMt3GBQX3JfmJ3HWyaamSlDl9U0gsNTlggBAeY34SJ81w-e_vWyFTn4K5SqowXdQamZS91_ylu254_gHNCF7r
linkProvider ProQuest Ebooks
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.title=Introduction+to+Compiler+Construction+in+a+Java+World&rft.au=Campbell%2C+Bill&rft.au=Iyer%2C+Swami&rft.au=Akbal-Delibas%2C+Bahar&rft.atitle=Lexical+Analysis&rft.date=2013-01-01&rft.pub=Chapman+and+Hall%2FCRC&rft.isbn=9781482215076&rft.spage=55&rft.epage=84&rft_id=info:doi/10.1201%2F9781482215076-8&rft.externalDocID=10_1201_9781482215076_8_version2
thumbnail_s http://cvtisr.summon.serialssolutions.com/2.0.0/image/custom?url=https%3A%2F%2Febookcentral.proquest.com%2Fcovers%2F1648283-l.jpg