Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

godfuckingdamnit!/prog/

Name: Anonymous 2010-02-06 15:49

hey /prog/

im writing a lisp interpreter from scratch in C (or rather trying to) and i dont know how to represent a general lisp object . i also dont know how to implement ˝lambda˝ and ˝apply˝ , or rather a function which generates a function and returns its address.

any ideas /prog/ ?
is it even possible to write a function that generates a function in C ?
and how the fuck does one make a struct member with undefined lenght/variable ?

Name: Anonymous 2010-02-06 16:16

>>3

In ANSI C? No.
So C is only for producing program which has a clear logic without being able to change the program itself ? i assume this has to be because of the format of most executable formats , they cant modify themselfs can they and even if you could one would have to make hacks in the paged memmory , right ?

Like this: http://c-faq.com/struct/structhack.html
But is it possible using ONLY C? like without any functions or librarys ? neither can this work because of the memmory model can it ?

im making it REALLY from scratch .
i also try to understand what lisp really is and how it works .

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List