Navigation Menu

Skip to content

Commit

Permalink
Add copyright notices, tiny bit more documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
fragglet committed Feb 10, 2013
1 parent d5e4540 commit 83713b3
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
17 changes: 17 additions & 0 deletions COPYING
@@ -0,0 +1,17 @@

Copyright (c) 2013 Simon Howard

Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

12 changes: 12 additions & 0 deletions README
@@ -1,2 +1,14 @@
Yoctolisp is a Lisp interpreter written in a weekend.

Features:
* Read-eval-print loop.
* Lexical closures.
* Proper garbage collection.
* Tail call optimization.
* Variadic function syntax.

What I didn't have time for:
* Continuations.
* Decent error handling
* Everything else.

16 changes: 16 additions & 0 deletions stdlib.l
@@ -1,4 +1,20 @@

; Copyright (c) 2013 Simon Howard
;
; Permission to use, copy, modify, and/or distribute this software
; for any purpose with or without fee is hereby granted, provided
; that the above copyright notice and this permission notice appear
; in all copies.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
; WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
; WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
; AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
; CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
; CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

; Yoctolisp standard library functions.
; This file is loaded on startup.

Expand Down
21 changes: 21 additions & 0 deletions yoctolisp.c
@@ -1,3 +1,24 @@
/*
Copyright (c) 2013 Simon Howard
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/

// Yoctolisp: a miniature lisp interpreter written in a weekend.

#include <stdio.h>
#include <stdlib.h>
Expand Down

0 comments on commit 83713b3

Please sign in to comment.