Skip to content

This is a Syntax Analyzer which can parse Jack programmes in accordance with the Jack language and generate an XML file .

Notifications You must be signed in to change notification settings

annapoorna-a-k/SYNTAX-ANALYZER-using-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Syntax-Analyzer-using-Java

This project is based on Syntax Analyzer. It is a part of the compiler which converts Jack language into VM code. A Syntax Analyzer can parse Jack programmes in accordance with the Jack language and generate an XML(extensible markup language) file that uses marked-up text to display the program's structure.

This syntax analyzer has mainly three modules:

1.JackAnalyzer.java which is the top-most/ main module that drives the process.

2.JackTokenizer.java which converts the jack program into a list of tokens.

3.CompilationEngine.java or parser verifies that the string can be the grammar for the source language. It detects and reports any syntax errors and produces a parse tree from which intermediate code can be generated.

About

This is a Syntax Analyzer which can parse Jack programmes in accordance with the Jack language and generate an XML file .

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages