Skip to content

slavikovbasa/SimpleRustCompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

5 semester System Programming 2 CourseWork - Simple Rust compiler

Subset of a Rust programming language syntax, including arithmetic and logic operations, control constructions and loops, is compiled via next stages:

  1. Lexer, implemented as a seperate module.
  2. Parser, implemented as a recursive descent parser in a seperate module.
  3. Semantic analysis, which is performed in a parsing module during AST building.
  4. Code generator, which does its work in a Main class, during AST traverse.

Input and output file names are passed as command-line arguments to the program.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages