-
Notifications
You must be signed in to change notification settings - Fork 0
Home
RandomMaerks edited this page Feb 25, 2026
·
19 revisions
Welcome to the official wiki of the Piège programming language!
Piège /ˈpɪ.eʒ/ is an interpreted language used to compute various sorts of mathematical operations, ranging from basic arithmetics to matrix operations. Piège files have the .piege file extension.
To run Piège code, you can use the official Python interpreter, Piègeur, found in this repository.
- Added more options to type
graphandquantity/magnitudeof functionVISUAL
- Removed instructor calls
io{}andop{} - Changed function syntaxes (eg.
do[]toDO), basically capitalised all function names and removed square brackets - Removed
getIndex[] - Changed argument syntaxing for certain functions (eg.
output[directory; "a.txt"];toOUTPUT directory = "a.txt") - Changed
ignoreIndex[]toIGNORE, or two character indices for one line index
- Added function
visual[]for data visualisation
- Added
meanAbsDev(),medianAbsDev(),modeAbsDev()operators for thedo[]function
- Added
neg()for thedo[]function - Added 16 statistical operators for the
do[]function - Added
angle()for thedo[]function - Changed parameters for all vector operators in
do[] - Added
dist()for thedo[]function
- Added 2 randomiser operators
rand()andrandInt()for thedo[]function - Added sign operator
sign()for thedo[]function - Removed argument
typefor theinput[]function
- Added 24 trigonometric & hyperbolic operators for the
do[]function - Added
lenVect(),exp(), andln()operators for thedo[]function - Removed 2 data types for the
do[]function:matrix,vector
- Released documentation to GitHub
- Added functions:
io{},op{},input[],output[],do[],solve[],return[],deleteVar[],getIndex[],setCursor[],moveCursor[],loop[],ignoreIndex[],endCode[]
The wiki references version 2.1 (25 February, 2026) of the Piège programming language.
Due to a change in syntaxes, any version prior to 2.0 is completely incompatible with the latest version.