Go 言語による Lisp インタープリタ 2015-05-13 (鈴) 1. はじめに 2. 典型的なオブジェクト指向プログラミングとの違い 3. panic/defer/recover による大域エラー処理 4. 数値演算の簡易な実装 5. おわりに lisp-light.go: Lisp インタープリタ lisp-light.zip: 上記のダウンロード用ファイル (11973 バイト) 1. はじめに 一昨年の「Go 言語による簡単な Lisp」では簡単な Lisp の作例を与えた。 しかし,マクロを持たないなど制約が多く伝統的な Lisp としてはあまり使えないものだった。 そこで今回「Dart による高速な Lisp インタープリタ」で記述した Dart による Lisp インタープリタの Go 言語への移植を試みた。 この移植において他言語と共通の課題を同様に解くことによる
この記事はジェット推進研究所(JPL)におけるLispの盛衰について、私の(しかもかなり偏った)個人的見地から書きました。JPLの所員としての立場で書いているのではなく、JPLの公的な立場を代弁するものでもないことをお断りしておきます(これについては読み進めていただければ分かります)。 1988-1991 ロボット工学の時代 私は1988年にJPLに入所し、自律移動ロボットの人工知能(AI)グループに配属されました。当時は今と違って政府の財源から資金が潤沢に流入していました。「AIの冬」が始まりかけていましたが、まだJPLには到達していませんでした。研究所の技術動向は最先端から数年遅れになる傾向があるようです。 当時のJPLはマーズ・ローバー・サンプル・リターン(MRSR)と呼ばれるマーズ・ローバー・ミッションの初期計画段階にありました。あの時代、宇宙ミッションはあらゆる意味で巨大でした。
Build Your Own Lisp Learn C and build your own programming language in 1000 lines of code! If you're looking to learn C, or you've ever wondered how to build your own programming language, this is the book for you. In just a few lines of code, I'll teach you how to use C, and together, we'll start building your very own language. Along the way we'll learn about the weird and wonderful nature of Li
Ruby comes with many fantastic Enumerable methods, but the two most useful ones come through Smalltalk via LISP: #map and #inject. What follows are some lengthy method definitions followed by rewrites that are not only more concise but also more clear in their intentions. Building an array Requirement: As a user with a PGP key I want to see the list of key ids for all my signers so I can quickly i
Recursive Functions of Symbolic Expressions and Their Computation by Machine, Part I John McCarthy, Massachusetts Institute of Technology, Cambridge, Mass. ∗ April 1960 1 Introduction A programming system called LISP (for LISt Processor) has been developed for the IBM 704 computer by the Artificial Intelligence group at M.I.T. The system was designed to facilitate experiments with a proposed syste
Go 言語による簡単な Lisp 2013-04-04 (鈴) 1. はじめに 2. 字句解析 3. 構文解析 4. 環境と評価器 5. おわりに tiny-lisp.go: 主手続き src/lisp/data.go: cons セルとシンボルその他 src/lisp/env.go: 環境と評価器 src/lisp/globals.go: トップレベルの環境 src/lisp/interp.go: ファイルや文字列を入力とするインタープリタ src/lisp/lex.go: 字句解析および構文解析 8queens.l: 8クイーン問題のプログラム例 (Let Little Lambda Lisp be a Little Lazy §7 から再掲) README.txt lisp-25-04-01.tar.bz2: ソース一式: 11728 バイト 1. はじめに Go 言語による有理数電
皆さんこんにちは、2月のWeb直販キャンペーンのお知らせです。 今月のWeb直販キャンペーンは、各所で話題沸騰の新刊『Land of Lisp』のイラストを使った特製ステッカーです。ステッカーは2種類ありまして、まずはカバーデザインをモチーフにした円形のタイプ。もう1つは序文に掲載されている「害虫駆除」に関するイラストです(詳細な内容はぜひ本書をご覧ください ;-))。 今回のステッカー2種類を一組として、キャンペーン期間中に弊社Web直販サイトから書籍をご購入いただいたお客さまのうち、希望者全員にプレゼントいたします(Ebookは除きます)。いつもの通り、ご注文時に備考欄へ「ステッカー希望」と必ずお書き添えください。明日2月19日の発送分より対象とさせていただきます。 なお、ステッカーの数には限りがありますので、品切れの場合はご容赦ください。それでは皆さまのご応募をお待ちしております
こんにちは!今年の春からWeb系企業でHTML/CSSデザイナーとして働きだしたキラキラ女子(を目指してる)のあんちべ(23)です!よろしくお願いします!私は普段自社のWebサービスのCSSなどを書いている*1のですが、最近データマイニングに興味を持ち始め、データを分析して、自社サービスの売り上げ改善に貢献したいなーと思うようになりました!でも。。。私は文系出身で統計学とか全然わからない*2し、プログラミングも得意じゃない*3し、高価な統計解析ソフトを買うのも辛いです。。。無い無い尽くしですね><;!そんな私に救いの手が!インストール作業不要で、便利な統計処理機能が色々あって、しかも無料という素晴らしいソフト*4を発見しました!その名も"Incanter"です!なんでも、 Lispっていう古くから使われてきた実績のあるプログラミング言語で動いてて、Lispの文法でどんな処理をすればよいかを
I've been programming for over 30 years from machines that seem puny today (Z80 and 6502 based) to the latest kit using languages that range from BASIC, assembly language, C, C++ through Tcl, Perl, Lisp, ML, occam to arc, Ruby, Go and more. The following is a list of things I've learnt. 0. Programming is a craft not science or engineering Programming is much closer to a craft than a science or eng
Ruby on Rails is becoming a respectable standard for building web applications, for all the good reasons: It is a powerful and fun language, it has a great community and it’s easy to deploy to Heroku. While I was taking SaaS-class, I missed the parentheses and as always, I got curious: how would Common Lisp compare? A whirlwind course of Ruby on Rails and best-practises of Engineering Long-Lasting
International Lisp Conference 2012 Miyakomesse Kyoto Japan October 21-24, 2012 Sponsored by: The Association of Lisp Users In association with: ACM SIGPLAN IPSJ (Information Processing Society Japan) The Association of Lisp Users is pleased to announce the 2012 International Lisp Conference will be held in Kyoto, Japan at Miyakomesse from October 21st to 24th, 2012. This year's program consists of
Genesis In the beginning Man created the computer. Now the computer was formless and empty, darkness was over the surface of the deep, and the Spirit of Man was hovering over the terminal. And Man said, "Let there be lisp," and there was lisp. Man saw that the lisp was good. --- welcome ⚡ ⚕ Welcome to the academy. ⚛ ♬ --- readme The recommended way to become familiar with the academy is to start w
Simon Cook is a British technology investor who graduated from the University of Manchester Institute of Science & Technology. He is the co-founder and CEO of Draper Esprit, a risk capital company that was founded in 2006. We also know he has supported some important companies, including GRAZE, Pushdoctor. Although he has been able to win big time, he has also crashed into big losses. This time, L
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く