1. sudo apt-get mit-scheme;

  2. run "scheme" then you enter the command line scheme repl;

  3. sudo apt-get emacs;

  4. modify "(setq scheme-program-name "scm")" in .emacs to "(setq scheme-program-name "scheme")", because our scheme command is "scheme";

  5. install quack with apt-get install emacs-goodies-el;

  6. open emacs and create a new buffer with "C-x C-f myfile.scm";

  7. input following code:

(define (mydouble x)
(+ (* x 2) 10))

  1. save file: C-x C-s;

  2. split window: C-x 2;

  3. switch to bottom window: C-x o;

  4. start scheme repl at bottom window: M-x run-scheme

  5. switch back to top window: C-x o;

  6. parse code: C-x C-e;

  7. switch back to bottom window(C-x o) and run "(mydouble 3)", you got 16;

  8. modify source file in upper window and parse it again (C-x C-e);

  9. run "(mydouble 3)" again, now you get another value;

Ref: A tutorial for using Emacs with Scheme

最新文章

  1. 基础才是重中之重~AutoMapper为已有目标对象映射
  2. 招聘:web前端开发(中级、高级均可)
  3. java通过地址获取主机名
  4. 繁华模拟赛 ljw分雕塑
  5. Sublime Text 3 自定义配置快捷键
  6. WAMP集成环境更改web根目录
  7. freemarker字符串转换成日期和时间
  8. Magnum Kuernetes源码分析(一)
  9. Hibernate基础学习(七)—检索方式
  10. Makefile的伪目标
  11. hdu 5266 pog loves szh III(lca + 线段树)
  12. Android Studio提交库至Bintray jCenter从入门到放弃
  13. mysql全局权限账户%登录不上ERROR 1045 (28000): Access denied for user 'mhz'@'localhost' (using password: YES)
  14. 嵌入式单片机STM32应用技术(课本)
  15. sqlserver数据库中sql的使用
  16. 【pyspider】关于匹配html的数据
  17. SpringCloud 组件Eureka参数配置项详解
  18. Day Seven
  19. Debug Dart at External Terminal
  20. [config]关于make *config

热门文章

  1. 详解C++中的多态和虚函数
  2. Docker | Docker常用命令学习笔记
  3. 部署JAX-WS Web服务作为战争中的Apache Tomcat(Deploying JAX-WS webservice as War in Apache Tomcat)
  4. 1.3.1、datetime时间-Before、After、Between
  5. spring 5 webflux异常处理
  6. leetcode1047
  7. WPF教程七:通过App.xaml来了解Application类都能干什么
  8. GKCTF X DASCTF 2021_babycat复现学习
  9. P5816 [CQOI2010]内部白点 题解
  10. C++ 标准模板库(STL)——算法(Algorithms)的用法及理解