-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathindex.html
195 lines (190 loc) · 6.39 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
---
layout: default
css_file: landing
description: Common Lisp
---
<link rel="stylesheet" href="/assets/css/chartist-0.9.7.css">
<link rel="stylesheet" href="/assets/device-mockups/device-mockups.css">
<main class="landing">
{% include big-header.html text='Common Lisp' url='/assets/img/header/landing.jpg' %}
<section class="features">
<section class="extensible">
<h2>Extensible from the Inside-Out</h2>
<div class="row">
<div class="desc">
<blockquote>
<p>
Part of what makes Lisp distinctive is that it is designed to
evolve. As new abstractions become popular (object-oriented
programming, for example), it always turns out to be easy to
implement them in Lisp. Like DNA, such a language does not go out
of style.
</p>
<div class="source">
Paul Graham, <a href="/books/#ansi-common-lisp">ANSI Common Lisp</a>
</div>
</blockquote>
</div>
<div class="sample">
<p>
An example of <a href="https://github.com/fukamachi/sxql">SxQL</a>, a macro-based SQL DSL
</p>
<div class="window">
<div class="titlebar">
<div></div>
<div></div>
<div></div>
</div>
<div class="body">
<pre><code class="lisp">(select (:title :author :year)
(from :books)
(where (:and (:>= :year 1995)
(:< :year 2010)))
(order-by (:desc :year)))
⇒ ((:title "Practical Common Lisp"
:author "Peter Seibel"
:year 2005)
(:title "ANSI Common Lisp"
:author "Paul Graham"
:year 1995))</code></pre>
</div>
</div>
</div>
</div>
</section>
<section class="stable">
<div class="text">
<h2>Mature & Stable</h2>
<p>
An extensive <a href="/spec/">standard</a> provides a rock-solid
foundation that you can confidently build upon. You won't be
reinventing the same old wheels ten years from now.
</p>
</div>
</section>
<section class="paradigm">
<section class="box fp">
<h2>Functional</h2>
<div class="desc">
Functions are first class objects: you can pass them around, store
them, call them dynamically. Build your application by composing
small, functional building blocks.
</div>
<pre><code class="lisp">(reduce #'-
(reverse (list 1 2 3)))
⇒ 0
(mapcar #'string-downcase
(list "Hello" "world!"))
=> ("hello" "world!")</code></pre>
</section>
<section class="box oop">
<h2>Object-Oriented</h2>
<div class="desc">
Build reusable and extensible class hierarchies using the Common Lisp
Object System. Design patterns
<a href="http://norvig.com/design-patterns/design-patterns.pdf">disappear</a>
as you adapt the language to your problem domain.
</div>
<pre><code class="lisp">(defclass book ()
((title :reader book-title
:initarg :title)
(author :reader book-author
:initarg :author))
(:documentation "Describes a book."))
(make-instance 'book
:title "ANSI Common Lisp"
:author "Paul Graham")</code></pre>
</section>
</section>
<section class="fast">
<h2>Fast</h2>
<div id="perfchart" class="ct-chart ct-perfect-fourth"></div>
<div class="desc">
Requests per second using <a href="https://github.com/fukamachi/woo">Woo</a>, an HTTP server written in pure Common Lisp.
</div>
</section>
<section class="tools">
<div class="row">
<div class="desc">
<h2>Great Tools</h2>
<div class="text">
<p>
<a href="https://common-lisp.net/project/slime/">SLIME</a>, an IDE that leverages the power of Common
Lisp and the extensibility of Emacs, provides a development
environment ahead of anything else.
</p>
<p>
You can leave the write-compile-debug cycle behind. Everything is
interactive: try your code on the REPL as you write it, and a
powerful debugger lets you inspect trees of live values, or rewind
the stack to undo an exception.
</p>
</div>
</div>
<div class="device-wrapper">
<div class="device-mockup macbook">
<div class="device">
<div class="screen">
<a href="/assets/img/landing/slime.png">
<img src="/assets/img/landing/slime.png">
</a>
</div>
</div>
</div>
</div>
</div>
</section>
</section>
<section class="testimonials">
<ul>
{% for reference in site.data.testimonials %}
<li>
<div class="logo">
<img alt="{{ reference.company.name }}"
title="{{ reference.company.name }}"
src="/assets/img/companies/{{ reference.company.logo }}">
</div>
<div class="text-wrapper">
<div class="text">
{% if reference.description %}
{{ reference.description | markdownify }}
{% endif %}
{% if reference.quote %}
<blockquote>
{{ reference.quote.text | markdownify }}
<div class="source">
<a href="{{ reference.link }}">
{{ reference.quote.source }}
</a>
</div>
</blockquote>
{% endif %}
</div>
</div>
</li>
{% endfor %}
</ul>
<div class="text">
See more <a href="/success/">success stories</a>
</div>
</section>
<section class="start">
<a href="/learn/">Start here</a>
</section>
</main>
<script src="/assets/js/jquery-2.1.4.js"></script>
<script src="/assets/js/chartist-0.9.7.js"></script>
<script src="/assets/highlight-lisp/highlight-lisp.js"></script>
<script>
$(document).ready(function() {
// Performance chart
var chart = new Chartist.Bar('#perfchart', {
labels: ['Ruby', 'Node', 'Common Lisp'],
series: [9921, 11920, 15948]
}, {
distributeSeries: true
});
// Highlight
HighlightLisp.highlight_auto();
});
</script>