技术控

    今日:376| 主题:57933
收藏本版 (1)
最新软件应用技术尽在掌握

[其他] Running LISP on an ESP8266

[复制链接]
╃亼惢險惡 投递于 2016-10-14 21:40:31
352 5

Running LISP on an ESP8266

Running LISP on an ESP8266-1-技术控-the,Running,LISP,and,on

  LISP is a polarizing language. Either you love it or you hate it. But we’ll put aside our personal preferences to bring you a good hack. In this case a LISP environment running on an ESP8266 . [Dmitry] is on the “love it” side of the fence — he’s been waiting for an excuse to code up a LISP interpreter for a while, and he found one in the ESP8266.
  

Running LISP on an ESP8266

Running LISP on an ESP8266-2-技术控-the,Running,LISP,and,on
Actually, [Dmitry] is running LISP inside JavaScript, which is itself presumably coded up in C, before it’s assembled to run on an ESP8266. (It’s turtles all the way down!) This means that he can piggy-back on JavaScript’s garbage collection and console handling and so on. After picking a suitably small LISP implementation (actually a Scheme dialect for those of you who know the difference), he went to work.
One weekend bled into the next, but he got the system running, connected to the network, and had LEDs blinking! In the end, he even managed to squeeze in some optimization for memory’s sake. Pretty cool, and because it takes advantage of an already complete system, it can even be made pretty useful. Not bad for a few weekends’ work!
  And finally, if Lots of Irritating Silly Parentheses is your idea of a good time, but the wealth of computing resources available on an ESP8266 seem overkill, have a look at Microlisp, running on an AVR . Or go to the opposite extreme, and run a LISP OS on a Raspberry Pi . Whatever you do, don’t forget to close your parentheses! (We’re told that’s a traditional LISPer farewell.)



上一篇:10 best new web design tools for October 2016
下一篇:TypeScript编译器增强版
gdgdf 投递于 2016-10-14 22:41:29
前排,哇咔咔
回复 支持 反对

使用道具 举报

Carrolljed 投递于 2016-10-15 07:22:20
下辈子要做男生,娶一个像我这样的女生。
回复 支持 反对

使用道具 举报

景明清 投递于 2016-10-25 01:20:17
如果我做了皇帝,就封你当太子!
回复 支持 反对

使用道具 举报

陌紫柔1 投递于 2016-11-16 20:56:10
楼主最近很勤力啊!
回复 支持 反对

使用道具 举报

账户1 投递于 2016-11-18 17:32:49
我是一个有名望的恶棍…
回复 支持 反对

使用道具 举报

我要投稿

回页顶回复上一篇下一篇回列表
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 | 粤公网安备 44010402000842号 )

© 2001-2017 Comsenz Inc.

返回顶部 返回列表