Skip to content

Instantly share code, notes, and snippets.

@youz
youz / caret-macro.lisp
Created May 7, 2010 11:37
short aliases for lambda expression
;;; ref. http://blog.practical-scheme.net/gauche/20100428-shorter-names
;;; http://d.hatena.ne.jp/higepon/20100511/1273584001
#+:xyzzy
(require 'cmu_loop)
(defmacro ^ (args . body)
`(lambda ,args ,@body))
(defmacro define-caret-macros (chars)
@youz
youz / modanshogi.lisp
Created April 1, 2010 09:11
A CommonLisp Implementation of the programming language "ModanShogi".
;;; ref. http://github.com/yhara/ShogiModan
(eval-when (:compile-toplevel :load-toplevel :execute)
(unless (find-package :modanshogi)
(defpackage :modanshogi
(:use #+:xyzzy :lisp
#-:xyzzy :common-lisp))))
(provide 'modanshogi)
@znz
znz / gist:104842
Created May 1, 2009 03:12
rcodetoolsの設定例
(setq load-path
(cons "~/.emacs.d/site-lisp/elisp" load-path))
(require 'auto-complete)
(setq-default ac-sources '(ac-source-abbrev ac-source-words-in-buffer))
(global-auto-complete-mode t)
(setq ac-auto-start 3)
(add-hook
'emacs-lisp-mode-hook
(lambda ()
(setq ac-sources '(ac-source-words-in-buffer ac-source-symbols))))