Giter Site home page Giter Site logo

compiler-project-section-d's Introduction

Compiler Design Project: Syntax Analysis, Function Verification, and Type Checking from a .txt File


C++ ย CLion

About This Project

This project centers on enhancing code reliability and correctness by conducting syntax analysis, function verification, and type checking. By parsing source code from a .txt file, we identify syntax errors early, preventing runtime issues. Function verification ensures accurate function usage, minimizing logical errors. Comprehensive type checking confirms data type compatibility, reducing type-related bugs.

The project employs formal grammar and programming language theory to define rules for valid syntax and behavior. We use efficient data structures like abstract syntax trees (ASTs) and algorithms such as recursive descent parsing for accurate analysis. Error reporting and feedback mechanisms provide developers with precise information for effective debugging.

Extensive testing with diverse scenarios ensures the system's accuracy and performance. In conclusion, our project offers a versatile tool for programmers to enhance code quality and reliability by addressing syntax, function, and type-related concerns, all derived from a simple .txt file input.

COURSE DESCRIPTION CSC 3220

Click to More about Course
  • Introductory concepts and Phases of compiler
  • Lexical Analyzing; Introduction to FLEX
  • Syntax Analyzing; Parsing; Syntax Directed Translation and Type checking
  • Syntax Directed Translation and Type checking
  • Introduction to YACC or BISON
  • Storage allocation strategies
  • Code Optimization

Quick Overview - Setup & Run

Need to Download:
CLion or Code::Blocks or C++ Compilers: MinGW / GCC
Any Text Editor

Step - 1

Download or Clone

git clone https://github.com/thesanjida/compiler-project-section-d

Step - 2

Goto folder compiler-project-section-d

Step - 3

open project via any IDE or complier

Step - 4

open input.txt on any text editor and write C++ syntax

Language - Tools - Technology

Language Version Tools & Technology
C++ 17 CLion

Note

  • This project is very basic, using C++ Library files

  • Sometimes might be crash or error

- Thank You.

compiler-project-section-d's People

Contributors

thesanjida avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.