Skip to content

ismailen0/compiler-pinky

Repository files navigation

Pinky — A Toy Programming Language and Compiler in Python

Official website: https://pinky-lang.org/

Pinky is a small programming language and compiler in Python.
It was developed as part of a self study on compiler construction and programming language design following the course of Gustavo Pezzi (Compilers, Interpreters & Formal Languages ).

Motivation

Compilers and programming languages are an essential part of computer science. Most developers use programming languages every day but only a few have a deep understanding of how they actually work. My motivation was to have a solid understanding about compiler theory and programming language design so that I can have a different perspective on how softwares operate.

Differences:

1: Using ! Instead of ~

When designing the syntax for this project, I chose to use ! for logical negation instead of ~ because it is conventionally more intuitive.

2: Using = Instead of :=

(assign) for the same reason of [1(! Instead of ~)]


MIT License

Copyright (c) 2025 ismail Döndü

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

https://pinky-lang.org/ compiler that is written in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors