Skip to content

Commit

Permalink
hello 2016
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Jan 31, 2016
1 parent 8e4b6d2 commit dbb78be
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 10 deletions.
18 changes: 18 additions & 0 deletions 2016-01/2016-01-05.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

## 笔记


- 建立新语言是在工程设计中控制复杂性的一种威力强大的工作策略。
- 求值器决定了一个程序设计语言中各种表达式的意义,而它本身也不过就是另一个程序。
- 计算机科学本身不过(也不更少)就是有关如何构造适当的描述语言的科学。
- 求值器的核心部分是一循环,在这一循环中:

> 表达式在环境中的求值被规约到过程对实际参数的应用,而这种应用又被规约到新的表达式在新的环境中的求值。
- 求值器的工作并不是去描述语言的基本过程,而是提供一套连接方式,提供一些组合手段和抽象手段,借助于它们将基本过程联系起来,形成一个语言。特别是:

1. 求值器使我们能够处理嵌套的表达式
2. 求值器是我们可以使用变量
3. 求值器使我们可以定义复合过程
4. 求值器还要提供一批特殊形式,它们的求值方式与普通过程调用不同
-
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
## SICP

[![SICP](http://img4.douban.com/lpic/s1113106.jpg)](http://sicp.liujiacai.net/)
[![SICP](assets/sicp_banner.jpg)](http://sicp.liujiacai.net/)

[SICP](http://book.douban.com/subject/1451622/),一本讲解编程真谛的经典教材。之前上大学期间,陆陆续续看了2遍这本书,无奈都没坚持到底。第一次只看完第一章,第二次只看完前三章。很多习题也没做。

Expand All @@ -14,10 +12,13 @@
- [向热爱计算机科学的你推荐SICP](http://www.nowamagic.net/librarys/veda/detail/1905)
- [如何掌握程序语言](http://yinwang0.lofter.com/post/183ec2_47bea8) by 王垠
- [Its the Best! Its the Worst! Why the split?](http://www.amazon.com/review/R403HR4VL71K8/ref=cm_cr_dp_title?ie=UTF8&ASIN=0262011530&channel=detail-glance&nodeID=283155&store=books) by Google公司研究总监[彼得·诺维格](https://en.wikipedia.org/wiki/Peter_Norvig)
- [The Structure and Interpretation of the Computer Science Curriculum](http://www.ccs.neu.edu/racket/pubs/jfp2004-fffk.pdf) PDF文档。完美的东西并不存在,[HTDP](http://www.htdp.org/) 的作者们在这篇文章里面指出了 SICP 弊端

## 目标

**2016年1月1号**之前啃完**所有章节与习题**!!
<del> 在**2016年1月1号**之前啃完**所有章节与习题**!!</del> 失败告终。只完成前三章。

新的一年继续[读书计划](http://book.douban.com/people/liujiacai/do),2016年6月30号前,完成剩下的第四章、第五章。

## 建议

Expand All @@ -34,7 +35,7 @@

工欲善其事必先利其器。下面说下我Mac上的scheme环境:

- ![Mac 环境](mac-env.png)
- ![Mac 环境](assets/mac-env.png)
- [mit-scheme 9.2](http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.2/mit-scheme-9.2-x86-64.dmg),我的Mac版本是10.10.2,按照上这个官方scheme后点击图标,闪退,不清楚为什么,我这里直接把`MIT:GNU Scheme.app/Contents`下的`Resources`文件夹拷贝出来,并把它加入的PATH中,这样就能够运行了。
![mit-scheme screencast](http://ww2.sinaimg.cn/mw690/5fee18eegw1es79f0y9u2j21tm0eqjus.jpg)
- 这里安装好的scheme在交互式环境下[无法使用方向键](http://stackoverflow.com/questions/27648559/mit-scheme-cant-move-left-when-enter-code),可以通过安装rlwrap解决(`brew install rlwrap`)之后,用`rlwrap mit-scheme`启动就可以了。
Expand All @@ -48,9 +49,8 @@
## 辅助资料

- [Google](https://www.google.com/ncr) is always your friend
- [The complete text in HTML](https://mitpress.mit.edu/sicp/full-text/book/book-Z-H-4.html)
- [MIT SICP Web Site](http://mitpress.mit.edu/sicp)
- [MIT 视频公开课](http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-001-structure-and-interpretation-of-computer-programs-spring-2005/video-lectures/)为了方面观看,我写了个脚本把这些视频+英文字幕下载并且传到了[百度网盘](http://pan.baidu.com/s/1jGrI5EY)
- [MIT 视频公开课](http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-001-structure-and-interpretation-of-computer-programs-spring-2005/video-lectures/),百度网盘[下载地址](http://pan.baidu.com/s/1jGrI5EY)
- [epub 格式 + 在线 HTML5 版的 SICP](https://github.com/sarabander/sicp)
- [北大 SICP 教学主页](http://www.math.pku.edu.cn/teachers/qiuzy/progtech/),强烈推荐,课堂PPT总结的很好,还有中文版的[勘误表](http://www.math.pku.edu.cn/teachers/qiuzy/books/sicp/errata.htm)
- [SICP in Javascript](https://www.comp.nus.edu.sg/~cs1101s/sicp/),新加坡国立大学计算机学院 cs1101 课程
Expand All @@ -63,18 +63,19 @@

- [南瓜](https://github.com/ng-wei)
- [小挖](https://github.com/jerrychen1990)
- [耗子](https://github.com/haozi-yz),由于工作繁忙,于 2015-08-17 放弃
- [浩子](https://github.com/haozi-yz),由于工作繁忙,于 2015-08-17 放弃

欢迎志同道合的朋友加入我们的 SICP 读书 QQ 群:`119845407`
手机 QQ 可直接扫码😊

![sicp_qq](SICP_QQ.png)
![sicp_qq](assets/SICP_QQ.png)

## Timeline

- 2015-5-17 第三次开启SICP之旅
- 2015-7-12 结束第一章,构造过程抽象。[我的总结](http://liujiacai.net/blog/2015/07/18/sicp-chapter1-summary/)
- 2015-9-20 结束第二章,构造数据抽象。[我的总结](http://liujiacai.net/blog/2015/09/20/sicp-chapter2-summary/)
- 2015-12-26 结束第三章,模块化、对象和状态。[我的总结](http://liujiacai.net/blog/2015/12/26/sicp-chapter3-summary/)

## License

Expand Down
File renamed without changes
File renamed without changes
Binary file added assets/sicp_banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion exercises/03/3.76.scm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
(define (iter s last-value)
(cons-stream (sign-change-detector (stream-car s) last-value)
(iter (stream-cdr s) (stream-car s))))
(iter (smooth input-stream)))
(iter (smooth input-stream) 0))
; 或者下面这种形式
(define (make-zero-crossings input-stream smooth)
(let ((smooth-stream (smooth input-stream)))
Expand Down

0 comments on commit dbb78be

Please sign in to comment.