Top 1,000 Features Creators Resources Blog Explore Download
GitHub icon

Picat

< >

Picat is a programming language created in 2012 by Neng-Fa Zhou and Jonathan Fruhman.

#1750on PLDB 12Years Old


Example from the web:
import util. input_data(Tri) => Lines = read_file_lines("triangle.txt"), Tri = new_array(Lines.length), I = 1, foreach(Line in Lines) Tri[I] = Line.split().map(to_integer).to_array(), I := I+1 end.
Example from hello-world:
main => println("Hello World").

Language features

Feature Supported Token Example
Strings ✓ "
"Hello world"
Print() Debugging ✓ println

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 624 · feedback@pldb.io