Skip to content

Commit

Permalink
riscv/fysh: Add comment about Fysh-C interop
Browse files Browse the repository at this point in the history
  • Loading branch information
cbebe committed Oct 19, 2024
1 parent aed442a commit 3a82894
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions pkg/riscv/fysh/simple-matrix.fysh
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,19 @@ x x x x x x x x

><(((@> [><{°>]
><>
[><(({°> >(draw fysh) ><(((°>] ~
[><(({°> >(draw fysh) ><(({°>] ~
[><(({°> >(draw fysh) ><({(°>] ~
[><(({°> >(draw fysh) ><({{°>] ~
[><(({°> >(draw fysh) ><{((°>] ~
[><(({°> >(draw fysh) ><{({°>] ~
[><(({°> >(draw fysh) ><{{(°>] ~
[><(({°> >(draw fysh) ><{{{°>] ~
></*>
`draw frame` is defined in `gpio.c`,
which calls both `set pixel` and `draw fysh`.
This showcases Fysh-C interop.
<*/><
[><(({°> >(draw frame) ><(((°>] ~
[><(({°> >(draw frame) ><(({°>] ~
[><(({°> >(draw frame) ><({(°>] ~
[><(({°> >(draw frame) ><({{°>] ~
[><(({°> >(draw frame) ><{((°>] ~
[><(({°> >(draw frame) ><{({°>] ~
[><(({°> >(draw frame) ><{{(°>] ~
[><(({°> >(draw frame) ><{{{°>] ~
<><

><//> we're just being nice to LLVM
Expand Down

0 comments on commit 3a82894

Please sign in to comment.