Smart-snippet is a project mainly written in Emacs Lisp, it's free.
Snippet with conditional expansion
404: Not Found