]> gitweb.factorcode.org Git - factor.git/blob - extra/websites/factorcode/index.fhtml
8061308e9ce55bc5467701bac9fce4a4d57d334a
[factor.git] / extra / websites / factorcode / index.fhtml
1 <% USING: namespaces http.client kernel io.files splitting random io io.encodings.utf8 sequences
2 webapps.mason.version.data webapps.mason.backend webapps.mason.grids webapps.mason.downloads 
3 webapps.mason.utils html.elements html.streams accessors
4 xml.writer xmode.highlight ; %>
5
6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
7
8 <html xmlns="http://www.w3.org/1999/xhtml">
9 <head>
10 <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
11
12 <title>Factor programming language</title>
13 <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title" charset="utf-8" />
14 </head>
15
16 <body>
17
18 <div align="center">
19 <img src="logo.png" height="150" alt="Factor programming language" />
20 </div>
21
22 <table border="0" width="100%">
23
24 <tr>
25 <td width="50%" valign="top">
26
27 <h1>Why Factor?</h1>
28
29 <p>The <big>Factor programming language</big> combines <a href="http://concatenative.org/wiki/view/Factor/Features/The%20language">powerful language features</a> with a <a href="http://docs.factorcode.org/content/article-vocab-index.html">full-featured library</a>. The implementation is <a href="http://concatenative.org/wiki/view/Factor/Optimizing%20compiler">fully compiled</a> for performance, while still supporting <a href="http://concatenative.org/wiki/view/Factor/Interactive development">interactive development</a>. Factor applications are portable between all common platforms. Factor can <a href="http://concatenative.org/wiki/view/Factor/Deployment">deploy stand-alone applications</a> on all platforms. Full source code for the Factor project is available under a <a href="http://factorcode.org/license.txt">BSD license</a>.</p>
30
31 <ul>
32 <li>Screenshots: <a href="http://factorcode.org/factor-macosx.png">Mac OS X</a>, <a href="http://factorcode.org/factor-windows7.png">Windows</a></li>
33 <li><a href="http://concatenative.org/wiki/view/Factor">Learn more about Factor</a></li>
34 <li><a href="http://concatenative.org/wiki/view/Factor/Learning">Get started programming with Factor</a></li>
35 <li><a href="http://concatenative.org/wiki/view/Factor/FAQ">Get answers to frequently-asked questions</a></li>
36 <li><a href="http://docs.factorcode.org/">Read Factor reference documentation online</a></li>
37 <li><a href="http://concatenative.org/wiki/view/Concatenative%20language">Learn more about concatenative programming</a></li>
38 <li><a href="http://github.com/factor/factor/issues">Report a bug</a></li>
39 </ul>
40
41 <p>Most of the above links point to pages on the <a href="http://concatenative.org">concatenative.org wiki</a>.</p>
42 </td>
43
44 <td width="50%" valign="top">
45
46 <h1>Show me some code!</h1>
47
48 <p>Factor belongs to the family of <em><a href="http://concatenative.org/wiki/view/Concatenative%20language">concatenative languages</a></em>: this means that, at the lowest level, a Factor program is a series of words (functions) that manipulate a stack of references to dynamically-typed values. This gives the language a powerful foundation which allows many abstractions and paradigms to be built on top. Reload this page to see a random code example below.</p>
49
50 <pre><%
51 "resource:extra/websites/factorcode/examples.txt" utf8 file-lines
52 { "----" } split random
53 "factor" [ highlight-lines ] with-html-writer
54 xml>string write-html
55 %></pre>
56
57 <p>See the <a href="http://concatenative.org/wiki/view/Factor/Examples">example programs</a> page on the wiki for more.</p>
58
59 </td>
60 </tr>
61
62 </table>
63
64 <h1>Downloads</h1>
65
66 <% [ %>
67
68 <p>To download a binary, follow the link corresponding to your computer's CPU/OS configuration. Binary packages are the recommended route for new users who wish to try Factor.</p>
69
70 <h2>Stable release:
71 <% latest-version <a [ announcement-url>> =href a> ] [ version>> write ] bi </a> %>
72 </h2>
73
74 <% release-grid write-xml %>
75
76 <p><b>Source code</b>:
77 <% latest-version <a [ source-path>> download-url =href a> ] [ version>> write ] bi </a> %>
78 </p>
79
80 <h2>Development release</h2>
81
82 <% package-grid write-xml %>
83
84 <% ] with-mason-db %>
85
86 <p>Stable and development releases are built and uploaded by the <a href="http://concatenative.org/wiki/view/Factor/Build farm">build farm</a>. Follow <a href="http://twitter.com/FactorBuilds">@FactorBuilds</a> on Twitter to receive notifications. If you're curious, take a look at the <a href="http://builds.factorcode.org/dashboard">build farm dashboard</a>.</p>
87
88 <p><b>Source code</b> is stored in our <a href="http://concatenative.org/wiki/view/Factor/GIT repository">GIT repository</a>. Source can can be browsed online via <a href="http://github.com/factor/factor/">github</a> or <a href="http://gitweb.factorcode.org/">gitweb</a>.</p>
89
90 <h1>More</h1>
91
92 <ul>
93 <li><a href="http://concatenative.org/wiki/view/Factor/Mailing list">Join the mailing list</a></li>
94 <li><a href="http://concatenative.org/wiki/view/Concatenative IRC channel">Join the IRC channel</a></li>
95 <li><a href="http://planet.factorcode.org/">planet.factorcode.org</a> - Factor community blogs</li>
96 <li><a href="http://concatenative.org/wiki/view/Concatenative%20language/Publications">Academic publications</a></li>
97 <li><a href="http://paste.factorcode.org/">Factor community pastebin</a> - if you're in an IRC channel and want to share some code</li>
98 </ul>
99
100 <br/>
101 <table align="center"><tr>
102 <td>Hosting provided by</td>
103 <td><img src="rackspace.jpg" height="80" alt="Rackspace" /></td>
104 </tr>
105 </table>
106
107 </body>
108 </html>