~sebsite

https://sebsite.pw/

i'm a human i think

~sebsite/generic-tetromino-game

Last active 6 days ago

~sebsite/public-inbox

Last active 1 year, 1 month ago
View more

Recent activity

Re: Freestanding in hare 7 hours ago

From Sebastian to ~sircmpwn/hare-users

Mar 25, 2023 13:58:10 Guy-Fleury Iteriteka <gfleury@disroot.org>:
> Ok i see. Are there mandatory file which must exist in that rt 
> directory

See docs/runtime.txt in the harec repo.

Re: [PATCH v3] Options: Fix going to the next page when there are no useroptions 6 days ago

From Sebastian to ~sebsite/generic-tetromino-game

Thanks!

To gitsrht:~sebsite/generic-tetromino-game
   1b12953..9d76790  main -> main

Re: [PATCH v2] Options: Fix going to the next page when there are no useroptions 10 days ago

From Sebastian to ~sebsite/generic-tetromino-game

This doesn't work for me? Wrapping around on page 1 works, but pressing
either flip button goes to an empty page 2, when it should either do
nothing or jump to the top of page 1 (whichever is easier to implement I
guess).

Re: [PATCH] Options: Fix going to the next page when there are no useroptions 13 days ago

From Sebastian to ~sebsite/generic-tetromino-game

On Sun Mar 12, 2023 at 3:22 AM EDT, Lorenz (xha) wrote:
> -			} else {
> +				draw_options_page();
> +			} else if (state.options.userlen > 0) {
>  				++state.options.page;
> +				draw_options_page();
>  			}
> -			draw_options_page();

Why make the change with draw_options_page()? Looks like this could be
simplified by leaving draw_options_page alone, and only changing the
else to the else if.

> @@ -7805,8 +7806,10 @@ optionsinput(uint8_t inputs)

Re: [PATCH hare 2/2] bufio: Skip flush byte search when none are set 20 days ago

From Sebastian to ~sircmpwn/hare-dev

Mar 4, 2023 04:34:45 Lassi Pulkkinen <lassi@pulk.fi>:
> Was this flagged as superseded by accident? This is the newest version.

I changed this back to "PROPOSED".

Re: [PATCH] Prettify the website ✨ a month ago

From Sebastian to ~sebsite/generic-tetromino-game

Thanks!

To gitsrht:~sebsite/generic-tetromino-game
   13fc186..b09c72b  main -> main

Re: [PATCH] Fix compilation on macOS a month ago

From Sebastian to ~sebsite/generic-tetromino-game

Thanks!

To gitsrht:~sebsite/generic-tetromino-game
   13fc186..b09c72b  main -> main

[PATCH harec v2] Remove indirect field from assign expression a month ago

From Sebastian to ~sircmpwn/hare-dev

Assign expressions allow any arbitary expression for the object being
assigned to, including a dereference expression. Removing the indirect
field and instead just using a dereference expression here removes some
code duplication.

This field originally existed because it's used within parse, but it's
easy to just have parse construct a pointer dereference AST expression
rather than passing an "indirect" parameter everywhere.

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
Since v1: added commit message body

 include/ast.h  |  1 -
[message trimmed]

[PATCH hare-specification] Remove str -> *const char assignability rule a month ago

From Sebastian to ~sircmpwn/hare-dev

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 language/expressions.tex | 1 -
 1 file changed, 1 deletion(-)

diff --git a/language/expressions.tex b/language/expressions.tex
index d4f4839..1983055 100644
--- a/language/expressions.tex
+++ b/language/expressions.tex
@@ -1936,7 +1936,6 @@ Type aliases & Any type assignable to the secondary type \\
\terminal{void} & Any type \\
\terminal{*} \terminal{void} & Any non-nullable pointer type \\
\terminal{nullable} \terminal{*} \terminal{void} & Any pointer type \\
\terminal{*} \terminal{const} \terminal{char} & \terminal{str} \\
[message trimmed]

[PATCH harec] types: remove str -> *const char assignability rule a month ago

From Sebastian to ~sircmpwn/hare-dev

This was broken, and other suitable workarounds already exist (e.g.
constchar function in harec rt), so this isn't really worth it.

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 src/types.c                | 3 ---
 tests/05-implicit-casts.ha | 1 -
 2 files changed, 4 deletions(-)

diff --git a/src/types.c b/src/types.c
index ea08561..7411f7e 100644
--- a/src/types.c
+++ b/src/types.c
@@ -817,9 +817,6 @@ type_is_assignable(const struct type *to, const struct type *from)
[message trimmed]