Skip to content

tejasgowrish/Perl-Syntax-Validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Perl Syntax Validator

A basic syntax validation tool for Perl programming language.

Validation of basic programming constructs -

  • Variable assignment (integer, float, string)
  • Looping constructs (while, for)
  • conditional statements (if, if-else)

Language: Python
Libraries: PLY (Python Lex-Yacc)

Files in this repo:

  • validation_lex.py : defines all tokens
  • validation_yacc.py : defines grammars for the aforementioned programming constructs

Functionality:

  • Allows users to enter syntax
  • Throws error if entered syntax is invalid

About

A syntax validator for the basic constructs of Perl programming language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages