Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cxxxr/clep
S式のgrep
https://github.com/cxxxr/clep
Last synced: 4 days ago
JSON representation
S式のgrep
- Host: GitHub
- URL: https://github.com/cxxxr/clep
- Owner: cxxxr
- License: mit
- Created: 2015-11-04T06:05:59.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-29T09:11:15.000Z (about 8 years ago)
- Last Synced: 2024-12-18T00:37:25.103Z (6 days ago)
- Language: Common Lisp
- Size: 31.3 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)