# HG changeset patch # User Steve Losh # Date 1467041998 0 # Node ID c24ab12c65fc42e7ad0300d1dc573ecf6d73e4c6 # Parent cc9b027d5b2a93b720310c4f857d43e729a83f95 Add URLs diff -r cc9b027d5b2a -r c24ab12c65fc content/blog/2016/06/symbolic-computation.html --- a/content/blog/2016/06/symbolic-computation.html Sun Jun 26 01:01:44 2016 +0000 +++ b/content/blog/2016/06/symbolic-computation.html Mon Jun 27 15:39:58 2016 +0000 @@ -36,7 +36,7 @@ (print (car foo)) (print (cdr foo))) -[gentle]: +[gentle]: http://www.amazon.com/dp/0486498204/?tag=stelos-20 [TOC] @@ -240,8 +240,8 @@ [`*print-readably*` variable][print-readably]. Other language have different mechanisms. -[str_repr]: -[print-readably]: +[str_repr]: https://brennerm.github.io/posts/python-str-vs-repr.html +[print-readably]: http://clhs.lisp.se/Body/v_pr_rda.htm ## Reading Non-Lisp @@ -278,7 +278,7 @@ a representation of an AST node. Where did that come from? To answer that we'll need the final letter in the acronym. -[abstract syntax tree]: +[abstract syntax tree]: https://en.wikipedia.org/wiki/Abstract_syntax_tree ## Evaluating Non-Lisp @@ -418,7 +418,7 @@ then how do we actually *do* anything in Lisp? How does anything actually *run*? -[clhs-symbol]: +[clhs-symbol]: http://www.lispworks.com/documentation/lw70/CLHS/Body/t_symbol.htm ## Evaluating Lisp @@ -629,10 +629,9 @@ If you're not using Common Lisp, port these exercises to your language. -[special-operators]: -[ABCL]: -[sbcl-eval]: -[clhs-symbol]: +[special-operators]: http://www.lispworks.com/documentation/HyperSpec/Body/03_ababa.htm +[ABCL]: https://common-lisp.net/project/armedbear/ +[sbcl-eval]: https://github.com/sbcl/sbcl/blob/fdc4e9fa86b5eaaf8939f004a66e4be075069aa8/src/code/eval.lisp#L131-L272 ## Quote @@ -786,7 +785,7 @@ * `'"hello"` reads as `(quote "hello")` * `'(if if if if)` reads as `(quote (if if if if))` -[read macro]: +[read macro]: https://gist.github.com/chaitanyagupta/9324402 ### Exercises @@ -844,9 +843,9 @@ * Find and read *another* Lisp implementation's `eval` function. * Watch the [SICP Lectures][SICP] on YouTube. -[PAIP]: -[symbolicate]: -[packaging]: -[SICP]: +[PAIP]: http://www.amazon.com/dp/1558601910/?tag=stelos-20 +[symbolicate]: https://github.com/zkat/squirl/blob/f0dc57dfee728df94b2a35956e18e143e8b8d275/src/vec.lisp#L28-L38 +[packaging]: https://www-fourier.ujf-grenoble.fr/~sergerar/Papers/Packaging.pdf +[SICP]: http://www.amazon.com/dp/0262510871/?tag=stelos-20 {% endblock article %}