Skip to content

Instantly share code, notes, and snippets.

@hyotang666
Created June 29, 2017 03:45
Show Gist options
  • Save hyotang666/f03dce30b957a863d7bc73d656eab943 to your computer and use it in GitHub Desktop.
Save hyotang666/f03dce30b957a863d7bc73d656eab943 to your computer and use it in GitHub Desktop.
(defpackage :alpaka-debugger(:use :cl))
(in-package :alpaka-debugger)
(defun alpaka-debugger(condition function)
(declare(ignore function))
(format t
" 「\ /`ヽ
     |  \'゙゙゙\"\"\"\"\"\"\"゙゙; /  l
     レ'´ ィ` ̄ ̄ ̄ `ヽ`く   l
    /〃 〃        \\ /
   / 〃             ヽ`V、
  / /                 i iヽ
   / /         `ヽ       } }|
  { {!          K´ ̄` に}  !
   ⅥV          | ニ V}ノ´¨`. |
    | |\ \ \ \\| 行tテ,!   i l
    | | ヽ|\|\|\|  り.ソノ !   ! !
    | |  |           .′  l /
    | |  ト、   ⊂ニフ   ノL_ノ〃
   Ⅵ〈⌒';'゙´゙゙゙゙゙゙゙゙゙゙゙゙゙゙゙゙゙゙゙゙゙゙゙゙゙; ⌒ヽ
    〉 :           ;   〉
  〈  ;           ;ィ'´ミ
   く/⌒);、、,,,,,,,,,,,,...,,,,,,.、、. :゙⌒ヽミ
     l l く:::::::ハ::::::::>`7´⌒「
    l l  V/  ヽV  l   |
ふわああぁ!いらっしゃぁい!よぉこそぉ↑デバッガへ~!
どうぞどうぞ!ゆっぐりしてってぇ!いやま゛っ↓てたよぉ!
やっとリスパーが来てくれたゆぉ!嬉しいなあ!
ねえなんにぃするぅ?色々あるよぉ、
これね、~Sって言うんだってぇハ↓カセに教えてもらったンの!"
(type-of condition))
(invoke-debugger condition))
(setq *debugger-hook* #'alpaka-debugger)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment