Overlooked Featues in Common Lisp

Discussion of Common Lisp

Overlooked Featues in Common Lisp

Postby Pixel_Outlaw » Thu May 15, 2014 10:14 pm

Common Lisp is a fairly big language.
I'm trying to get an idea of features I might have missed while reading books.
Does anyone have features of the language that they feel are often overlooked but really neat to know?
Pixel_Outlaw
 
Posts: 41
Joined: Mon Aug 26, 2013 9:24 pm

Re: Overlooked Featues in Common Lisp

Postby marcoxa » Fri May 16, 2014 1:34 am

One of my favorites is DEFSTRUCT constructors. I blogged about it some time ago (gosh! quite some time ago) http://within-parens.blogspot.it/2011/02/constructor-tricks.html. It turns out that you can do even trickier tricks with DEFSTRUCT constructors, as Pascal Costanza just pointed out at ELS 2014.

Cheers
--
MA
Marco Antoniotti
marcoxa
 
Posts: 69
Joined: Thu Aug 14, 2008 6:31 pm

Re: Overlooked Featues in Common Lisp

Postby Goheeca » Fri May 16, 2014 2:33 am

The capabilities of an output formatting and the loop macro, which are good to explore thoroughly. Since they are own complex DSLs in the standard CL.
cl-2dsyntax is my attempt to create a Python-like reader. My mirror of CLHS (and the dark themed version).
User avatar
Goheeca
 
Posts: 218
Joined: Thu May 10, 2012 12:54 pm

Re: Overlooked Featues in Common Lisp

Postby marcoxa » Fri May 16, 2014 8:25 am

Yep. The PRETTY-PRINTER is quite a piece of software/api. Of course I blogged about it too :D http://within-parens.blogspot.it/2011/06/printing-xhtm.html
Marco Antoniotti
marcoxa
 
Posts: 69
Joined: Thu Aug 14, 2008 6:31 pm

Re: Overlooked Featues in Common Lisp

Postby Pixel_Outlaw » Sat May 17, 2014 8:54 am

Some very good suggestions. I have the feeling there is far more complexity to the CLOS than there appreas too.
Pixel_Outlaw
 
Posts: 41
Joined: Mon Aug 26, 2013 9:24 pm


Return to Common Lisp

Who is online

Users browsing this forum: Google [Bot] and 4 guests