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
CSC510 Lecture 26
javiergs
PRO
0
28
CSC310 Lecture 20
javiergs
PRO
0
32
CSC510 Lecture 25
javiergs
PRO
0
43
CSC310 Lecture 19
javiergs
PRO
0
24
CSC310 Lecture 17
javiergs
PRO
0
34
CSC310 Lecture 18
javiergs
PRO
0
24
CSC310 Lecture 16
javiergs
PRO
0
28
CSC510 Lecture 24
javiergs
PRO
0
34
CSC310 Lecture 15
javiergs
PRO
0
35
Other Decks in Programming
See All in Programming
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
16
9.1k
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
160
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
310
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
5.5k
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.3k
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.7k
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
130
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
2
120
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
Next.js: The final boss of Web Performance
guaca
0
400
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
320
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
Featured
See All Featured
The SEO identity crisis: Don't let AI make you average
varn
0
630
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
4 Signs Your Business is Dying
shpigford
187
23k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
630
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
370
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
A designer walks into a library…
pauljervisheath
211
25k
Deep Space Network (abreviated)
tonyrice
0
410
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470