Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 711 Bytes

File metadata and controls

33 lines (20 loc) · 711 Bytes

Java syntax validator using PLY tools (python)


A Syntax validator made for the language Java using python PLY (Python lex/yacc) tools.


Requirements:

python lex/yacc tools - PLY

pip install ply

Constructs worked on:

  1. Simple Variable Declaration
  2. Conditional construct --> nested if
  3. Looping construct --> while
  4. Looping construct --> do..while
  5. Function definition

Reference links:

Learn Lexing

Learn Parsing