Skip to content

MohamedBakrAli/Java-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Three Phase Compiler

Phase 1: (Lexical Analyzer)

  • This phase of the project aims to build automatic lexical analyzer generator tools.
  • This tool has two input files, one for lexical rules and the other for user input.
  • The output of this tool is a list of tokens which matches the user's input file.

Phase 2: (Syntax Analyzer – Parser -)

  • This phase of the project aims to build automatic parser generator tools.
  • This tool has two inputs, one is the context free grammar as input file, and the other is the output of phase one -stream of tokens-
  • The output of this tool is the left most derivation for deriving the input tokens.

Phase 3: (Byte Code Generation)

  • This phase of the project aims to practice techniques of constructing semantics rules to generate intermediate code.
  • This tool has one input, the java code.
  • The output of this tool is the java byte code.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Developing a Lexical Analyzer, Parser, Semantic Analysis, and Code Generation for a compiler.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors