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
Javier Gonzalez-Sanchez
PRO
December 08, 2023
Programming
170
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
Transcript
10 slides
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.
More Decks by Javier Gonzalez-Sanchez
See All by Javier Gonzalez-Sanchez
CSC310 Lecture 27
javiergs
PRO
0
23
CSC310 Lecture 21
javiergs
PRO
0
32
CSC510 Lecture 26
javiergs
PRO
0
45
CSC310 Lecture 20
javiergs
PRO
0
45
CSC510 Lecture 25
javiergs
PRO
0
46
CSC310 Lecture 19
javiergs
PRO
0
38
CSC310 Lecture 17
javiergs
PRO
0
40
CSC310 Lecture 18
javiergs
PRO
0
34
CSC310 Lecture 16
javiergs
PRO
0
34
Other Decks in Programming
See All in Programming
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
310
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
110
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
350
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
490
Crash Auto Pipelines
veronikapj
1
430
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
270
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
160
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
250
imagewebp()の向こう側: WebPはなぜ JPEG・PNGより軽いのか
yuzneri
0
130
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
2
190
エラーチャンネルのボールを拾い続けて鍛えるエンジニアの地力 / phpcon-niigata2026
meihei3
1
440
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
150
Featured
See All Featured
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
810
Believing is Seeing
oripsolob
1
280
Highjacked: Video Game Concept Design
rkendrick25
PRO
2
580
Six Lessons from altMBA
skipperchong
29
4.6k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
48k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
680
Test your architecture with Archunit
thirion
2
2.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k