並び順

ブックマーク数

期間指定

  • から
  • まで

121 - 139 件 / 139件

新着順 人気順

LISPの検索結果121 - 139 件 / 139件

  • RubyとLispの切っても切れない関係 #heiseirubykaigi |にゃんだーすわん|pixivFANBOX

    2019年12月14日に開催された平成Ruby会議01で飛び込みLTとして発表しました。 Ruby系カンファレンス(の関連イベント)での発表者としての経験は日本Ruby会議2011の闇ルビヰ會議、札幌市中央区Ruby会議01、Ruby広場(RubyKaigi 2013)に次いでの発表だったと思います。Shibuya.rbとか含めると何度かあるけど。思えば遠いとこ...

      RubyとLispの切っても切れない関係 #heiseirubykaigi |にゃんだーすわん|pixivFANBOX
    • Overview - Lisp interpreter in Rust

      Overview The lisp-rs project implements an interpreter, in Rust, for a small subset of Scheme, a Lisp dialect. The main goal of this document is to make sure the reader understands the inner details of how the interpreter was implemented. The project was inspired by Peter Norvig's article (How to Write a (Lisp) Interpreter (in Python)) and the book Writing An Interpreter In Go. This document serve

      • Štar: an iteration construct for Common Lisp

        2024-05-15 :: programming, lisp Štar is a concise and extensible iteration construct for Common Lisp which aims to be pleasant to use, easy to understand, fast if needed, general, and not to look like Fortran. Common Lisp has multiple iteration constructs: mapping functions such as mapcar, special-purpose constructs such as dotimes and dolist, the general but somewhat clumsy construct which is do

        • Kandria

          Ever been caught backtracking for ages, trying to figure out where to go next? In Kandria there's no risk of that -- wherever you want to go, you can, right from the start. Following a narrow tunnel among the rubble you are lead to a large underground lake, brimming with rare fish. With your trusty sword-turned-fishing-rod, you'll have your encyclopedia filled out in no time. And better yet, with

            Kandria
          • Compiling a Lisp: Primitive unary functions

            first – previous Welcome back to the “Compiling a Lisp” series. Last time, we finished adding the rest of the constants as tagged pointer immediates. Since it’s not very useful to have only values (no way to operate on them), we’re going to add some primitive unary functions. “Primitive” means here that they are built into the compiler, so we won’t actually compile the call to an assembly procedur

              Compiling a Lisp: Primitive unary functions
            • 世界のプログラミング言語(32) LISP系言語で実用的なWebアプリも作れるClojureScript

              今回紹介するClojure/ClojureScriptはLISP系の言語の一種です。シンプルでありながら実用性に重きが置かれており、JVMや.NET、JavaScript上で動かすことができます。そのため、LISPの良さを活かしつつ様々な環境でアプリ開発ができます。今回は特にClojureをJavaScriptに変換して実行できるClojureScriptを使う方法を紹介します。 ClojureでWebアプリを作ってみたところ ClojureとClojureScriptについて もともと、ClojureはJavaの仮想マシンであるJVM上で動くLISP処理系として2007年に開発されました。Javaの様々なAPIをサポートするJVMは非常に高機能であり、JVMで動くClojureは最初から多くの実用的な機能を利用できる言語でした。そして、Java仮想マシンのバイトコードにコンパイルされるた

                世界のプログラミング言語(32) LISP系言語で実用的なWebアプリも作れるClojureScript
              • malでかんたんなテンプレートエンジンを書いてみた - Qiita

                言語非依存なテンプレートエンジンがあったらいいなと昔からボンヤリ考えていた(切実にほしいという程ではない)のですが、mal(Make a Lisp)で作ったらどうだろうと思って試しにやってみました。「なんかやってみたくなってやってみた」系の記事です。 Lisp を書くのは年に数回という感じの人が書いていますので、拙いところは大目に見ていただければと思います。 ちなみに去年のアドベントカレンダーではこんなのを書きました。 できたもの sonota88/mal をサブモジュールとして使っているので、 git clone --recursive ... でクローンする必要があります。 Ruby版 Ruby 版だとこんな感じ。 template = <<TEMPLATE <h1>品目一覧</h1> <p>購入日: <%= date %></p> <table> <tr> <th>ID</th> <

                  malでかんたんなテンプレートエンジンを書いてみた - Qiita
                • 謎の言語Forthが謎なので実装した

                  11. 謎の⾔語、Forth 2/5 典型的なForth の実装には、LISP におけるRead–eval–print loop(英語版)(REPL)に対応する、⼊⼒されたワードを即 座に実⾏する対話型のインタプリタモードと(これは、正規 のオペレーティングシステムがないシステム向けのシェルに も適している)、後の実⾏のために⼀連のワードをコンパイ ルするモードのふたつのモードがある。後者にはコロン(:) というワードにより遷移しセミコロン(;)というワードで脱 する。 ─ 『Forth』, Wikipediaより

                    謎の言語Forthが謎なので実装した
                  • Lisp Compiler

                    Introduction This page examines the earliest surviving Lisp compiler, written by Timothy Hart and Michael Levin around 1961. To avoid repetition of phrases like “the compiler”, we will use the abbreviation “HLC” (for “Hart–Levin Compiler”) to refer to it. The HLC was introduced in M.I.T. AIM-039 and documented more fully in the LISP 1.5 Programmer's Manual by McCarthy et al. For information about

                    • SectorLISP Now Fits in One Sector

                      Update: Please read our most recent SectorLISP v2 announcement: LISP with GC in 436 bytes The SectorLISP project has achieved its goal of creating a LISP that's tiny enough to fit in the master boot sector of a floppy disk. To the best of our knowledge, this is the tiniest LISP to date. Since a master boot record is only 512 bytes, that means LISP is now tied with FORTH to be the most lightweight

                      • [PDF] Evolution of Emacs Lisp

                        74 Evolution of Emacs Lisp STEFAN MONNIER, Université de Montréal, Canada MICHAEL SPERBER, Active Group GmbH, Germany Shepherd: Brent Hailpern, IBM Research, USA While Emacs proponents largely agree that it is the world’s greatest text editor, it is almost as much a Lisp machine disguised as an editor. Indeed, one of its chief appeals is that it is programmable via its own programming language. Em

                        • Janet for Mortals

                          Hello and thank you for coming to my book. I want to tell you about Janet, because I think that Janet is a very good language and it’s a shame that you haven’t heard of it yet. I like Janet so much that I wrote an entire book about it. Look: Wow! Look at all those chapters. Just like a real book. This isn’t one of those chapters yet, though. This is the before part. If this were a real book, which

                          • Lisp: Icing or Cake? — dthompson

                            The Spring Lisp Game Jam 2024 ended one week ago. 48 games were submitted, a new record for the jam! This past week has been a time for participants to play and rate each other’s games. As I explored the entries, I noticed two distinct meta-patterns in how people approached building games with Lisp. I think these patterns apply more broadly to all applications of Lisp. Let’s talk about these patte

                            • Medley Interlisp Project

                              The Medley Interlisp Project a retrofuturistic software system What did we leave behind on the path to developing today's computer systems? Could there be lessons for the future of computing hidden in the past? Enter the Medley software environment to explore these questions. Welcome to the start of a new chapter in software preservation and computing. We're a group of researchers, software develo

                              • A rabbit hole full of Lisp

                                At work I contribute to a moderately-sized monorepo at 70 thousand files, 8-digit lines of code and hundreds of PRs merged every day. One day I opened a remote buffer at that repository and ran M-x find-file. 💡️find-file is an interactive function that shows a narrowed list of files in the current directory, prompts the user to filter and scroll through candidates, and for a file to open. Emacs f

                                  A rabbit hole full of Lisp
                                • WebAssemblyのgotoを妥協する

                                  WebAssemblyのgotoを妥協する 前回のあらすじ: WebAssemblyでgotoを作ろうとしたらめっちゃ大変。 (loop $loop (if (i32.gt_u (local.get $next) (i32.const 0)) (then (local.set $jump (local.get $next)) (local.set $next (i32.const 0)))) (block $block2 (block $block1 (br_if $block1 (i32.eq (local.get $jump) (i32.const 1))) (br_if $block2 (i32.eq (local.get $jump) (i32.const 2))) (call $code1) (if (call $test1) (then ;; Forward super jum

                                  • bug#70209: 30.0.50; describe key + lambda too poetic

                                    unofficial mirror of bug-gnu-emacs@gnu.org help / color / mirror / code / Atom feed* bug#70209: 30.0.50; describe key + lambda too poetic @ 2024-04-05 4:47 No Wayman 2024-04-05 5:07 ` No Wayman 0 siblings, 1 reply; 8+ messages in thread From: No Wayman @ 2024-04-05 4:47 UTC (permalink / raw To: 70209 GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 20

                                    • Common Lispでの自作深層学習フレームワークcl-waffeの紹介 - Qiita

                                      Introduction Common Lispはとても高水準な言語でありながら、定義した全ての関数をバイナリコードへコンパイルして実行してくれるSBCLや、プロファイリングや(time)マクロに代表される最適化のための使いやすい機能、disassembleと型宣言を組み合わせて関数のインライン化と最適化を行う等、高速なコードを書くための基盤が揃っていて、得意な領域においてはCに匹敵するパフォーマンスを持っています。この特徴は深層学習という複雑かつ膨大な計算をするプログラムと相性がよく、例えばフレームワークと同じ言語でカーネルとモデルの部分を記述でき、開発効率と実行効率の両方が確保しやすいです。 現に僕と同じことを考えていそう方はたくさん見受けられ、Githubで行列演算に関するCommon Lispのライブラリを検索してみると、僕が知っている中でも以下のものがあります。 mgl-mat

                                        Common Lispでの自作深層学習フレームワークcl-waffeの紹介 - Qiita
                                      • 『N個の値を入力するプログラム』が意外とめんどくさい

                                        【2021/10/27追記】本記事のテーマについては,次のpaizaのページが参考となるかもしれません.値取得・出力サンプルコード:https://paiza.jp/guide/samplecode いやもう,FizzBuzz問題の代わりに『コードが書けないプログラマ志願者を見分ける手法』にしてもいいほどに(それは言い過ぎ). 以前,『サンプルコードは入力と出力をセットにして作成してから実行を確かめる』といったことを述べている記事を書き,また,その趣旨に基づく『最初のサンプルプログラム』集みたいな記事も作成しました.これらを踏まえ,AtCoderあたりでは定番の,値入力部分のサンプルプログラムをいろんな言語で書き始めてみたのですが…いやあ,めんどくさい.入力スタイルに合わせるのはもちろん,言語固有の工夫が必要だったり,入力後の処理によってケースバイケースとなったり."Hello, Worl

                                          『N個の値を入力するプログラム』が意外とめんどくさい