C, Perl, and Lisp? Amazing, it's like I'm looking into a mirror: those are the 3 languages I appreciate the most. The first time I tried coding something pseudo-practical in C (a simple program which counted the instances of every alphanumeric character in a text file) it ran so fast I had to do a double-take. Perl was the first language I decided to learn for fun and coming off Java it was nice not needing pages and pages of boilerplate to do simple stuff.
Common Lisp is very close to being my ideal language. It would be neat if I could do something like...
(defstruct (Kons (:generic A D))
(kar :type A)
(kdr :type D))
(deftype Lyst (&optional e)
`(or Null
(Kons ,(or e t)
(Lyst ,e))))
(deftype Character-Lyst ()
'(Lyst Character))
Common Lisp is very close to being my ideal language. It would be neat if I could do something like...