diff options
author | Akshay <[email protected]> | 2021-03-25 14:02:58 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2021-03-25 14:02:58 +0000 |
commit | fcdbdba7b12f1091af2add9c4b767dac46fb098a (patch) | |
tree | edf2cc28a1108b8315505094942df449a1fbaf3c /docs | |
parent | 983d2d2aa2042a528f75d6255761968296c9e14b (diff) |
add day 13 of devlog
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.html | 4 | ||||
-rw-r--r-- | docs/index.xml | 7 | ||||
-rw-r--r-- | docs/posts/SDL2_devlog/index.html | 11 | ||||
-rw-r--r-- | docs/posts/index.html | 4 |
4 files changed, 18 insertions, 8 deletions
diff --git a/docs/index.html b/docs/index.html index c1c1c92..9f56dbc 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -42,7 +42,7 @@ | |||
42 | <tr> | 42 | <tr> |
43 | <td class=table-post> | 43 | <td class=table-post> |
44 | <div class="date"> | 44 | <div class="date"> |
45 | 23/03 — 2021 | 45 | 25/03 — 2021 |
46 | </div> | 46 | </div> |
47 | <a href="/posts/SDL2_devlog" class="post-link"> | 47 | <a href="/posts/SDL2_devlog" class="post-link"> |
48 | <span class="post-link">SDL2 Devlog</span> | 48 | <span class="post-link">SDL2 Devlog</span> |
@@ -50,7 +50,7 @@ | |||
50 | </td> | 50 | </td> |
51 | <td class=table-stats> | 51 | <td class=table-stats> |
52 | <span class="stats-number"> | 52 | <span class="stats-number"> |
53 | 5.7 | 53 | 6.2 |
54 | </span> | 54 | </span> |
55 | <span class=stats-unit>min</span> | 55 | <span class=stats-unit>min</span> |
56 | </td> | 56 | </td> |
diff --git a/docs/index.xml b/docs/index.xml index 607f428..2b20f6e 100644 --- a/docs/index.xml +++ b/docs/index.xml | |||
@@ -14,6 +14,11 @@ | |||
14 | <item> | 14 | <item> |
15 | <title>SDL2 Devlog</title> | 15 | <title>SDL2 Devlog</title> |
16 | <description><p>I have been working on an editor for the <a href="https://git.peppe.rs/graphics/obi/about">One Bit Image</a> file format in Rust and SDL2. This entry in my blog follows my progress on the editor. The days are listed in reverse chronological order, begin from the bottom, if this is your first time on this page.</p> | 16 | <description><p>I have been working on an editor for the <a href="https://git.peppe.rs/graphics/obi/about">One Bit Image</a> file format in Rust and SDL2. This entry in my blog follows my progress on the editor. The days are listed in reverse chronological order, begin from the bottom, if this is your first time on this page.</p> |
17 | <h3 id="day-13">Day 13</h3> | ||
18 | <p>I added a few more forms to the <code>lisp</code> evaluator. It handles recursion, definitions, variable mutation and more. The prelude contains 20 subroutines so far, including comparision and logic operators. The REPL interface on the SDL side requires some UX tweaks; environment based completion, readline motions sound doable.</p> | ||
19 | <figure> | ||
20 | <video src="https://u.peppe.rs/u3.mp4" controls=""><a href="https://u.peppe.rs/u3.mp4">Day 13</a></video><figcaption aria-hidden="true">Day 13</figcaption> | ||
21 | </figure> | ||
17 | <h3 id="day-12">Day 12</h3> | 22 | <h3 id="day-12">Day 12</h3> |
18 | <p>I lifted most of <a href="https://github.com/murarth/ketos">murarth/ketos</a> into the editor. <code>ketos</code>’s implementation of <code>lisp</code> is too vast for my use case. For example, the editor does not need data types to handle raw strings or byte strings. I have got a basic evaluator running inside the SDL2 context (notice the <code>lisp</code> REPL at the bottom of the window). Over the following days, I intend to create a set of prelude functions to manipulate the pixmap. Users can implement their own brushes, dithering patterns, keybinds and more (hopefully).</p> | 23 | <p>I lifted most of <a href="https://github.com/murarth/ketos">murarth/ketos</a> into the editor. <code>ketos</code>’s implementation of <code>lisp</code> is too vast for my use case. For example, the editor does not need data types to handle raw strings or byte strings. I have got a basic evaluator running inside the SDL2 context (notice the <code>lisp</code> REPL at the bottom of the window). Over the following days, I intend to create a set of prelude functions to manipulate the pixmap. Users can implement their own brushes, dithering patterns, keybinds and more (hopefully).</p> |
19 | <figure> | 24 | <figure> |
@@ -80,7 +85,7 @@ | |||
80 | <img src="https://u.peppe.rs/Ma.png" alt="Day 1" /><figcaption aria-hidden="true">Day 1</figcaption> | 85 | <img src="https://u.peppe.rs/Ma.png" alt="Day 1" /><figcaption aria-hidden="true">Day 1</figcaption> |
81 | </figure></description> | 86 | </figure></description> |
82 | <link>https://peppe.rs/posts/SDL2_devlog/</link> | 87 | <link>https://peppe.rs/posts/SDL2_devlog/</link> |
83 | <pubDate>Tue, 23 Mar 2021 12:25:00 +0000</pubDate> | 88 | <pubDate>Thu, 25 Mar 2021 14:01:00 +0000</pubDate> |
84 | <guid>https://peppe.rs/posts/SDL2_devlog/</guid> | 89 | <guid>https://peppe.rs/posts/SDL2_devlog/</guid> |
85 | </item> | 90 | </item> |
86 | <item> | 91 | <item> |
diff --git a/docs/posts/SDL2_devlog/index.html b/docs/posts/SDL2_devlog/index.html index 80ca81e..3ef2c6a 100644 --- a/docs/posts/SDL2_devlog/index.html +++ b/docs/posts/SDL2_devlog/index.html | |||
@@ -25,15 +25,15 @@ | |||
25 | ">View Raw</a> | 25 | ">View Raw</a> |
26 | <div class="separator"></div> | 26 | <div class="separator"></div> |
27 | <div class="date"> | 27 | <div class="date"> |
28 | 23/03 — 2021 | 28 | 25/03 — 2021 |
29 | <div class="stats"> | 29 | <div class="stats"> |
30 | <span class="stats-number"> | 30 | <span class="stats-number"> |
31 | 65.93 | 31 | 70.32 |
32 | </span> | 32 | </span> |
33 | <span class="stats-unit">cm</span> | 33 | <span class="stats-unit">cm</span> |
34 |   | 34 |   |
35 | <span class="stats-number"> | 35 | <span class="stats-number"> |
36 | 5.7 | 36 | 6.2 |
37 | </span> | 37 | </span> |
38 | <span class="stats-unit">min</span> | 38 | <span class="stats-unit">min</span> |
39 | </div> | 39 | </div> |
@@ -43,6 +43,11 @@ | |||
43 | </h1> | 43 | </h1> |
44 | <div class="post-text"> | 44 | <div class="post-text"> |
45 | <p>I have been working on an editor for the <a href="https://git.peppe.rs/graphics/obi/about">One Bit Image</a> file format in Rust and SDL2. This entry in my blog follows my progress on the editor. The days are listed in reverse chronological order, begin from the bottom, if this is your first time on this page.</p> | 45 | <p>I have been working on an editor for the <a href="https://git.peppe.rs/graphics/obi/about">One Bit Image</a> file format in Rust and SDL2. This entry in my blog follows my progress on the editor. The days are listed in reverse chronological order, begin from the bottom, if this is your first time on this page.</p> |
46 | <h3 id="day-13">Day 13</h3> | ||
47 | <p>I added a few more forms to the <code>lisp</code> evaluator. It handles recursion, definitions, variable mutation and more. The prelude contains 20 subroutines so far, including comparision and logic operators. The REPL interface on the SDL side requires some UX tweaks; environment based completion, readline motions sound doable.</p> | ||
48 | <figure> | ||
49 | <video src="https://u.peppe.rs/u3.mp4" controls=""><a href="https://u.peppe.rs/u3.mp4">Day 13</a></video><figcaption aria-hidden="true">Day 13</figcaption> | ||
50 | </figure> | ||
46 | <h3 id="day-12">Day 12</h3> | 51 | <h3 id="day-12">Day 12</h3> |
47 | <p>I lifted most of <a href="https://github.com/murarth/ketos">murarth/ketos</a> into the editor. <code>ketos</code>’s implementation of <code>lisp</code> is too vast for my use case. For example, the editor does not need data types to handle raw strings or byte strings. I have got a basic evaluator running inside the SDL2 context (notice the <code>lisp</code> REPL at the bottom of the window). Over the following days, I intend to create a set of prelude functions to manipulate the pixmap. Users can implement their own brushes, dithering patterns, keybinds and more (hopefully).</p> | 52 | <p>I lifted most of <a href="https://github.com/murarth/ketos">murarth/ketos</a> into the editor. <code>ketos</code>’s implementation of <code>lisp</code> is too vast for my use case. For example, the editor does not need data types to handle raw strings or byte strings. I have got a basic evaluator running inside the SDL2 context (notice the <code>lisp</code> REPL at the bottom of the window). Over the following days, I intend to create a set of prelude functions to manipulate the pixmap. Users can implement their own brushes, dithering patterns, keybinds and more (hopefully).</p> |
48 | <figure> | 53 | <figure> |
diff --git a/docs/posts/index.html b/docs/posts/index.html index 0d546bd..0912ee5 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html | |||
@@ -27,7 +27,7 @@ | |||
27 | <tr> | 27 | <tr> |
28 | <td class=table-post> | 28 | <td class=table-post> |
29 | <div class="date"> | 29 | <div class="date"> |
30 | 23/03 — 2021 | 30 | 25/03 — 2021 |
31 | </div> | 31 | </div> |
32 | <a href="/posts/SDL2_devlog" class="post-link"> | 32 | <a href="/posts/SDL2_devlog" class="post-link"> |
33 | <span class="post-link">SDL2 Devlog</span> | 33 | <span class="post-link">SDL2 Devlog</span> |
@@ -35,7 +35,7 @@ | |||
35 | </td> | 35 | </td> |
36 | <td class=table-stats> | 36 | <td class=table-stats> |
37 | <span class="stats-number"> | 37 | <span class="stats-number"> |
38 | 5.7 | 38 | 6.2 |
39 | </span> | 39 | </span> |
40 | <span class=stats-unit>min</span> | 40 | <span class=stats-unit>min</span> |
41 | </td> | 41 | </td> |