Picat is an actively used programming language created in 2012.

8Years Old ?Users ?Jobs

Example code 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.

Last updated August 9th, 2020

Edit Picat on GitHub