Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
UP Lecture 05
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Javier Gonzalez-Sanchez
PRO
December 08, 2023
Programming
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
UP Lecture 05
Compilers
Test Cases for Lexical Analysis
(202402)
Javier Gonzalez-Sanchez
PRO
December 08, 2023
More Decks by Javier Gonzalez-Sanchez
See All by Javier Gonzalez-Sanchez
CSC510 Lecture 15
javiergs
PRO
0
17
CSC510 Lecture 13
javiergs
PRO
0
13
CSC510 Lecture 14
javiergs
PRO
0
25
CSC310 Lecture 09
javiergs
PRO
0
23
CSC510 Lecture 12
javiergs
PRO
0
49
CSC510 Lecture 11
javiergs
PRO
0
39
CSC310 Lecture 08
javiergs
PRO
0
30
CSC310 Lecture 07
javiergs
PRO
0
39
CSC510 Lecture 10
javiergs
PRO
0
33
Other Decks in Programming
See All in Programming
Simple Storage Service(S3) is not simple
iwatsukayura
0
210
Rでドレミ/Do-Re-Mi_with_R
florets1
0
120
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
190
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
340
setup-vp GitLab対応の裏側
naokihaba
0
150
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
160
phperだってパンチカードでコーディングしたい
o0h
PRO
0
220
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
7
1.9k
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
450
プロダクトコードからライブラリの境界を見つける
elmetal
PRO
0
110
Are APIs Still Relevant in the AI Era?
soyuka
0
420
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
340
Featured
See All Featured
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
490
GraphQLとの向き合い方2022年版
quramy
50
15k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
For a Future-Friendly Web
brad_frost
183
10k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.1k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
The Limits of Empathy - UXLibs8
cassininazir
1
700
Optimising Largest Contentful Paint
csswizardry
37
4k
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.