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
187 views
1 answer
Menu-driven in prolog
Prolog
2 votes
198 views
1 answer
Prolog assert
Prolog
0 vote
183 views
1 answer
Prolog if
Prolog
0 vote
182 views
1 answer
Full adder in prolog
Prolog
0 vote
186 views
1 answer
Translate( 1 2 9 one two nine ) prolog programming
Prolog
Share