Skip to content

Instantly share code, notes, and snippets.

View seeeturtle's full-sized avatar

Wonsang Chung seeeturtle

View GitHub Profile
(defn combine-symbol [x y]
(symbol (str x y)))
(defmacro is [char token]
`(~(combine-symbol '.is token) ; combind .is with token name
Tokenizer ~char))
(defmacro set-token-type [token-type]
`(def token-type (~(combine-symbol '.- (clojure.string/upper-case (str token-type))) TOKEN_TYPE)))
@seeeturtle
seeeturtle / gist:0ca524790193e326a7e3382288e8a750
Last active February 29, 2020 08:42
Aiodocker test guide

How To Test

First install dependicies by: pip install -r requirements/base.txt && pip install -r requirements/dev.txt or if you want just to test: pip install -r requirements/base.txt && pip install -r requirements/test.txt And then you could test by: ./test.sh