Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 737 Bytes

File metadata and controls

21 lines (13 loc) · 737 Bytes

⏾⋆.˚ 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