Hacker News new | ask | show | jobs
by pphysch 1611 days ago
POV: your about to learn the most esoteric LISP yet
2 comments

A LISP-like language that only used various left-brackets sounds even worse than the whitespace-based programming language.
Common Lisp isn't that esoteric!

    (defun fun-reader (stream arg)
      (declare (ignore arg))
      (read-delimited-list #\⸨ stream t))
    
    (set-macro-character #\⸨ (get-macro-character #\) nil))
    (set-macro-character #\( #'fun-reader)
    
    (defun square (x⸨
      (* x x⸨⸨
    
    (square 10⸨
    ; => 100