This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/sbcl --script | |
;;; brainfuck compiler written in Common Lisp (SBCL) | |
;;; author: TANI Kojiro | |
;;; usage: `sbcl --script brainfuck.lisp` or `chmod +x brainfuck.lisp; ./brainfuck.lisp` | |
(declaim ((simple-array (unsigned-byte 8) (*)) *memory*)) | |
(defvar *memory* (make-array 30000 :element-type '(unsigned-byte 8))) | |
(defvar *pointer* 0) | |
(defvar *bf-readtable* (make-instance 'readtable)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(this file changes the title of this Gist, ignore this) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#|-*- mode:lisp -*-|# | |
#| | |
exec ros -Q -- $0 "$@" | |
|# | |
#| | |
A Roswell script to open the HyperSpec page of a specified symbol in the default browser. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Wrapper to provide ed-style line editing." | |
# Ron DuPlain <[email protected]> | |
from subprocess import Popen, PIPE | |
def edit(text, command): | |
r"""Edit given text using ed-style line editing, using system's sed command. | |
Examples: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; anything-gist.el --- anything-sources and some utilities for gist. | |
;; Filename: auto-complete-acr.el | |
;; Description: Anything extension for gist | |
;; Author: myuhe <yuhei.maeda_at_gmail.com> | |
;; Maintainer: myuhe | |
;; Copyright (C) 2009, 2010, myuhe , all rights reserved. | |
;; Created: 2009-04-13 | |
;; Version: 0.6 | |
;; Keywords: convenience, anything, git, gist |