Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cxxxr/clep

S式のgrep
https://github.com/cxxxr/clep

Last synced: 4 days ago
JSON representation

S式のgrep

Awesome Lists containing this project

README

        

# clep
S式のgrep

## 使い方
;; sample.lispからシンボルのsetfがある式を探す
(clep:clep-files '(setf (:lisp symbolp) . (:*))
"sample.lisp")

;; a.lisp, b.lisp, c.lispから#'(lambda ...)の式を探す
(clep:clep-files '(function (lambda . (:*)))
'("a.lisp" "b.lisp" "c.lisp"))

;; 引数が2つのifをfoo.lispとbar.lispから探す
(clep:clep-files '(if (:*) (:*)) '("foo.lisp" "bar.lisp"))

;; 束縛がないletを探す
(clep:clep-files '(let () . (:*)) (list "a.lisp" "b.lisp" "c.lisp"))

## ライセンス
[MIT](https://github.com/cxxxr/repl/blob/master/LICENSE)