1 unstable release
0.3.0 | Feb 18, 2021 |
---|
54KB
1.5K
SLoC
Ψ PSI: Portable scripting interface
A minimal, sensible, scripting language for configuring, extending and controlling your application.
Example
/*
A demonstration of the PSI language
This file is using 0.3.0
*/
// Define PI
pi = 3.141592
// Define a radius
radius = 5
// Calculate the area and circumference of the circle
area = pi * radius ^ 2
circumference = pi * (radius * 2)
// Print out the results
print("A circle with a radius {radius} has an area of {area} and a circumference of {circumference}")
Dependencies
~4.5MB
~98K SLoC