Just following the lesson from http://www.buildyourownlisp.com On mac, compile with: $ cc -std=c99 -Wall main.c mpc.c -ledit -o main