Get the latest tech news

Recreational programming: Tacit programming in Prolog


Nothing serious, I just find it interesting. main(R) :- phrase(main, [1,2,3|S], [R|S]). % Look! No variables! main --> mul, add, is_, dup, pi, sub, swp, pow, abs, is_. pop --> [_]. dup, [A,A] --> [...

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Prolog

Prolog

Photo of Tacit programming

Tacit programming

Photo of Tacit

Tacit

Related news:

News photo

Plwm – An X11 window manager written in Prolog

News photo

Prolog's Eternal September (2017)

News photo

How to Average in Prolog (2017)