Skip to content

Instantly share code, notes, and snippets.

CL-USER> #" " と \. を含みます。"#
" \" と \\. を含みます。"
CL-USER>
CL-USER> (segment-reader t #\/ 3)
あいう/えおか/きくけ/
("あいう" "えおか" "きくけ")
CL-USER>
cd ~/
2 compiler notes:
lol-production-code.lisp:265:1:
error:
(during macroexpansion of (DEFMACRO! DLAMBDA ...))
The function O!-SYMBOL-P is undefined.
lol-production-code.lisp:357:17:
read-error:
CL-USER> (asdf:operate 'asdf:load-op :hello)
; loading system definition from /home/cametan/hello.asd into
; #<PACKAGE "ASDF0">
; registering #<SYSTEM HELLO {AB3F071}> as HELLO
NIL
CL-USER>
CL-USER> *h*
The variable *H* is unbound.
[Condition of type UNBOUND-VARIABLE]
; Evaluation aborted.
CL-USER>
(in-package #:hello)
(defparameter *a* "hello, ")
CL-USER> (print-name-of-function "Fuck off!!!")
FUCK-OFF
CL-USER> (fuck-off)
Fuck off!!!
"Fuck off!!!"
CL-USER>
;; hello-system 「自体で」 :p-n-f パッケージが要り用になるわけではない事に注意
(defpackage :hello-system (:use :asdf :cl))
(in-package :hello-system)
(defsystem hello
:name "hello"
:author ""
:version ""
:maintainer ""
:licence ""
; Arc Compiler.
(module ac mzscheme
(provide (all-defined))
; uncomment the following require for mzscheme-4.x
; much of Arc will work, but not mutable pairs.
; (require rnrs/mutable-pairs-6)
(require (lib "port.ss"))
(require (lib "process.ss"))
#!/usr/bin/env bash
mzscheme slisp.ss