Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Syntax validation of a programming language by writing the Context Free Grammar for the specific construct of a particular language and a program for the same.

Notifications You must be signed in to change notification settings

Prajna-Ramamurthy/Syntax-Validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

Syntax-Validation

Syntax validation of a programming language by writing the Context Free Grammar for the specific construct of a particular language and a program for the same.

Language: Python

Construct: if else

Syntax: if (condition) : statements else : statements

Context Free Grammar: statement : if expression : statement | if expression : statement else : statement | id assignment_op expression | statement expression: expression logical_op expression | expression arithmetic_op expression | expression | id | value logical_op : > | < | >= | <= | == | != | or | and assignment_op : = | += | -= | *= | /= |
arithmetic_op : + | - | * | /

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /