Would tcc be good enough a compiler for this? Its very easy to install on Windows compared to Mingw/cygwin etc.
Learn C and build your own Lisp
41–50 of 150 posts
Re: Learn C and build your own Lisp
#42Wow, very timely, yesterday I needed to brush up on C and was wondering how I would go about it. Thanks. Very minor note: the link to "Learn C the Hard Way" on the faq page links back to the faq page.
Re: Learn C and build your own Lisp
#43Re: Learn C and build your own Lisp
#44If I decided to work through this, and thought it was really good, I'd be unable to make a donation because I don't dabble in cryptocurrencies. Why not make donating "real" money possible, as well?
Re: Learn C and build your own Lisp
#45Re: Learn C and build your own Lisp
#46Re: Learn C and build your own Lisp
#47Please don't. Rather pick something like "Compiler Construction" from Niklaus Wirth and learn how to write compilers using memory safe system programming languages. http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf
Re: Learn C and build your own Lisp
#48Is the source of the text on GitHub or elsewhere? I'd love to send pull requests for some of the things mentioned in these comments, like magic numbers not being in constants.
I welcome corrections/edits.
Re: Learn C and build your own Lisp
#49Re: Learn C and build your own Lisp
#50Currently this claims to be Lisp, but it is some strange version of it.
Using a Scheme or Lisp has a lot of advantages:
* one can compare it with other actually working implementations
* there is already a wealth of material to learn from or where code could be reused
* many books exist
* the language actually has already got some thought
A good example is the book on Scheme 9: