3 ms·
But that is a different claim, isn't it? I would expect that the general parser for a CL implementation is also quite large. My question is why does the teach
by taeric 10y ago
But that is a different claim, isn't it? I would expect that the general parser for a CL implementation is also quite large.
My question is why does the teaching often go that there is practically no syntax for lisp. Now, it is often followed quickly with "in lisp, you can write your own language."
But then, those two thoughts are hard to justify next to each other. Again, just see this thread. The complaint is that there is not enough syntax in lisp. The argument appearing that you have to have another language to express some ideas. And again, I'm not even disagreeing with this claim. Just trying to understand why it has the foothold that it does. That you drop to lisp if you want to use no syntax.
- kazinator 10y agoJust checked an old clisp-2.32 source tree I have laying around on an old hard drive. The raw line count in the src/ directory over all .d and .lisp files is 212K. Compiler, CLOS, all in there. The io.d module (preprocessed C source) which contains the reader and printer, plus some other cruft, is 10K.
- taeric 10y agoJust wow. I would expect it to be smaller. But I am surprised it is that much smaller.