devmingle
Home
Categories
Popular Codes
Articles
/
Prolog
/
Hello world prolog
Hello world prolog
Hello world prolog
$ cat hello.pl :- initialization(main). main :- write('Hello World!'), nl, halt. $ gplc hello.pl $ ./hello Hello World!
0
Source:
ingrom.com
Hello world prolog
> ./hw Hello, world! >
-1
Source:
stackoverflow.com
Share
Similar codes
0 vote
194 views
1 answer
Prolog if
Prolog
0 vote
197 views
1 answer
Full adder in prolog
Prolog
0 vote
199 views
1 answer
Menu-driven in prolog
Prolog
2 votes
212 views
1 answer
Prolog assert
Prolog
0 vote
198 views
1 answer
Translate( 1 2 9 one two nine ) prolog programming
Prolog
Share