Skip to content

Commit 1c1edea

Browse files
committed
.
1 parent a8b046d commit 1c1edea

File tree

10 files changed

+53
-71
lines changed

10 files changed

+53
-71
lines changed

_ref/docs/hdr1.html

+15-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,18 @@
11
The Arc language is implemented by a "foundation" of functionality
2-
implemented in Scheme in
3-
<code>ac.scm</code>. On top of this the <a
2+
implemented in Scheme in <code>ac.scm</code>. On top of this the <a
43
href="http://paulgraham.com/core.html">core</a> of the language is implemented
5-
in the Arc language itself in <code>arc.arc</code>. Finally, various libraries
6-
are implemented on top of the core. This page provides some documentation
7-
of the functionality in the foundation.
8-
<p>
9-
In one sense, the foundation can be considered the "<a
10-
href="http://paulgraham.com/arcchallenge.html">axioms</a>", and the full language is
11-
created out of these axioms. However, in my view, the current foundation
12-
both contains too much and too little to be considered an axiomatic base.
13-
For example, it contains enough networking functionality to implement a
14-
web server, but not enough to fetch a web page. The math functions include
15-
square root and exponentiation, but not trigonometry. Nonetheless, the
16-
foundation provides the basis for a very interesting language.
17-
For more information on how the foundation is implemented, see my article
4+
in the Arc language itself in <code>arc.arc</code>. Finally, various libraries
5+
are implemented on top of the core. This page provides some documentation
6+
of the functionality in the foundation. For more information on how the
7+
foundation is implemented, see the article
188
<a href="http://arcfn.com/2008/02/arc-internals-part-1.html">Arc Internals</a>.
19-
<p>
20-
This reference was created using Arc. An Arc data structure contains the
21-
functions, descriptions and test examples, and an Arc program processes this
22-
data structure to generate html. The examples on the right, for the most part,
23-
show actual output from running the embedded code while generating the page.
24-
(A few commands, such as quit and the socket operations, are not suitable for
25-
execution in this way and their output was "faked".)
26-
Please inform us in <a href='http://arclanguage.org/forum'>the forum</a> if
27-
you find anything unclear or anomalous.
9+
10+
<br/><br/>
11+
This reference was created using
12+
<a href='https://github.com/arclanguage/arclanguage.github.io/blob/master/_ref/generate.sh'>an Arc program</a>
13+
The examples on the right, for
14+
the most part, show actual output from running the embedded code while
15+
generating the page. (A few commands, such as quit and the socket operations,
16+
are not suitable for execution in this way and their output was "faked".)
17+
Please inform <a href='http://arclanguage.org/forum'>the forum</a> if you find
18+
anything unclear or anomalous.

ref/app.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ <h2>Internals</h2>
581581
</td>
582582
<td class='arc'><pre>
583583
&gt;(cook-user "testuser")
584-
<span class="return">usYl7TEc
584+
<span class="return">KUOpf1Nv
585585
</span></pre>
586586
</td></tr>
587587
<tr>
@@ -592,7 +592,7 @@ <h2>Internals</h2>
592592
</td>
593593
<td class='arc'><pre>
594594
&gt;(new-user-cookie)
595-
<span class="return">U9hwwxYC
595+
<span class="return">isTRZEx8
596596
</span></pre>
597597
</td></tr>
598598
<tr>
@@ -614,7 +614,7 @@ <h2>Internals</h2>
614614
</td>
615615
<td class='arc'><pre>
616616
&gt;(disable-acct "badperson")
617-
<span class="return">((usYl7TEc "testuser"))
617+
<span class="return">((KUOpf1Nv "testuser"))
618618
</span></pre>
619619
</td></tr>
620620
<tr>

ref/foundation-doc.html

-615 Bytes
Binary file not shown.

ref/hdr1.html

+15-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,18 @@
11
The Arc language is implemented by a "foundation" of functionality
2-
implemented in Scheme in
3-
<code>ac.scm</code>. On top of this the <a
2+
implemented in Scheme in <code>ac.scm</code>. On top of this the <a
43
href="http://paulgraham.com/core.html">core</a> of the language is implemented
5-
in the Arc language itself in <code>arc.arc</code>. Finally, various libraries
6-
are implemented on top of the core. This page provides some documentation
7-
of the functionality in the foundation.
8-
<p>
9-
In one sense, the foundation can be considered the "<a
10-
href="http://paulgraham.com/arcchallenge.html">axioms</a>", and the full language is
11-
created out of these axioms. However, in my view, the current foundation
12-
both contains too much and too little to be considered an axiomatic base.
13-
For example, it contains enough networking functionality to implement a
14-
web server, but not enough to fetch a web page. The math functions include
15-
square root and exponentiation, but not trigonometry. Nonetheless, the
16-
foundation provides the basis for a very interesting language.
17-
For more information on how the foundation is implemented, see my article
4+
in the Arc language itself in <code>arc.arc</code>. Finally, various libraries
5+
are implemented on top of the core. This page provides some documentation
6+
of the functionality in the foundation. For more information on how the
7+
foundation is implemented, see the article
188
<a href="http://arcfn.com/2008/02/arc-internals-part-1.html">Arc Internals</a>.
19-
<p>
20-
This reference was created using Arc. An Arc data structure contains the
21-
functions, descriptions and test examples, and an Arc program processes this
22-
data structure to generate html. The examples on the right, for the most part,
23-
show actual output from running the embedded code while generating the page.
24-
(A few commands, such as quit and the socket operations, are not suitable for
25-
execution in this way and their output was "faked".)
26-
Please inform us in <a href='http://arclanguage.org/forum'>the forum</a> if
27-
you find anything unclear or anomalous.
9+
10+
<br/><br/>
11+
This reference was created using
12+
<a href='https://github.com/arclanguage/arclanguage.github.io/blob/master/_ref/generate.sh'>an Arc program</a>
13+
The examples on the right, for
14+
the most part, show actual output from running the embedded code while
15+
generating the page. (A few commands, such as quit and the socket operations,
16+
are not suitable for execution in this way and their output was "faked".)
17+
Please inform <a href='http://arclanguage.org/forum'>the forum</a> if you find
18+
anything unclear or anomalous.

ref/list.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ <h2>Sequence manipulation</h2>
957957
</span></pre>
958958
<pre>
959959
&gt;(rand-elt "abcd")
960-
<span class="return">#\d
960+
<span class="return">#\a
961961
</span></pre>
962962
</td></tr>
963963
<tr>
@@ -1154,7 +1154,7 @@ <h2>Other</h2>
11541154
</td>
11551155
<td class='arc'><pre>
11561156
&gt;(rand-choice "a" 42 '(1 2 3))
1157-
<span class="return">42
1157+
<span class="return">(1 2 3)
11581158
</span></pre>
11591159
</td></tr>
11601160
<tr>

ref/math.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,11 @@ <h2>Math operations</h2>
141141
</td>
142142
<td class='arc'><pre>
143143
&gt;(rand 10)
144-
<span class="return">3
144+
<span class="return">5
145145
</span></pre>
146146
<pre>
147147
&gt;(rand)
148-
<span class="return">0.46556181363688254
148+
<span class="return">0.9008386175554323
149149
</span></pre>
150150
</td></tr>
151151
<tr>

ref/os.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ <h2>Other OS Operations</h2>
5555
</td>
5656
<td class='arc'><pre>
5757
&gt;(memory)
58-
<span class="return">30655888
58+
<span class="return">30670696
5959
</span></pre>
6060
</td></tr>
6161
<tr>
@@ -66,7 +66,7 @@ <h2>Other OS Operations</h2>
6666
</td>
6767
<td class='arc'><pre>
6868
&gt;(system "date")
69-
<span class="stdout">Wed Apr 30 18:14:03 GMT 2014
69+
<span class="stdout">Wed Apr 30 18:22:33 GMT 2014
7070

7171
</span><span class="return">nil
7272
</span></pre>

ref/srv.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ <h2>Web server</h2>
322322
</td>
323323
<td class='arc'><pre>
324324
&gt;(afnid (fn (req) (prn "\nFnid is " it)))
325-
<span class="return">mqMwa6KkSx
325+
<span class="return">X1KOo4LZyc
326326
</span></pre>
327327
</td></tr>
328328
<tr>
@@ -333,7 +333,7 @@ <h2>Web server</h2>
333333
</td>
334334
<td class='arc'><pre>
335335
&gt;(flink (fn (req) (prn "hi")))
336-
<span class="return">"/x?fnid=N85vCdCIqx"
336+
<span class="return">"/x?fnid=GeGuR2r8nj"
337337
</span></pre>
338338
</td></tr>
339339
<tr>
@@ -344,7 +344,7 @@ <h2>Web server</h2>
344344
</td>
345345
<td class='arc'><pre>
346346
&gt;(rflink (fn (req) (prn "Header: x") "foo"))
347-
<span class="return">"/r?fnid=hRiFOKyHAX"
347+
<span class="return">"/r?fnid=GbzuppNR8V"
348348
</span></pre>
349349
</td></tr>
350350
<tr>
@@ -863,7 +863,7 @@ <h2>Web server internals</h2>
863863
</td>
864864
<td class='arc'><pre>
865865
&gt;(new-fnid)
866-
<span class="return">XFE531jw5X
866+
<span class="return">ioUAGxvFeM
867867
</span></pre>
868868
</td></tr>
869869
<tr>
@@ -874,7 +874,7 @@ <h2>Web server internals</h2>
874874
</td>
875875
<td class='arc'><pre>
876876
&gt;(fnid (fn (req) (prn "hi")))
877-
<span class="return">5BHAKxfZvy
877+
<span class="return">Uc6eAazDMQ
878878
</span></pre>
879879
</td></tr>
880880
<tr>
@@ -885,7 +885,7 @@ <h2>Web server internals</h2>
885885
</td>
886886
<td class='arc'><pre>
887887
&gt;(timed-fnid 100 (fn (req) (prn "hi")))
888-
<span class="return">yJ4cTGm5bV
888+
<span class="return">5Lyv6Pa5Js
889889
</span></pre>
890890
</td></tr>
891891
<tr>
@@ -918,7 +918,7 @@ <h2>Web server internals</h2>
918918
</td>
919919
<td class='arc'><pre>
920920
&gt;(unique-id)
921-
<span class="return">r4b0CONR
921+
<span class="return">uiRnPsqj
922922
</span></pre>
923923
</td></tr>
924924
<tr>
@@ -1037,7 +1037,7 @@ <h2>Web server internals</h2>
10371037
</td>
10381038
<td class='arc'><pre>
10391039
&gt;(keys redirector*)
1040-
<span class="return">(baz y bar r)
1040+
<span class="return">(baz bar y r)
10411041
</span></pre>
10421042
</td></tr>
10431043
<tr>

ref/string.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ <h2>String operations</h2>
177177
</td>
178178
<td class='arc'><pre>
179179
&gt;(rand-string 10)
180-
<span class="return">"UhMNYB5Stv"
180+
<span class="return">"KG3PEhoTBw"
181181
</span></pre>
182182
</td></tr>
183183
<tr>

ref/time.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ <h2>Time</h2>
6363
</td>
6464
<td class='arc'><pre>
6565
&gt;(seconds)
66-
<span class="return">1398881645
66+
<span class="return">1398882156
6767
</span></pre>
6868
</td></tr>
6969
<tr>
@@ -75,7 +75,7 @@ <h2>Time</h2>
7575
</td>
7676
<td class='arc'><pre>
7777
&gt;(msec)
78-
<span class="return">1398881645858
78+
<span class="return">1398882156483
7979
</span></pre>
8080
</td></tr>
8181
<tr>
@@ -86,7 +86,7 @@ <h2>Time</h2>
8686
</td>
8787
<td class='arc'><pre>
8888
&gt;(timedate)
89-
<span class="return">(5 14 18 30 4 2014)
89+
<span class="return">(36 22 18 30 4 2014)
9090
</span></pre>
9191
<pre>
9292
&gt;(timedate 0)
@@ -102,7 +102,7 @@ <h2>Time</h2>
102102
</td>
103103
<td class='arc'><pre>
104104
&gt;(current-gc-milliseconds)
105-
<span class="return">163
105+
<span class="return">164
106106
</span></pre>
107107
</td></tr>
108108
<tr>
@@ -114,7 +114,7 @@ <h2>Time</h2>
114114
</td>
115115
<td class='arc'><pre>
116116
&gt;(current-process-milliseconds)
117-
<span class="return">1794
117+
<span class="return">1840
118118
</span></pre>
119119
</td></tr>
120120
<tr>

0 commit comments

Comments
 (0)