git @ Cat's Eye Technologies beta-Juliet / 396a6fe
Import 2Iota version 1.0 revision 2011.1214 sources. Cat's Eye Technologies 12 years ago
1 changed file(s) with 14 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
00 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1 <!-- encoding: UTF-8 -->
12 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
23 <head>
34 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
45 <title>The 2Iota Programming Language</title>
6 <!-- begin html doc dynamic markup -->
7 <script type="text/javascript" src="/contrib/jquery-1.6.4.min.js"></script>
8 <script type="text/javascript" src="/scripts/documentation.js"></script>
9 <!-- end html doc dynamic markup -->
510 </head>
611 <body>
712
813 <h1>2Iota</h1>
914
1015 <p>Language version 1.0, revision 2010.0428.
11 <br/>&copy;2004-2010 Cat's Eye Technologies.</p>
16 <br/>©2004-2010 Cat's Eye Technologies.</p>
1217
1318 <h2>Overview</h2>
1419
1520 <p>2Iota is the successor language to the
1621 <a href="/projects/b_juliet/">beta-Juliet and Portia languages</a>.
17 It is extremely similar &mdash; nearly identical &mdash; in syntax and semantics to these languages,
22 It is extremely similar — nearly identical — in syntax and semantics to these languages,
1823 with the following exceptions:</p>
1924
2025 <ul>
3641 <code>Sun Sets</code>, <code>Address Line Six Goes High</code>
3742 and <code>Greengrocer Falls Asleep on Subway</code>.</p>
3843
39 <p>The occurance of each event may cause any number of other events to
40 happen &mdash; these are termed <dfn>consequences</dfn> of the event. These
44 <p>The occurence of each event may cause any number of other events to
45 happen — these are termed <dfn>consequences</dfn> of the event. These
4146 consequences may be conditional. However, the only condition available for
4247 checking is: <em>given two events, which one happened more recently?</em></p>
4348
7479 symbol in a string is in the same alphabet.</p>
7580
7681 <p>Thus, for some alphabet, every symbol-string has one and only one successor.
77 Again, though, there is one symbol-string which has no predecessor &mdash; the symbol-string
82 Again, though, there is one symbol-string which has no predecessor — the symbol-string
7883 which is one symbol long, where that symbol is the first symbol of the alphabet.</p>
7984
8085 <p>These concepts are implemented in 2Iota with <dfn>modifiers</dfn>.
8287 bound to, and this can be altered by one of the following modifiers:</p>
8388
8489 <ul>
85 <li><code>next</code> &mdash; assuming the value is a single symbol, use the next symbol
90 <li><code>next</code> — assuming the value is a single symbol, use the next symbol
8691 in its alphabet instead;</li>
87 <li><code>prev</code> &mdash; assuming the value is a single symbol, use the previous symbol
92 <li><code>prev</code> — assuming the value is a single symbol, use the previous symbol
8893 in its alphabet instead;</li>
89 <li><code>succ</code> &mdash; assuming the value is a symbol-string, use the successor
94 <li><code>succ</code> — assuming the value is a symbol-string, use the successor
9095 symbol-string over its alphabet;</li>
91 <li><code>pred</code> &mdash; assuming the value is a symbol-string, use the predecessor
96 <li><code>pred</code> — assuming the value is a symbol-string, use the predecessor
9297 symbol-string over its alphabet instead.</li>
9398 </ul>
9499