Search code examples
lispcommon-lispfilenamespathname

What is the convention for Lisp filename extension?


".el" is the convention for filename ending with Emacs Lisp programs. What is the convention when writing Common Lisp programs, please?


Solution

  • Wikipedia and the Google Common Lisp Style guide both suggest .lisp.

    Practical Common Lisp suggests .lisp or .cl.

    Note, I'm not a Common Lisp programmer by any measure, so I have no idea if .lisp is actually used in practice.