Team Lead: Palak
This repository contains the frontend structure of our Mini Compiler project.
Each team member uploads work only in their assigned folders.
The structure is modular and organized for easy integration and testing.
src/
│
├── 1-language-spec/
│ Language specification files (Sonali)
│
├── 2-lexer/
│ Lexer implementation in C++
│ Generates tokens_output.txt
│
├── 3-parser/
│ Parser implementation in C++
│ Generates parse_output.txt
│
├── 4-lexer-testing/
│ Lexer test cases and invalid program checks
│
├── 5-parser-testing/
│ Parser test cases and syntax validation
│
└── README.md
Sonali
- Defines keywords, operators, symbols
- Provides sample programs
- Uploads: language_spec.txt, specification PDF
- Folder:
src/1-language-spec/
Palak
- Writes
lexer.cpp - Implements token generation
- Produces
tokens_output.txt - Folder:
src/2-lexer/
Ujjawal
- Tests lexer using valid & invalid programs
- Maintains token test cases
- Reports lexical errors
- Folder:
src/4-lexer-testing/
Sooryanshi
- Writes
parser.cpp - Implements recursive descent parsing
- Generates
parse_output.txt - Folder:
src/3-parser/
Vidushi
- Designs grammar along with parser developer
- Tests parser with valid + invalid syntax cases
- Reports grammar/syntax issues
- Folder:
src/5-parser-testing/
- Upload files only inside your assigned folder.
- Do not change other team folders.
- Use clear and meaningful commit messages.
- Maintain clean and commented code.
- Main branch remains stable.
Compile: