MIT Scheme Development on Ubuntu
sudo apt-get mit-scheme
;run "scheme" then you enter the command line scheme repl;
sudo apt-get emacs
;modify "(setq scheme-program-name "scm")" in .emacs to "(setq scheme-program-name "scheme")", because our scheme command is "scheme";
install quack with
apt-get install emacs-goodies-el
;open emacs and create a new buffer with "C-x C-f myfile.scm";
input following code:
(define (mydouble x)
(+ (* x 2) 10))
save file: C-x C-s;
split window: C-x 2;
switch to bottom window: C-x o;
start scheme repl at bottom window: M-x run-scheme
switch back to top window: C-x o;
parse code: C-x C-e;
switch back to bottom window(C-x o) and run "(mydouble 3)", you got 16;
modify source file in upper window and parse it again (C-x C-e);
run "(mydouble 3)" again, now you get another value;
Ref: A tutorial for using Emacs with Scheme
最新文章
- 基础才是重中之重~AutoMapper为已有目标对象映射
- 招聘:web前端开发(中级、高级均可)
- java通过地址获取主机名
- 繁华模拟赛 ljw分雕塑
- Sublime Text 3 自定义配置快捷键
- WAMP集成环境更改web根目录
- freemarker字符串转换成日期和时间
- Magnum Kuernetes源码分析(一)
- Hibernate基础学习(七)—检索方式
- Makefile的伪目标
- hdu 5266 pog loves szh III(lca + 线段树)
- Android Studio提交库至Bintray jCenter从入门到放弃
- mysql全局权限账户%登录不上ERROR 1045 (28000): Access denied for user 'mhz'@'localhost' (using password: YES)
- 嵌入式单片机STM32应用技术(课本)
- sqlserver数据库中sql的使用
- 【pyspider】关于匹配html的数据
- SpringCloud 组件Eureka参数配置项详解
- Day Seven
- Debug Dart at External Terminal
- [config]关于make *config
热门文章
- 详解C++中的多态和虚函数
- Docker | Docker常用命令学习笔记
- 部署JAX-WS Web服务作为战争中的Apache Tomcat(Deploying JAX-WS webservice as War in Apache Tomcat)
- 1.3.1、datetime时间-Before、After、Between
- spring 5 webflux异常处理
- leetcode1047
- WPF教程七:通过App.xaml来了解Application类都能干什么
- GKCTF X DASCTF 2021_babycat复现学习
- P5816 [CQOI2010]内部白点 题解
- C++ 标准模板库(STL)——算法(Algorithms)的用法及理解