1. 安装clisp(使用brew install命令)
electron@diynoMacBook-Pro ~ % brew install clisp
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
abricate cosign gotests lunzip python@3.10
actionlint cppzmq gtop ly qwt-qt5
age cpufetch htmlq lziprecover rbw
apache-pulsar cyral-gimme-db-token iproute2 microsocks red-tldr
aws-sso-util drill jpdfbookmarks mimalloc selene
bat-extras fann k2tf mmtabbarview solana
bbtools feroxbuster lastz murex terraform-rover
bottom fheroes2 libavif neovim-qt texlive
ca-certificates flamebearer libmng openssl@3 tfk8s
cassandra@3 g2o libnghttp2 osc-cli tfupdate
clickhouse-cpp git-cliff librist pkg-config-wrapper toml11
clickhouse-odbc git-credential-libsecret lilypond pkgconf vespa-cli
cmake-docs gomodifytags liqoctl postgresql@13 viddy
colima goproxy llvm@12 python-tk@3.10 viu
==> Updated Formulae
Updated 1964 formulae.
( 省略 )
? /usr/local/Cellar/python@3.9/3.9.7_1: 3,081 files, 54.8MB
Removing: /usr/local/Cellar/python@3.9/3.9.6... (3,204 files, 56MB)
Error: Directory not empty @ dir_s_rmdir - /usr/local/Cellar/python@3.9/3.9.6
electron@diynoMacBook-Pro ~ %
2. 确认动作
electron@diynoMacBook-Pro ~ % clisp
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8
Welcome to GNU CLISP 2.49.92 (2018-02-18) <http://clisp.org/>
Copyright (c) Bruno Haible, Michael Stoll 1992-1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2018
Type :h and hit Enter for context help.
[1]>
[1]> (+10 7)
*** - EVAL: 10 is not a function name; try using a symbol instead
The following restarts are available:
USE-VALUE :R1 Input a value to be used instead.
ABORT :R2 Abort main loop
Break 1 [2]> (+ 10 7)
17
Break 1 [2]> (- 10 7)
3
Break 1 [2]> (+ 10 5 (- 8 5))
18
Break 1 [2]> (exit)
Bye.
electron@diynoMacBook-Pro ~ %