Upgrade to Pro — share decks privately, control downloads, hide ads and more …

UP Lecture 07

UP Lecture 07

Compilers
Lexer Deployment
(202402)

Javier Gonzalez-Sanchez

December 10, 2023
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. Dr. Javier Gonzalez-Sanchez | Compilers | 3 jgs Do not

    forget 2 students without GitHub Classroom 2 teams without trying a submission
  2. Dr. Javier Gonzalez-Sanchez | Compilers | 4 jgs Exam 01

    Tuesday Feb 18 (5 to 6.30 pm) Blackboard – Online but Synchronous No lecture; solve your exam.
  3. Dr. Javier Gonzalez-Sanchez | Compilers | 9 jgs Class Lexer

    B,b 0 1 .. . Delimiter, operator, whitespace, quotation mark S0 SE S1 SE SE Stop S1 S2 SE SE SE Stop S2 SE S3 S3 SE Stop S3 SE S3 S3 SE Stop SE SE SE SE SE Stop
  4. Dr. Javier Gonzalez-Sanchez | Compilers | 12 jgs Review |

    Lexical Analysis Are the following STRINGS correct or not? Why? ▪ 000000005 ▪ 000000009 ▪ 000000009.1 ▪ 000000005 ▪ 000000005.1 ▪ 0x0000002 ▪ 0123456789
  5. Dr. Javier Gonzalez-Sanchez | Compilers | 13 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'
  6. Dr. Javier Gonzalez-Sanchez | Compilers | 14 jgs Review |

    Lexical Analysis Are the following STRINGS correct or not? Why? ▪ " \\\\\\\\\\a" ▪ "Hello""world" ▪ abc"Hello" ▪ ''’ ▪ '\x’ ▪ ’\a' ▪ ’\w’ ▪ "\\\"
  7. jgs Compilers Javier Gonzalez-Sanchez, Ph.D. [email protected] Spring 2025 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.