S式の文字列をS式にしたかった。
JavaScript | Common Lisp |
---|---|
JSON.stringify(obj) |
(prin1-to-string sexp) 、 (format nil "~S" sexp) |
JSON.parse(string) |
(read-from-string string) 、(with-input-from-string (in string) (read in)) |
S式の文字列をS式にしたかった。
JavaScript | Common Lisp |
---|---|
JSON.stringify(obj) |
(prin1-to-string sexp) 、 (format nil "~S" sexp) |
JSON.parse(string) |
(read-from-string string) 、(with-input-from-string (in string) (read in)) |
Emacs Advent Calendar 2016 - Qiita 6日目のpeccuです。 5日目は yoshitiaさんの evil-modeのelispをちょっと覗いてみる - yoshitia’s diary でした。 明日はsylxさんのEmacsでライブコーディングする(仮)です。
続きを読む前の記事でわからない部分をまとめたので、少しずつ調べる。 peccu.hatenablog.com (そろそろorg-modeでブログ書きたい)
RoswellとQuicklispが簡単で便利ゆえに中身を気にしていなかった。 背景にある仕組みを理解すればパッケージ周りは多少解決できるのではないだろうか。
結論は、qlot使えば良さそうなことがわかった。
続きを読むCommon Lispでウェブアプリを作りたい。これは雛形を生成してサーバーを起動するまでの話。
ningleとCaveman2の違いがわからず迷ったが、READMEのこの文より Caveman2 を選んだ。
続きを読むOne of the most frequently asked questions was "Which should I use ningle or Caveman? What are the differences?" I think it was because the roles of them were too similar. Both of them are saying "micro" and no database support.
Caveman2 is no more "micro" web application framework. It supports CL-DBI and has database connection management by default. Caveman has started growing up.