Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

Picat

Picat - Programming language

< >

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

#1500on PLDB 11Years Old 0Books
0Papers


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
mscgen.html · picat.html · explorer.html

View source

- Build the next great programming language · Search · Day 213 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com