Skip to content

karlbennett/ProjectEuler

Repository files navigation

These are my solutions to the problems on the Project Euler website (http://projecteuler.net).
They can be run in three different ways, but before trying to run them you must make sure you
have sbcl (Steel Bank Common Lisp - http://www.sbcl.org) installed.

First: If running under Unix just run the related executable shell scripts e.g. euler-001.sh.

Second: Again if under Unix place the .sbclrc file into your $HOME directory then uncomment
	the shebang line in each of the *.lisp files and chmod them to be executable.
	1:	~/ProjectEuler/> cp .sbclrc ~/
	2:	~/ProjectEuler/> vim *.lisp 
		Change -	;#!/usr/bin/sbcl --noinform
		To -		#!/usr/bin/sbcl --noinform
	3:	~/ProjectEuler/> chmod +x *.lisp
	4:	~/ProjectEuler/> ./euler-001.lisp

Third: Run the *.lisp files with the following command.
	~/ProjectEuler/> sbcl --script <lisp filename>

About

My Project Euler answers written in Lisp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published