Skip to content

Commit

Permalink
Merge pull request bellard#11 from hsiaosiyuan0/temp
Browse files Browse the repository at this point in the history
feat: imgs
  • Loading branch information
hsiaosiyuan0 authored Jul 29, 2023
2 parents 1acda23 + 5d56c97 commit b4b3861
Show file tree
Hide file tree
Showing 109 changed files with 2,910 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@
/vcpkg_installed
vcpkg-manifest-install.log
/tmp_test*
/tmp_test_*.log
/tmp_test_*.log
*.bkp
*.dtmp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/apt_update.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/apt_upgrade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions imgs/ast.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<mxfile host="Electron" modified="2023-06-26T00:42:23.529Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/21.5.0 Chrome/112.0.5615.204 Electron/24.5.1 Safari/537.36" etag="P1NwehlUDTjf0joYYLfC" version="21.5.0" type="device">
<diagram name="Page-1" id="RwfPNfhvXtgPBQgHzjWf">
<mxGraphModel dx="1306" dy="854" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="6fFnpI2ETUbby9dZv0s2-1" value="&lt;b style=&quot;font-weight:normal;&quot; id=&quot;docs-internal-guid-d1765ab8-7fff-5156-de28-8e75f1ed28f1&quot;&gt;&lt;img width=&quot;244px;&quot; height=&quot;238px;&quot; src=&quot;https://lh6.googleusercontent.com/lfd56HSnweto-8dXkMeST1R-JptDX59SEBaXvdftJEbozCKcspHJABIKOLk9avf7b3ohm2aB9Om6vp_vhwcFcV166Yq16Ca-K3CZ8Z-AsE2sbXnP1-ZK_7W7bXWT3C5gdFkXP09m8lU6xnRTfe9dPGfW=s2048&quot;&gt;&lt;/b&gt;" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="120" y="250" width="280" height="260" as="geometry" />
</mxCell>
<mxCell id="6fFnpI2ETUbby9dZv0s2-2" value="&lt;font style=&quot;font-size: 14px;&quot;&gt;AddExpr: +&lt;/font&gt;" style="rounded=1;whiteSpace=wrap;html=1;arcSize=5;fontFamily=SF Mono;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="510" y="280" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="6fFnpI2ETUbby9dZv0s2-3" value="&lt;font style=&quot;font-size: 14px;&quot;&gt;1&lt;/font&gt;" style="rounded=1;whiteSpace=wrap;html=1;arcSize=5;fontFamily=SF Mono;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;" vertex="1" parent="1">
<mxGeometry x="460" y="360" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="6fFnpI2ETUbby9dZv0s2-4" value="&lt;font style=&quot;font-size: 14px;&quot;&gt;2&lt;/font&gt;" style="rounded=1;whiteSpace=wrap;html=1;arcSize=5;fontFamily=SF Mono;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;" vertex="1" parent="1">
<mxGeometry x="580" y="440" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="6fFnpI2ETUbby9dZv0s2-6" value="&lt;font style=&quot;font-size: 14px;&quot;&gt;MulExpr: *&lt;/font&gt;" style="rounded=1;whiteSpace=wrap;html=1;arcSize=5;fontFamily=SF Mono;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="620" y="360" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="6fFnpI2ETUbby9dZv0s2-7" value="&lt;font style=&quot;font-size: 14px;&quot;&gt;2&lt;/font&gt;" style="rounded=1;whiteSpace=wrap;html=1;arcSize=5;fontFamily=SF Mono;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;" vertex="1" parent="1">
<mxGeometry x="740" y="440" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="6fFnpI2ETUbby9dZv0s2-8" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6fFnpI2ETUbby9dZv0s2-2" target="6fFnpI2ETUbby9dZv0s2-3">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="340" y="420" as="sourcePoint" />
<mxPoint x="390" y="370" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6fFnpI2ETUbby9dZv0s2-9" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6fFnpI2ETUbby9dZv0s2-2" target="6fFnpI2ETUbby9dZv0s2-6">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="340" y="420" as="sourcePoint" />
<mxPoint x="390" y="370" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6fFnpI2ETUbby9dZv0s2-10" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6fFnpI2ETUbby9dZv0s2-6" target="6fFnpI2ETUbby9dZv0s2-4">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="340" y="420" as="sourcePoint" />
<mxPoint x="390" y="370" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6fFnpI2ETUbby9dZv0s2-11" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6fFnpI2ETUbby9dZv0s2-6" target="6fFnpI2ETUbby9dZv0s2-7">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="340" y="420" as="sourcePoint" />
<mxPoint x="390" y="370" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Binary file added imgs/ast.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/async_flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
136 changes: 136 additions & 0 deletions imgs/atom_array.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
<mxfile host="Electron" modified="2023-06-15T00:57:40.686Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/21.4.0 Chrome/112.0.5615.204 Electron/24.5.1 Safari/537.36" etag="2CCriS91GI7xx67yTwhX" version="21.4.0" type="device">
<diagram id="BE0ovioZWPl28bur3GKl" name="Page-1">
<mxGraphModel dx="1088" dy="745" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="1" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="d7k7JaHhVkfDtRXN3Bn--1" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#CCCCFF;strokeColor=#6c8ebf;arcSize=5;" parent="1" vertex="1">
<mxGeometry x="393" y="720" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--2" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#CCCCFF;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="433" y="720" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--3" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#CCCCFF;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="473" y="720" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--4" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#CCCCFF;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="513" y="720" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--5" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#CCCCFF;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="553" y="720" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--6" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#CCCCFF;strokeColor=#6c8ebf;arcSize=5;" parent="1" vertex="1">
<mxGeometry x="593" y="720" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--7" value="&lt;font color=&quot;#b5739d&quot; style=&quot;font-size: 14px;&quot;&gt;atom_array&lt;/font&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=SF Mono;" parent="1" vertex="1">
<mxGeometry x="279" y="725" width="110" height="30" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--8" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;arcSize=5;" parent="1" vertex="1">
<mxGeometry x="353" y="585" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--9" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="393" y="585" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--10" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="433" y="585" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--11" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="473" y="585" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--12" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="513" y="585" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--13" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;arcSize=5;" parent="1" vertex="1">
<mxGeometry x="553" y="585" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--14" value="&lt;font color=&quot;#b5739d&quot; style=&quot;font-size: 14px;&quot;&gt;atom_hash&lt;/font&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=SF Mono;" parent="1" vertex="1">
<mxGeometry x="247" y="590" width="90" height="30" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--16" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="d7k7JaHhVkfDtRXN3Bn--10" target="d7k7JaHhVkfDtRXN3Bn--2" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="390" y="440" as="sourcePoint" />
<mxPoint x="440" y="390" as="targetPoint" />
<Array as="points">
<mxPoint x="453" y="680" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--29" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="d7k7JaHhVkfDtRXN3Bn--2" target="dHQ5mNr2f7TnLZc9f3mp-4" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="663" y="860" as="sourcePoint" />
<mxPoint x="453" y="850" as="targetPoint" />
<Array as="points">
<mxPoint x="453" y="800" />
<mxPoint x="453" y="840" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--35" value="&lt;span style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;&lt;font style=&quot;font-size: 16px;&quot;&gt;$$idx_{atom\_array}$$&lt;/font&gt;&lt;/span&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;glass=0;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="320" y="650" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="d7k7JaHhVkfDtRXN3Bn--39" value="&lt;span style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;&lt;font style=&quot;font-size: 12px;&quot;&gt;hash_next&lt;/font&gt;&lt;/span&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;glass=0;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="423" y="924" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="dHQ5mNr2f7TnLZc9f3mp-4" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;imageHeight=24;arcSize=5;" parent="1" vertex="1">
<mxGeometry x="433" y="840" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="dHQ5mNr2f7TnLZc9f3mp-6" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;arcSize=5;" parent="1" vertex="1">
<mxGeometry x="680" y="840" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="dHQ5mNr2f7TnLZc9f3mp-9" value="&lt;font style=&quot;font-size: 12px;&quot;&gt;JSString&lt;/font&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=SF Mono;" parent="1" vertex="1">
<mxGeometry x="357" y="845" width="77" height="30" as="geometry" />
</mxCell>
<mxCell id="dHQ5mNr2f7TnLZc9f3mp-10" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="dHQ5mNr2f7TnLZc9f3mp-4" target="d7k7JaHhVkfDtRXN3Bn--4" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="580" y="670" as="sourcePoint" />
<mxPoint x="630" y="620" as="targetPoint" />
<Array as="points">
<mxPoint x="453" y="920" />
<mxPoint x="533" y="920" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="dHQ5mNr2f7TnLZc9f3mp-13" value="&lt;font style=&quot;font-size: 12px;&quot;&gt;JSString&lt;/font&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=SF Mono;" parent="1" vertex="1">
<mxGeometry x="723" y="845" width="70" height="30" as="geometry" />
</mxCell>
<mxCell id="dHQ5mNr2f7TnLZc9f3mp-14" value="" style="endArrow=classic;html=1;rounded=0;fontSize=16;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="d7k7JaHhVkfDtRXN3Bn--4" target="dHQ5mNr2f7TnLZc9f3mp-6" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="570" y="730" as="sourcePoint" />
<mxPoint x="620" y="680" as="targetPoint" />
<Array as="points">
<mxPoint x="533" y="680" />
<mxPoint x="700" y="680" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="dHQ5mNr2f7TnLZc9f3mp-17" value="&lt;font face=&quot;SF Mono&quot; style=&quot;font-size: 12px;&quot;&gt;JSString*&lt;/font&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;" parent="1" vertex="1">
<mxGeometry x="360" y="780" width="90" height="30" as="geometry" />
</mxCell>
<mxCell id="dHQ5mNr2f7TnLZc9f3mp-18" value="JSString*" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontFamily=SF Mono;" parent="1" vertex="1">
<mxGeometry x="699" y="720" width="90" height="30" as="geometry" />
</mxCell>
<mxCell id="dHQ5mNr2f7TnLZc9f3mp-19" value="&lt;span style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;$$idx_{atom\_hash}$$&lt;/span&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;" parent="1" vertex="1">
<mxGeometry x="423" y="510" width="110" height="30" as="geometry" />
</mxCell>
<mxCell id="e04o6s8iYcdu_MtuzH4c-1" value="&lt;font style=&quot;font-size: 12px;&quot;&gt;StringData&lt;/font&gt;" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;arcSize=5;fontFamily=SF Mono;" parent="1" vertex="1">
<mxGeometry x="140" y="440" width="100" height="40" as="geometry" />
</mxCell>
<mxCell id="e04o6s8iYcdu_MtuzH4c-2" value="$$hash(StringData)\rightarrow idx_{atom\_hash}&lt;br&gt;$$" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#CCE5FF;strokeColor=#3399FF;arcSize=5;" parent="1" vertex="1">
<mxGeometry x="349" y="440" width="257" height="40" as="geometry" />
</mxCell>
<mxCell id="e04o6s8iYcdu_MtuzH4c-3" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="e04o6s8iYcdu_MtuzH4c-1" target="e04o6s8iYcdu_MtuzH4c-2" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="580" y="590" as="sourcePoint" />
<mxPoint x="630" y="540" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="e04o6s8iYcdu_MtuzH4c-4" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="e04o6s8iYcdu_MtuzH4c-2" target="d7k7JaHhVkfDtRXN3Bn--9" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="580" y="590" as="sourcePoint" />
<mxPoint x="630" y="540" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Binary file added imgs/atom_array.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b4b3861

Please sign in to comment.