由于要开始整Storm,并且是源码级的.所以开始学习Clojure.以前听说过函数式编程,也听人说Erlang的牛逼,接触了Clojure才知道,原来Clojure就是JVM中的Erlang.网上基于Ubuntu环境下开发Clojure的资料太少,这里我整理下,实质上是相当简单!
1.安装Clojure:
可以手动的方式,但我没有尝试,具体可以看这篇博客,写的很详细:http://riddell.us/ClojureOnUbuntu.html
Ubuntu只要简单的一条命令就可以搞定:
sudo apt-get install clojure
然后输入clojure就可以进行clojure编程了.
2.安装Eclipse Clojure插件:
这里安装的插件是Counterclockwise.可以通过Eclipse自动安装软件的功能直接安装,具体如下:
Eclipse菜单Help->Install New Software->输入插件网址:http://ccw.cgrand.net/updatesite/,之后下一步下一步,再根据提示重启Eclipse即可
3.Eclipse上使用/开发Clojure
安装好Counterclockwise插件后,可以新建Clojure工程和Clojure文件.使用方法本Java无异,这里不再重复.
4.安装类似Maven专门针对Clojure的工具Leiningen
手动安装方法可以通过https://github.com/technomancy/leiningen/上面的介绍,Ubuntu下面其实一句命令既可以:sudo apt-get install leiningen
5.安装leiningen针对eclipse的插件,这个插件可以通过读取project.clj来自动建立eclipse的源码工程,之后你再通过eclipse的import exists project即可
命令:lein plugin install lein-eclipse 1.0.0
6.leiningen的一些用法:
1)创建工程:
lein new project_name
2)生成eclipse工程
lein eclipse
更多技术文章、感悟、分享、勾搭,请用微信扫描:
相关推荐
NULL 博文链接:https://roysong.iteye.com/blog/1260147
最新版的clojure插件,以eclipse为IDE的clojure开发人员必备
clojure clojure clojureclojure clojure
Clojure web开发视频教程,或在线观看地址 http://sharevip.org/tags/clojure%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B/
[Pragmatic Bookshelf] 网络应用开发 (Clojure 实现) (英文版) [Pragmatic Bookshelf] Web Development with Clojure Build Bulletproof Web Apps with Less Code (E-Book) ☆ 图书概要:☆ If the usual ...
用于Clojure开发的Visual Studio Code扩展
【1】Web Development with Clojure(2014.1).pdf 【2】clojure_programming.pdf 【3】Practical Clojure.pdf 【4】Programming Clojure with Emacs.pdf 【5】Programming Concurrency on the JVM(Java虚拟机并发编程...
这是Programming Clojure 电子版的 纸质版本在美国亚马逊要到2009年3月才能上架 Paperback: 200 pages Publisher: Pragmatic Bookshelf (March 15, 2009) Language: English ISBN-10: 1934356336 ISBN-13: 978-...
Clojure代码 **新增了运行调试器的功能,现在是可选的-您可以启动REPL并以非调试模式访问其他功能-代码的运行速度是以前的两倍**介绍Clojure Code是用于开发Clojure的VS Code扩展/调试器。 它提供了交互式REPL以及...
Clojure is an opinionated language—it doesn’t try to cover all paradigms or provide every checklist bullet-point feature. Instead it provides the features needed to solve all kinds of real-world ...
Clear, practical Clojure for the professional programmer Professional Clojure is the experienced developer's guide to functional programming using the Clojure language. Designed specifically to meet ...
Practical Clojure Clojure语言书籍
Clojure Copyright (c) Rich Hickey. All rights reserved. The use and distribution terms for this software are covered by the Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ...
【1】[Clojure编程乐趣](The Joy of Clojure).pdf 【2】Clojure – Functional Programming for the JVM中文版.pdf 【3】Clojure Cookbook.pdf 【4】Clojure Data Analysis Cookbook.pdf 【5】clojure Hand book...
一个Clojure 全栈 Web 开源开发工具,支持Windows,MacOS 和 Linux 操作系统平台。
[2013] Functional Programming Patterns in Scala and Clojure - Write Lean Programs for the JVM.(Michael Bevilacqua-Linn).[1937785475].pdf+epub.rar [2014] Clojure Cookbook - Recipes for Functional ...
Typed Clojure 保留了 Clojure 的优势,是 Clojure 的可选类型系统,也可以说是 Clojure 的一个库,改善了大量的静态类型安全检测。主要特性:从 Java 中保护你的 Clojure 程序,进行安全的互操作,正确的使用外部 ...
Clojure编程乐趣和clojure_programming.pdf两本书