Skip to content

Instantly share code, notes, and snippets.

Jason Pepas cellularmitosis

Block or report user

Report or block cellularmitosis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cellularmitosis
cellularmitosis / Makefile
Last active Jan 13, 2020
A Lisp interpreter in C, part 9: nil and bool
View Makefile
CC=gcc -g -std=c99 -Wall -Werror -D_POSIX_C_SOURCE=200809L
lisp: main.o forms.o reader.o eval.o printer.o repl.o
$(CC) -o lisp *.o
main.o: main.c
$(CC) -c main.c
forms.o: forms.h forms.c
$(CC) -c forms.c
@cellularmitosis
cellularmitosis / Makefile
Last active Jan 13, 2020
A Lisp interpreter in C, part 15: lambda
View Makefile
CC=gcc -g -std=c99 -Wall -Werror -D_POSIX_C_SOURCE=200809L
lisp: main.o forms.o reader.o eval.o printer.o repl.o builtins.o
$(CC) -o lisp *.o
main.o: main.c
$(CC) -c main.c
forms.o: forms.h forms.c
$(CC) -c forms.c
@cellularmitosis
cellularmitosis / Makefile
Last active Jan 13, 2020
A Lisp interpreter in C, part 14: scope (a.k.a let)
View Makefile
CC=gcc -g -std=c99 -Wall -Werror -D_POSIX_C_SOURCE=200809L
lisp: main.o forms.o reader.o eval.o printer.o repl.o builtins.o
$(CC) -o lisp *.o
main.o: main.c
$(CC) -c main.c
forms.o: forms.h forms.c
$(CC) -c forms.c
@cellularmitosis
cellularmitosis / Makefile
Last active Jan 13, 2020
A Lisp interpreter in C, part 13: if and cond
View Makefile
CC=gcc -g -std=c99 -Wall -Werror -D_POSIX_C_SOURCE=200809L
lisp: main.o forms.o reader.o eval.o printer.o repl.o builtins.o
$(CC) -o lisp *.o
main.o: main.c
$(CC) -c main.c
forms.o: forms.h forms.c
$(CC) -c forms.c
@cellularmitosis
cellularmitosis / Makefile
Last active Jan 13, 2020
A Lisp interpreter in C, part 12: quote
View Makefile
CC=gcc -g -std=c99 -Wall -Werror -D_POSIX_C_SOURCE=200809L
lisp: main.o forms.o reader.o eval.o printer.o repl.o builtins.o
$(CC) -o lisp *.o
main.o: main.c
$(CC) -c main.c
forms.o: forms.h forms.c
$(CC) -c forms.c
@cellularmitosis
cellularmitosis / Makefile
Last active Jan 13, 2020
A Lisp interpreter in C, part 11: apply
View Makefile
CC=gcc -g -std=c99 -Wall -Werror -D_POSIX_C_SOURCE=200809L
lisp: main.o forms.o reader.o eval.o printer.o repl.o builtins.o
$(CC) -o lisp *.o
main.o: main.c
$(CC) -c main.c
forms.o: forms.h forms.c
$(CC) -c forms.c
@cellularmitosis
cellularmitosis / Makefile
Last active Jan 13, 2020
A Lisp interpreter in C, part 10: bind (a.k.a define)
View Makefile
CC=gcc -g -std=c99 -Wall -Werror -D_POSIX_C_SOURCE=200809L
lisp: main.o forms.o reader.o eval.o printer.o repl.o
$(CC) -o lisp *.o
main.o: main.c
$(CC) -c main.c
forms.o: forms.h forms.c
$(CC) -c forms.c
@cellularmitosis
cellularmitosis / Makefile
Last active Jan 13, 2020
A Lisp interpreter in C, part 8: the environment
View Makefile
CC=gcc -g -std=c99 -Wall -Werror -D_POSIX_C_SOURCE=200809L
lisp: main.o forms.o reader.o eval.o printer.o repl.o
$(CC) -o lisp *.o
main.o: main.c
$(CC) -c main.c
forms.o: forms.h forms.c
$(CC) -c forms.c
@cellularmitosis
cellularmitosis / Makefile
Last active Jan 13, 2020
A Lisp interpreter in C, part 7: comments
View Makefile
CC=gcc -g -std=c99 -Wall -Werror -D_POSIX_C_SOURCE=200809L
lisp: main.o forms.o reader.o eval.o printer.o repl.o
$(CC) -o lisp *.o
main.o: main.c
$(CC) -c main.c
forms.o: forms.h forms.c
$(CC) -c forms.c
@cellularmitosis
cellularmitosis / Makefile
Last active Jan 13, 2020
A Lisp interpreter in C, part 6: lists
View Makefile
CC=gcc -g -std=c99 -Wall -Werror -D_POSIX_C_SOURCE=200809L
lisp: main.o forms.o reader.o eval.o printer.o repl.o
$(CC) -o lisp *.o
main.o: main.c
$(CC) -c main.c
forms.o: forms.h forms.c
$(CC) -c forms.c
You can’t perform that action at this time.