on master help sign in
remove extra table
2fcd64dChristopher King
docs/hoon_javascript_analogies.md+1−14
@@ -3,19 +3,6 @@
3Below find a table of analogies between Hoon and Javascript terms that may be useful for learners. Note that these correspondences are mostly inexact and should serve only as guideposts on the path to
3Below find a table of analogies between Hoon and Javascript terms that may be useful for learners. Note that these correspondences are mostly inexact and should serve only as guideposts on the path to
4comprehending Hoon on its own terms.
4comprehending Hoon on its own terms.
5
5
6−|Hoon Term |Javascript Term |
7−|--------------|----------------------------------------------------------------------------------------------------------------------------------------------|
8−|core |the Map object |
9−|arm |a key-value pair in the Map object |
10−|"formula" |function invocation |
11−|"subject" |the invoked function and its scope |
12−|=< ('tisgal') |takes two children, a function invocation as well as the invoked function and its scope (the Hoon terms "formula" and "subject" defined above)|
13−||= ('bartis') |function |
14−|=| ('tisbar') |declare a variable |
15−||- ('barhep') |initialize a loop |
16−|?: ('wutcol') |initialize if statement |
17−|:- ('colhep') |somewhat similar to the "return" keyword in a much expanded form |
18−
19<table>
6<table>
20 <tr>
7 <tr>
21 <td><strong>Hoon Term</strong></td>
8 <td><strong>Hoon Term</strong></td>
@@ -39,7 +26,7 @@ comprehending Hoon on its own terms.
39 </tr>
26 </tr>
40 <tr>
27 <tr>
41 <td>=< ('tisgal')</td>
28 <td>=< ('tisgal')</td>
42− <td>takes two children, a function invocation as well as the invoked function and its scope (the Hoon terms "formula" and "subject" defined above)</td>
29+ <td>takes two children</td>
43 </tr>
30 </tr>
44 <tr>
31 <tr>
45 <td>|= ('bartis')</td>
32 <td>|= ('bartis')</td>