Skip to content

Commit 163fb85

Browse files
author
pnathan
committed
Update for 2014
1 parent 4ce3d6e commit 163fb85

File tree

8 files changed

+48
-45
lines changed

8 files changed

+48
-45
lines changed

content-footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<center style="font-size: x-small">
33

4-
<p>&copy; Paul Nathan 2013</p>
4+
<p>&copy; Paul Nathan 2013,2014</p>
55
<p><a href="https://github.com/pnathan/articulate-common-lisp"> Github source</a> - contributions welcome!</p>
66

77
</center>

env~emacs.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ Usually you want to get SLIME installed for your development.
3030
If you're using emacs23, SLIME can be found
3131
[here](http://www.common-lisp.net/project/slime/).
3232

33-
Emacs24 has it in its package manager (`M-x package-list-packages`). However, I
34-
have not had good experiences with the SLIME found in the Marmalade emacs repo.
33+
Emacs24 has it in its package manager (`M-x
34+
package-list-packages`).
3535

3636

3737
I like to use the following elisp to configure SLIME:
@@ -49,7 +49,7 @@ I like to use the following elisp to configure SLIME:
4949
(setq slime-net-coding-system 'utf-8-unix)
5050
```
5151

52-
Another useful trick is:
52+
Another useful tool is:
5353

5454
```
5555
;; highlight parens
@@ -73,6 +73,7 @@ editing features that surprised him on first use.
7373
When you have configured your SLIME in a `fancy` fashion, you will find a SLIME
7474
REPL (Read Evaluate Print Loop) buffer created in your Emacs window.
7575

76-
This provides an interactive view into Common Lisp. You can evaluate functions you
77-
are writing in the source file and immediately use them in the REPL. This provides a
78-
very fast "code and test" facility.
76+
This provides an interactive view into Common Lisp. You can evaluate
77+
functions you are writing in the source file and immediately use them
78+
in the REPL. This provides a very fast "code and test" facility.
79+
p

env~lisp-system.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ limited-functionality personal editions. This author has
3434
had good experiences with LispWorks Personal Edition; it has limitations
3535
on its use, however.
3636

37-
Mobile developers may find [mocl](https://wukix.com/mocl) a very interesting
38-
product in this space; it is a recently (2013) released Common Lisp system designed
39-
for interoperation with the base systems.
37+
Mobile developers may find [mocl](https://wukix.com/mocl) a very
38+
interesting product in this space; it is a recently (2013) released
39+
Common Lisp system designed for interoperation with the base systems.
4040

4141
Tabulation of systems
4242
---
@@ -49,4 +49,4 @@ SBCL Native High speed compiler
4949
ACL Native Professional platform
5050
ABCL JVM Java interop
5151
ECL C C interop, has iOS port
52-
MOCL Native Stores CL as a library for mobile devices - iOS & Android
52+
MOCL Native Stores CL as a library for mobile devices - iOS & Android

env~repl.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22
%
33
%
44

5-
One of Lisp's biggest contributions to the world of software development is the idea of an
6-
interactive command line as part of your programming environment, or, REPL. REPL stands for
7-
Read Evaluate Print Loop, which will become clear as we work through this file.
5+
One of Lisp's biggest contributions to the world of software
6+
development is the idea of an interactive command line as part of your
7+
programming environment, or, REPL. REPL stands for Read Evaluate Print
8+
Loop, which will become clear as we work through this file.
89

9-
In this article we'll assume that you've configured your Lisp environment correctly and
10-
now are trying to write Lisp code (Congratulations)!
10+
In this article we'll assume that you've configured your Lisp
11+
environment correctly and now are trying to write Lisp code
12+
(Congratulations)!
1113

12-
Let's say that you have your `emacs` and `SLIME` set up. Then, let's load our SLIME. `M-x slime`. This will
14+
Let's say that you have your `emacs` and `SLIME` set up. Then, let's
15+
load our SLIME. `M-x slime`. This will create a REPL buffer for you.

env~sbcl-setup.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
%
44

55
Steel Bank Common Lisp (SBCL) is aggressively maintained with releases
6-
approximately monthly as of 2012. SBCL has a long history, with its
7-
source code stretching back to the early '80s under different
8-
systems. This tutorial recommends SBCL due to its popularity at the time
9-
of writing. Other opens source systems such as ECL, CLISP, CMUCL, and
10-
CCL exist.
6+
approximately monthly. SBCL has a long history, with its source code
7+
stretching back to the early '80s under different systems. This
8+
tutorial recommends SBCL due to its popularity at the time of
9+
writing. Other opens source systems such as ECL, CLISP, CMUCL, and CCL
10+
exist.
1111

1212
Installing on Linux and OSX
1313
---
@@ -53,11 +53,11 @@ Dear Windows SBCL user, please tell us how it's done!
5353

5454
Further installation on Linux/OSX
5555
---
56-
Sometimes the SBCL you pick up from sbcl.org isn't as feature-complete
57-
as you want, or perhaps you want to recompile it for your own reasons
56+
Sometimes the SBCL you pick up from sbcl.org isn't as feature-complete
57+
as you want, or perhaps you want to recompile it for your own reasons
5858
(i.e., the Hunchentoot web server requires threads).
5959

60-
In order to do this, download the *source* SBCL package and issue this
60+
In order to do this, download the *source* SBCL package and issue this
6161
set of commands:
6262

6363
```Bash
@@ -66,9 +66,9 @@ pushd doc/manual/ && make && popd
6666
sudo sh ./install.sh
6767
```
6868

69-
* --fancy builds with several optional features as of 1.1.3:
70-
:sb-core-compression :sb-xref-for-internals :sb-after-xc-core, plus
69+
* --fancy builds with several optional features as of 1.1.3:
70+
:sb-core-compression :sb-xref-for-internals :sb-after-xc-core, plus
7171
threading on supported platforms.
7272

73-
* For platforms with very limited memory, --dynamic-space-size=<MB>
73+
* For platforms with very limited memory, --dynamic-space-size=<MB>
7474
can help ensure that you don't blow the internal Lisp heap.

index.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1-
% articulate-common-lisp
1+
% Articulate Common Lisp
22
%
33
%
44

5-
how to write Common Lisp in 2013
5+
how to write Common Lisp in 2014
66

77
an initiation manual for the uninitiated
88

9-
```
10-
(initialize-new-lisper 'YOU)
11-
12-
```
13-
14-
159
---
1610

1711
* Set up your [lisp system](./env:lisp-system.html).

make.lisp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,13 @@
179179
(build-a-file file)
180180
;; Convert to `:` format when on Unix, i.e., a build machine.
181181
(when (find :unix *features*)
182-
(let ((args (list (format nil "site/~a.html" file)
183-
(format nil "site/~a.html"
184-
(cl-ppcre:regex-replace-all
185-
"~"
186-
file
187-
":")))))
188-
(external-program:run "cp" args))))
182+
(let ((args (list (format nil "site/~a.html" file)
183+
(format nil "site/~a.html"
184+
(cl-ppcre:regex-replace-all
185+
"~"
186+
file
187+
":")))))
188+
(external-program:run "cp" args :error *standard-output*))))
189189

190190
(format t "~&final reticulation...~&")
191191
;; Get the static content over.

makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
.PHONY: all
22

3-
all:
4-
sbcl --non-interactive --load make.lisp --eval '(build-files)'
3+
all: sbcl
4+
5+
sbcl:
6+
sbcl --non-interactive --load make.lisp --eval '(build-files)'
7+
8+
ccl:
9+
lx86cl64 -l make.lisp -e '(build-files)'

0 commit comments

Comments
 (0)