Lexical And Syntactical Analysis

  • April 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Lexical And Syntactical Analysis as PDF for free.

More details

  • Words: 103
  • Pages: 1
Implementation of SS – Teaching Activity Lexical and Syntactical Analysis Private Sub cmdPlay_Click () Dim Password As String IF txtPassword.Text <> "hello" THEN Do MsgBox "Invalid Password, try again!", , "Login" Password = InputBox("Enter Your Password") LOOP UNTIL Password = "hello" MsgBox "Login Successful!", , "Login" Me.Hide frmMain.Show ELSE MsgBox "Login Successful!", , "Login" Me.Hide rmMain.Show END IF End Sub

Activity 1. Construct a token table that will identify the programming structures evident within Visual Basic. 2. Construct a lexical analysis to change the code into tokens. 3. Construct a parse tree on the IF-THEN-ELSE statement to determine if it is syntactically correct.

Related Documents

Lexical Analysis
June 2020 9
Lexical Analysis
July 2020 7
Lexical Analysis 2008
November 2019 10
Lexical Chaining
June 2020 12
Bible Lexical 2
May 2020 4