Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
UP Lecture 05
Search
Javier Gonzalez-Sanchez
PRO
December 08, 2023
Programming
0
140
UP Lecture 05
Compilers
Test Cases for Lexical Analysis
(202402)
Javier Gonzalez-Sanchez
PRO
December 08, 2023
Tweet
Share
More Decks by Javier Gonzalez-Sanchez
See All by Javier Gonzalez-Sanchez
CSC364 Lecture 09
javiergs
PRO
0
81
CSC307 Lecture 09
javiergs
PRO
1
830
CSC307 Lecture 08
javiergs
PRO
0
670
CSC364 Lecture 08
javiergs
PRO
0
31
CSC307 Lecture 07
javiergs
PRO
0
550
CSC364 Lecture 07
javiergs
PRO
0
91
CSC307 Lecture 06
javiergs
PRO
0
680
CSC364 Lecture 06
javiergs
PRO
0
79
CSC307 Lecture 05
javiergs
PRO
0
500
Other Decks in Programming
See All in Programming
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
450
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
今から始めるClaude Code超入門
448jp
8
8.6k
Implementation Patterns
denyspoltorak
0
280
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.2k
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
Data-Centric Kaggle
isax1015
2
770
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
dchart: charts from deck markup
ajstarks
3
990
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
98
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
90
Designing for Timeless Needs
cassininazir
0
130
GraphQLとの向き合い方2022年版
quramy
50
14k
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
The Cult of Friendly URLs
andyhume
79
6.8k
New Earth Scene 8
popppiees
1
1.5k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Transcript
jgs Compilers Lecture 05: Test Cases for Lexical Analysis Dr.
Javier Gonzalez-Sanchez
[email protected]
jgs Announcements
Dr. Javier Gonzalez-Sanchez | Compilers | 3 jgs Announcements Lunes
y Miercoles 8:30 a 10 pm Primer Examen Parcial (25 de Febrero) Marzo 10 regresamos: Martes y Jueves 6:00 a 8:30 pm
Dr. Javier Gonzalez-Sanchez | Compilers | 4 jgs Key Ideas
Lexical Alphabet Symbol String Word Token Rules Regular Expression Deterministic Finite Automata
jgs Test Cases
Dr. Javier Gonzalez-Sanchez | Compilers | 6 jgs Review |
Lexical Analysis Are the following STRINGS correct or not? Why? ▪ 000000005 ▪ 000000009 ▪ 000000009.1 ▪ 000000005 ▪ 000000005.1 ▪ 0x0000002 ▪ 0123456789
Dr. Javier Gonzalez-Sanchez | Compilers | 7 jgs Review |
Lexical Analysis Are the following STRINGS correct or not? Why? ▪ 1.2e---3++ ▪ $50 ▪ float ________________ = 5; ▪ double x = 000000.1; ▪ '''a' ▪ '\''b' ▪ '\'b'
Dr. Javier Gonzalez-Sanchez | Compilers | 8 jgs Review |
Lexical Analysis Are the following STRINGS correct or not? Why? ▪ " \\\\\\\\\\a" ▪ "Hello""world" ▪ abc"Hello" ▪ ''' ▪ '\x' ▪ '\a' ▪ '\w' ▪ "\\\” ▪ '\\\'
Dr. Javier Gonzalez-Sanchez | Compilers | 9 jgs Questions
jgs Compilers Javier Gonzalez-Sanchez, Ph.D.
[email protected]
Spring 2024 Copyright. These
slides can only be used as study material for the Compilers course at Universidad Panamericana. They cannot be distributed or used for another purpose.