Assignment: #MakeHelloWorld3 Due: 12/01/2017 Points: 2

Specification

Write a Lisp program that when compiled and executed prints to the standard output stream the code for a Prolog program that when executed prints to the standard output stream the phrase 'hello, world' from YOUR_NAME_HERE followed by a newline.

Example using the command-line of an assignment subitted by student Zelmo Zeroman. Zelmo named his Lisp file hw3.lisp.

   prompt:  edit hw3.lisp
   prompt:  clisp -c hw3.lisp
   prompt:  clisp hw3 >hw.pl
   prompt:  gprolog
   | ?- [hw].
   compiling /home/gdt/prolog/hw.pl for byte code...
   /home/gdt/prolog/hw.pl compiled, 10 lines read - 355 bytes written, 18 ms
   'hello, world' from Zelmo Zeroman

The generated hw.pl file must contain a file comment block that contains the following.

   This Prolog program prints to the standard output stream the phrase 
   'hello, world' from MY_NAME followed by a newline to the standard 
   output stream. 

   @creator YOUR_FULL_NAME_GOES_HERE
   @generated YYYYY.MM.DD_FORMATTED_DATE_GOES_HERE

The output of hw.pl (when compiled and interpreted) by 'A' student Edith Foogooman should look like the following.

   %
   % This Prolog program prints to the standard output stream the phrase 
   % 'hello, world' from Edith Foogooman followed by a newline to the 
   % standard output stream. 
   %
   % @creator Edith Foogooman
   % @generated 02016.11.18
   %

   :- initialization(main).
   main :- % Edith replaced this comment with her one line of code