Skip to content

Commit 7b4ca70

Browse files
committed
.
1 parent 897448d commit 7b4ca70

10 files changed

+34
-40
lines changed

Readme

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
Sources for the arc community site at http://arclanguage.github.io.
2+
3+
The arc 3.1 reference at ref/ is generated from _ref/ using the generate.sh
4+
script.

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">wXYyWqoW
584+
<span class="return">rcBuBpsw
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">AeqW43S7
595+
<span class="return">Ti1rvDfO
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">((wXYyWqoW "testuser"))
617+
<span class="return">((rcBuBpsw "testuser"))
618618
</span></pre>
619619
</td></tr>
620620
<tr>

ref/foundation-doc.html

-383 Bytes
Binary file not shown.

ref/hdr1.html

+8-17
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,11 @@
1717
For more information on how the foundation is implemented, see my article
1818
<a href="http://arcfn.com/2008/02/arc-internals-part-1.html">Arc Internals</a>.
1919
<p>
20-
Arc was used to generate this document. I created a large Arc data structure
21-
holding the functions, arguments, description, headings, and test examples.
22-
I wrote a program in Arc that processes this data structure to generate the
23-
HTML file for this page.
24-
The functions are linked to the <a
25-
href="http://practical-scheme.net/wiliki/arcxref">Arc Cross Reference</a>
26-
website.
27-
The examples on the right, for the most part, show actual output from running
28-
the embedded code while generating the page. This ensures that the examples
29-
show actual behavior of the arc2 release.
30-
(A few commands, such as
31-
quit and the socket operations, are not suitable for execution in this
32-
way and their output was "faked".)
33-
<p>
34-
The documentation below is based on my exploration of the language.
35-
Undoubtedly this document contains many errors. In addition, the language is undergoing
36-
active modification. This documentation is based on the "arc3" release.
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.

ref/list.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -953,11 +953,11 @@ <h2>Sequence manipulation</h2>
953953
</td>
954954
<td class='arc'><pre>
955955
&gt;(rand-elt '(1 2 3))
956-
<span class="return">3
956+
<span class="return">2
957957
</span></pre>
958958
<pre>
959959
&gt;(rand-elt "abcd")
960-
<span class="return">#\b
960+
<span class="return">#\d
961961
</span></pre>
962962
</td></tr>
963963
<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">6
144+
<span class="return">4
145145
</span></pre>
146146
<pre>
147147
&gt;(rand)
148-
<span class="return">0.0015743529255188558
148+
<span class="return">0.6812081776306269
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">30666248
58+
<span class="return">30680360
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:03:24 GMT 2014
69+
<span class="stdout">Wed Apr 30 18:12:13 GMT 2014
7070

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

ref/srv.html

+7-7
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">tpKXT404yH
325+
<span class="return">y3K079fyYS
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=J1kYuuzbKM"
336+
<span class="return">"/x?fnid=4xCKylYMHp"
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=elm3lFDqfI"
347+
<span class="return">"/r?fnid=WbTEpxFZjI"
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">CU9NIdJZR3
866+
<span class="return">kwbAzlzNpP
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">3qn5VkjNV3
877+
<span class="return">0kvpw0s03i
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">Xwt9icvrMr
888+
<span class="return">XiyktOInEN
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">d3Ydy2c1
921+
<span class="return">JgQNB1w9
922922
</span></pre>
923923
</td></tr>
924924
<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">"pUwTWxX9iW"
180+
<span class="return">"CWYNapvb4J"
181181
</span></pre>
182182
</td></tr>
183183
<tr>

ref/time.html

+6-6
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">1398881007
66+
<span class="return">1398881535
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">1398881007418
78+
<span class="return">1398881535574
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">(27 3 18 30 4 2014)
89+
<span class="return">(15 12 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">161
105+
<span class="return">157
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">1825
117+
<span class="return">1806
118118
</span></pre>
119119
</td></tr>
120120
<tr>
@@ -213,7 +213,7 @@ <h2>Timing</h2>
213213
</td>
214214
<td class='arc'><pre>
215215
&gt;(time10 (sleep 0.1))
216-
<span class="stdout">time: 1000 msec.
216+
<span class="stdout">time: 1001 msec.
217217

218218
</span><span class="return">nil
219219
</span></pre>

0 commit comments

Comments
 (0)