Skip to content

Commit d87fe57

Browse files
committed
README: adding to mission statement
1 parent 62ac2ad commit d87fe57

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ I'm jotting down some very early thoughts on what I think I want to design for t
88

99
It should feel intuitive when doing the *right*™ things, appear obvious when doing the *risky* things, and discourage doing the *dangerous* things.
1010

11+
**Foi** is a language you write for other humans to read first. It's only a secondary benefit that the computer can understand the code and execute the desired operations.
12+
1113
<details>
1214
<summary>Inspirational/Aspirational Design Ideas for Foi</summary>
1315
<p></p>
@@ -47,25 +49,23 @@ It should feel intuitive when doing the *right*&trade; things, appear obvious wh
4749

4850
Here are some screenshots showing typical JS code (on top, in each image) to the equivalent **Foi** code (on bottom, in each image).
4951

50-
<p>
51-
<a href="foi-js-comparison-1.png"><img src="foi-js-comparison-1.png" width=300 alt="Comparison: chunking an array"></a>
52-
</p>
53-
54-
<p>
55-
<a href="foi-js-comparison-2.png"><img src="foi-js-comparison-2.png" width=300 alt="Comparison: memoized fibonacci number computation"></a>
56-
</p>
57-
58-
<p>
59-
<a href="foi-js-comparison-3.png"><img src="foi-js-comparison-3.png" width=300 alt="Comparison: async..await fetch + rendering html"></a>
60-
</p>
52+
<table>
53+
<tr>
54+
<td valign="top"><a href="foi-js-comparison-1.png"><img src="foi-js-comparison-1.png" width=300 alt="Comparison: chunking an array"></a></td>
55+
<td rowspan="2" valign="top"><a href="foi-js-comparison-3.png"><img src="foi-js-comparison-3.png" width=300 alt="Comparison: async..await fetch + rendering html"></a></td>
56+
</tr>
57+
<tr>
58+
<td><a href="foi-js-comparison-2.png"><img src="foi-js-comparison-2.png" width=300 alt="Comparison: memoized fibonacci number computation"></a></td>
59+
</tr>
60+
</table>
6161

62-
The syntax highlighting of the **Foi** code in these screenshots is produced by the [Foi-Toy tool](#foy-toy) included in this repository.
62+
The syntax highlighting of the **Foi** code in these screenshots is produced by the [Foi-Toy tool](#foi-toy) included in this repository.
6363

6464
----
6565

6666
## Foi-Toy
6767

68-
[Foi-Toy](/foi-toy/#readme) is an experimental tool for playing around with **Foi** code, prior to there being an official compiler.
68+
[Foi-Toy](foi-toy/README.md) is an experimental tool for playing around with **Foi** code, prior to there being an official compiler.
6969

7070
Foi-Toy currently supports tokenizing **Foi** code, and syntax highlighting (via HTML/CSS) as shown in the above screenshots.
7171

0 commit comments

Comments
 (0)