Skip to content

Comment on Rethinking Prologparent

Comments

I finally got a hello world program that works like I expect it would, here's hello.pl

  main :- write('This is a sample Prolog program'),
      write('\nThis program is written into hello.pl file').
  
  ?- main.
  ?- halt.

That shouldn't have taken 35 years. ;-)

Tells more about you than about Prolog.

Ok lay it on me

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.