Questions Columns Rows
GitHub icon

Picat

Picat - Programming language

< >

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

#1575on PLDB 11Years 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 · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Stats · Sponsor · Traffic · Traffic Today · Day 277 · feedback@pldb.com · Logout