SBCL Hello, world!
Version info:- OS: Windows 11 23H2 (Microsoft Windows [Version 10.0.22631.7079])
- Emacs: 30.2
- SBCL : 2.6.4
- SLIME: 2.32
Create a file called hello.lisp and update to look like below -
(write-line "Hello world!")
Below shows where SBCL is located.
c:\lang\emacs-30.2\bin>where sbcl
C:\Program Files\Steel Bank Common Lisp\sbcl.exe
Run the script like, so:
c:\lang\emacs-30.2\bin>sbcl --script c:\lang\sbclwork\hello.lisp Hello, world!
No comments:
Post a Comment