国産 Lisp 専用マシン ELIS のマルチパラダイム言語 TAO について.共立出版 bit に連載したもの.
// Copyright (C) 1998 by // Krzysztof Czarnecki (Czarnecki@acm.org) and // Ulrich W. Eisenecker (Ulrich.Eisenecker@T-Online.de) // // METALISP.CPP contains a rudimentary LISP implementation as a template // metaprogram. All the basic primitives and some convenience functions // are provided. You can use it to write functional programs interpreted by // the compiler at compile time. // This impleme
Books Up one level J. McCarthy, et al. LISP Preliminary Programmer's Manual - draft. January 17, 1960. by Paul McJones — last modified 2012-06-24 14:44 J. McCarthy, R. Brayton, D. Edwards, P. Fox, L. Hodes, D. Luckham, K. Maling, D. Park and S. Russell. LISP Preliminary Programmer's Manual - draft. Computation Center and Research Laboratory of Electronics, Massachusetts Institute of Technology, Ja
koguroさんのとこで出た話題 コーディングスタイルifのbegin括弧の位置let式if式関数定義関数のサイズ編集環境括弧を書くタイミングemacsのキーバインディング括弧挿入のキーバインド全体的なコメントはこちら コーディングスタイル みなさんどんな風に Scheme のソースを書かれているのでしょうか。 他の人のソースを参考にしているのですが、どこかに明文化されたものがあるとうれしいです。(C みたいに K&R とか whitesmith とかいろいろ流派があるのでしょうか) とりあえず、バリエーションが出る要素を上げていってみましょ。Shiro 関連:Lisp:コメント ifのbegin もしC言語でif (...) { を if (...) (begin と書けといわれたらうんざりするでしょう。 C言語のswitch文にbreak;を書いているような気分になります。(gemma
新規アイテム 新規アイテムの学習を開始! 次の学習:1日後 学習毎に記憶強度が上がり「定着中」ゾーン へ。このゾーンの往復が脳科学のポイント! 復習! 次の学習:3日後 アイテムを忘れそうになると再び要復習ゾー ンへ。自動的に、要復習の指示が届きます 復習! 次の学習:3ヶ月後 ゾーンの往復毎に記憶強度が上がり、完璧に 覚えた段階でアイテムは「完了」ゾーンへ。
Code for Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp
The Scheme Programming Language Fourth Edition R. Kent Dybvig Illustrations by Jean-Pierre Hébert Table of Contents Preface Chapter 1. Introduction Section 1.1. Scheme Syntax Section 1.2. Scheme Naming Conventions Section 1.3. Typographical and Notational Conventions Chapter 2. Getting Started Section 2.1. Interacting with Scheme Section 2.2. Simple Expressions Section 2.3. Evaluating Scheme Expre
Schemeとか関数型言語を使う人は、ラムダ計算が好きだったりする。 実際にラムダ計算をするのは別に好きではないと思うけど。 日本にも、 ラムダ算法騎士団の 総本山 があったりする。 Schemeのlambdaでも実際のlambda計算みたいな事ができる。 ; *** car、cdr、cons *** ; car、cdr、consが、lambdaだけで書ける事は、わりと有名。 ; (car、cdr、consが書けるというのは、 ; (eq? x (car (cons x y))) ; (eq? y (cdr (cons x y))) ; が成立するという事。) ; 次のようになる。 (define _cons (lambda (x y) (lambda (z) (z x y)))) (define _car (lambda (z) (z (lambda (x y) x)))) (defin
Nu programming language is an open-source software created in 2007 by Tim Burks, an American software developer who now works for Google on APIs. The creation of Nu came about in the same year as the launch of the first iPhone, and it was working with OS X and iOS that led to the creation of the new language. The success of Apple products has made the 1983 language Objective-C an extremely relevan
The humiliation of having teepeedee2 play second fiddle to C implementations was weighing heavily on my mind, so today I spent a few hours squeezing a bit more fat out of the HTTP processing. One of the major motivating factors for making tpd2 was the idea from the C10k website that it should be possible to get much better performance out of a webserver than is currently normal. The 10k goal looke
Gambit-C vs. Bigloo vs. Chicken vs. MzScheme vs. Scheme48 The following tables contain the execution time of the Gambit benchmarks on various implementations of Scheme in different situations. For a given benchmark and situation, the entry in green indicates which Scheme system has the fastest execution and the number given is the CPU time in milliseconds. Other entries give the execution time rel
View the source for my example application. Apple seems to have a tight leash on how you can develop for the iPhone. The User Agreement essentially states that you can only program in Objective-C. Now, let's see... Objective-C is a superset of C, correct? So C code is valid, right? If we only had something which could generate C for us... it would take code in the language of our choice and compil
Lisppaste is a pastebot / pastebin / nopaste service with syntax highlighting, XML-RPC support, annotations, and more.Many times when working via IRC, people want to share a snippet of code with somebody else. However, just pasting the code into IRC creates a flood of text which is hard to read and scrolls by as discussion progresses. Thus, the pastebot was invented, which has a web form where use
Clojure is a robust, practical, and fast programming language with a set of useful features that together form a simple, coherent, and powerful tool. The Clojure Programming Language Clojure is a dynamic, general-purpose programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming.
By Xah Lee. Date: 2002-02-28. Last updated: 2022-01-01. A Lambda Logo Tour (and why LISP languages using λ as logo should not be looked upon kindly) Dear lispers, The lambda character λ, always struck a awe in me, as with other mathematical symbols. In my mind, i imagine that those obscure math symbolism are etched in stone by god. A salient example is the book cover Concrete Mathematics by Ronald
****** ↓引数がatom(ドット対(コンスセル)でも空リストでもないもの)であれば真。 (define atom? (lambda (x) (and (not (pair? x)) (not (null? x))))) (atom? 'turkey) (atom? 1492) (atom? 'u) (atom? '*abc$) (define a (list 'atom)) (define a2 (list 'atom 'turkey 'or)) (define a3 (cons (list 'atom 'turkey) 'or)) (define l1 (list 'a 'b 'c)) (car l1) (cdr l1) (define l2 (list (list (list 'hotdog))(list 'and)(list 'pickle) 'relish)) (car l2
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く