Skip to content

oliviaa28/Custom-Programming-Language---Compiler

Repository files navigation

⏾⋆.˚ Custom Programming Language ˙⋆✮

A small programming language and compiler implemented using Bison/YACC and C++ as part of a Compiler Design project.

The language supports basic programming constructs such as:

  • primitive data types (int, float, string, bool)
  • classes and objects
  • arithmetic and boolean expressions
  • control structures (if, while)
  • functions and a predefined Print(expr) operation

The compiler performs syntax analysis, semantic checks and expression evaluation using Abstract Syntax Trees (AST) and symbol tables for different scopes (global, class and function).


⚙️ Technologies

C++ • Bison/YACC • AST • Symbol Tables • Compiler Design


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors