A simplified Pascal compiler developed in Python, as part of an academic project at the Universidad Nacional del Comahue.
This repository aims to build a compiler for a simplified version of the Pascal programming language, focusing on clarity, structure, and incremental development.
Rather than covering the full complexity of Pascal, this project adopts a well-defined subset that preserves its core concepts while remaining approachable from an implementation standpoint. The compiler is designed to evolve step by step, with each stage developed and organized independently.
The supported subset of Pascal includes the following elements:
- Basic types:
integer,boolean - Declarations: variables, procedures, and functions
- Control structures:
if,while - Input / Output:
read,write - Expressions: relational, arithmetic and logical operations
This selection provides a representative model of the language, suitable for exploring compiler construction techniques.
This work is part of a university-level project in Computer Science, developed with the objective of gaining practical experience in:
- Formal language specification
- Compiler design principles
- Implementation of language processing tools
Β© 2026 Lucas Margni, Nicanor Fernandez. All rights reserved.
This project is provided for academic and educational purposes only. No part of this repository may be reproduced, distributed, or used for commercial purposes without explicit permission from the authors.