Skip to content

Instantly share code, notes, and snippets.

View aengelberg's full-sized avatar
🕶️

Alex Engelberg aengelberg

🕶️
View GitHub Profile
(ns testo.repl
(:use [clojure.pprint])
(:require [instaparse.core :as insta]))
(def grammar "PHPDOC = '/**' {S|tag} '*/'
S = <'*'> #'.+'
tag = <{'*'} '@'> #'\\w*' params
params = #'.*'")