1 logtalk comment /* test file for Logtalk parsing */
3 logtalk comment % this is a Logtalk source file
5 logtalk code :- object(hello_world).
7 logtalk comment % the initialization/1 directive argument is automatically executed
8 logtalk comment % when the object is loaded into memory:
9 logtalk code :- initialization((nl, write('********** Hello World! **********'), nl)).
11 logtalk code :- end_object.