psi-lang

Crates.iopsi-lang
lib.rspsi-lang
version0.3.0
sourcesrc
created_at2021-02-18 22:38:26.7259
updated_at2021-02-18 22:38:26.7259
descriptionA language for configuration and extension
homepagehttps://github.com/curlpipe/psi
repositoryhttps://github.com/curlpipe/psi
max_upload_size
id357251
size54,818
Luke (curlpipe)

documentation

README

Ψ 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}")
Commit count: 25

cargo fmt