in kaslisp yesterday night I finally added 'foo as a shorthand for (quote foo) and omg a lot of my unit-tests are so much simpler to read and write now T_T I had no idea how much of a big change that would have
I was dreading implementing this in my parser because I wanted to generalize it for both lists and symbols, but actually implementing it was surprisingly simple once I had conceptualized exactly what I wanted to do correctly
I’m kinda curious if there are other Lisp prefix characters that I could implement next, but I have a suspicion that ' is all I need for now
also I think I’m getting pretty close to when I can call kaslisp feature complete! and then I can start implementing a kaslisp interpreter inside of kaslisp lol
I don’t want to implement the parser inside of kaslisp too (that sounds like a fucking nightmare lol) so I’ll probably create a Lua-style (dofile) function that I can use to evaluate other files
also, the last time I posted about Lisp someone replied saying essentially that Lisp is a bad programming language
and to be honest I’m not sure where I stand on Lisp in terms of its quality as a programming language, but I’m leaning towards it being kinda impractical but charmingly simple like FORTH. but I don’t care - I just want to make this thing because it’s fun and I want to understand Lisp better and this seems like a great way to do it (and I already have a much deeper understanding of the difference between a function and a special form! or at least I assume I do. my definitions might be different from the official ones)