Skip to content

RandomMaerks/Piege

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Piège

Repo for the Documentation and the Python interpreter

Piègeur v0.1.5 | Piège v1.1


Preamble

This is the official repository for the Documentation of the Piège programming language, as well as the Python interpreter Piègeur and math library.

Piège /ˈpɪ.eʒ/ is a mathematically-focused interpreted language which is used to compute various sorts of mathematical operations. Piège files have the .piege file extension. Check the wiki for more details.

Piègeur /pɪ.ˈe.ʒœ/ is the official Python interpreter for Piège, which is the piegeur.py file. The interpreter also uses mathPiege.py as a custom-made library for math operations. Note that all input values will be converted to float.

Small warning: The interpreter and the language itself are made by me, an extremely nooby programmer. Tinker around, have fun, and please don't use these things in actual projects. You're also welcome to give feedback and make changes if necessary.

How to use Piègeur

The latest version of Piègeur (v0.1.5) only comes with 2 files:

  • piegeur.py file for code interpreting
  • mathPiege.py as a library for math operators and comparison operators

In the future, I might create an IDE program or a web version. But for now, let's stick with what we have.

To use the interpreter, download the source code from the latest version in the Release page. Make sure Python is installed (preferably version 3.14 or later).

Create a .piege file with any name in the same directory as the interpreter. This is where your Piège code will go.

When you're finished with the code, run piegeur.py. The output will go to a file in the specified directory or the Python program itself, depending on how you set up the I/O instructor.

About

Repo for the Piège programming language and its Python interpreter, Piègeur

Topics

Resources

License

Stars

Watchers

Forks

Languages