LYSP (a really tiny lisp)
piumarta.com
LYSP (a really tiny lisp)
1–10 of 18 posts
Re: LYSP (a really tiny lisp)
#2Just don't try to learn C from it; code is saturated with boundless copying into stack buffers.
Re: LYSP (a really tiny lisp)
#3(define exit (dlsym "exit")) (exit 0)
Certainly no need to define exit any earlier than that...
Re: LYSP (a really tiny lisp)
#4Re: LYSP (a really tiny lisp)
#5Re: LYSP (a really tiny lisp)
#6Re: LYSP (a really tiny lisp)
#7Re: LYSP (a really tiny lisp)
#8God, seeing straight C programs that don't use any superfluous libraries or stupid coding tricks that just obscure the intent of the programmer is so refreshing. Just one C file that anyone with a barely working knowledge of C can understand and a very clear Lisp implementation. Just don't try to learn C from it; code is saturated with boundless copying into stack buffers.
Re: LYSP (a really tiny lisp)
#9God, seeing straight C programs that don't use any superfluous libraries or stupid coding tricks that just obscure the intent of the programmer is so refreshing. Just one C file that anyone with a barely working knowledge of C can understand and a very clear Lisp implementation. Just don't try to learn C from it; code is saturated with boundless copying into stack buffers.
check this one out :-D http://www.modeemi.fi/~chery/lisp500/lisp500c99.c
Re: LYSP (a really tiny lisp)
#10God, seeing straight C programs that don't use any superfluous libraries or stupid coding tricks that just obscure the intent of the programmer is so refreshing. Just one C file that anyone with a barely working knowledge of C can understand and a very clear Lisp implementation. Just don't try to learn C from it; code is saturated with boundless copying into stack buffers.
check this one out :-D http://www.modeemi.fi/~chery/lisp500/lisp500c99.c
Off topic: are you still in the NOVA area or overseas?