Created
June 22, 2014 21:05
-
-
Save zerokarmaleft/bbf1bd37ccdbb790b671 to your computer and use it in GitHub Desktop.
Nomnomnom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn parse-necronomemoticon | |
[s] | |
(let [rdr (BufferedReader. (StringReader. s)) | |
expr (->> (line-seq rdr) (map seq) first)] | |
(match [expr] | |
[([\( \; \, \; \)] :seq)] :evil | |
:else :failure))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment