Skip to content

Instantly share code, notes, and snippets.

@Neronus
Neronus / gist:2238044
Created March 29, 2012 14:39
pre-commit hook in lisp
#!lisp --script
(defpackage cve.pre-commit
(:use :cl :named-readtables :clesh :alexandria))
(in-package cve.pre-commit)
(in-readtable clesh:syntax)
(defvar *interactive* nil
@Neronus
Neronus / bibtex.lisp
Created March 28, 2012 08:28
Bibtex parser using parser combinators in Common Lisp
(defpackage bibtex
(:use :cl :parser-combinators :alexandria)
(:export parse)
(:documentation
"Parse bibtex files.
The current state is quite fragile and didn't go through any extensive testing.
There is one external function: PARSE."))