Skip to content

The Frontend part of a compiler including the scanner, parser and semantic analysis.

Notifications You must be signed in to change notification settings

JensCheung/Frontend-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend-Compiler

The Frontend part of a compiler including the scanner, parser and semantic analysis.

Scanner

Takes json input to create tokens that are used by the parser

Parser

Takes the tokens and create a parse tree. The indentation is based on the depth of the element
for example an array will have depth 1 and it's elements depth of 2

Semantic analysis

The "rules" for the language, check mechanisms for syntax errors, values such as ".23" or opening bracket without a closing bracket.

About

The Frontend part of a compiler including the scanner, parser and semantic analysis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages