Compilation


You can compile this with the same command as was used in the second chapter.

  1. cc -std=c99 -Wall prompt.c -o prompt

After compiling this you should try to run it. You can use Ctrl+c to quit the program when you are done. If everything is correct your program should run something like this.

  1. Lispy Version 0.0.0.0.1
  2. Press Ctrl+c to Exit
  3. lispy> hello
  4. No you're a hello
  5. lispy> my name is Dan
  6. No you're a my name is Dan
  7. lispy> Stop being so rude!
  8. No you're a Stop being so rude!
  9. lispy>