Skip to content

lucasmargni/mini-pascal-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mini Pascal Compiler

A simplified Pascal compiler developed in Python, as part of an academic project at the Universidad Nacional del Comahue.

πŸ“˜ About the Project

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.

βš™οΈ Language Scope

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.

πŸŽ“ Academic Context

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

πŸ‘₯ Authors

lucasmargni nicaFernandez12

πŸ“œ License

Β© 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.

About

Creating a compiler of a simplified version of Pascal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors