~ecs

https://ecs.d2evs.net

Recent activity

[PATCH harec 8/8] Fix comments on arithm test 15 days ago

From Eyal Sawady to ~sircmpwn/public-inbox

Signed-off-by: Eyal Sawady <ecs@d2evs.net>
---
 tests/902-arithm.ha | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/902-arithm.ha b/tests/902-arithm.ha
index 7916479..3ca4665 100644
--- a/tests/902-arithm.ha
+++ b/tests/902-arithm.ha
@@ -1,10 +1,10 @@
export fn main() int = {
	// Direct
	// Indirect
	let x: int = 10;
[message trimmed]

[PATCH harec 7/8] Add call test 15 days ago

From Eyal Sawady to ~sircmpwn/public-inbox

Signed-off-by: Eyal Sawady <ecs@d2evs.net>
---
 tests/903-call.ha | 12 ++++++++++++
 tests/configure   |  3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100644 tests/903-call.ha

diff --git a/tests/903-call.ha b/tests/903-call.ha
new file mode 100644
index 0000000..2793b59
--- /dev/null
+++ b/tests/903-call.ha
@@ -0,0 +1,12 @@
fn foo() size = 2;
[message trimmed]

[PATCH harec 6/8] Add minimal test runtime 15 days ago

From Eyal Sawady to ~sircmpwn/public-inbox

Signed-off-by: Eyal Sawady <ecs@d2evs.net>
---
 tests/Makefile  | 6 ++++++
 tests/configure | 4 ++--
 tests/rt.ha     | 2 ++
 3 files changed, 10 insertions(+), 2 deletions(-)
 create mode 100644 tests/rt.ha

diff --git a/tests/Makefile b/tests/Makefile
index f4e792a..a822596 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,4 +1,10 @@
check:
[message trimmed]

[PATCH harec 5/8] gen: implement call expressions 15 days ago

From Eyal Sawady to ~sircmpwn/public-inbox

Signed-off-by: Eyal Sawady <ecs@d2evs.net>
---
 src/gen.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/src/gen.c b/src/gen.c
index a6c580d..5b5c178 100644
--- a/src/gen.c
+++ b/src/gen.c
@@ -161,6 +161,20 @@ gen_copy(struct gen_context *ctx,
	store_temp(ctx, dest, &value);
}

static void
[message trimmed]

[PATCH harec 4/8] gen: fix gen_copy for functions 15 days ago

From Eyal Sawady to ~sircmpwn/public-inbox

Signed-off-by: Eyal Sawady <ecs@d2evs.net>
---
 src/gen.c   | 2 +-
 src/qtype.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/gen.c b/src/gen.c
index a04f4e0..a6c580d 100644
--- a/src/gen.c
+++ b/src/gen.c
@@ -127,7 +127,6 @@ gen_copy(struct gen_context *ctx,
		assert(0); // TODO
	case STORAGE_ALIAS:
	case STORAGE_FCONST:
[message trimmed]

[PATCH harec 3/8] gen: implement delaration access 15 days ago

From Eyal Sawady to ~sircmpwn/public-inbox

Signed-off-by: Eyal Sawady <ecs@d2evs.net>
---
 include/gen.h |  1 +
 src/gen.c     | 21 ++++++++++++++++++---
 src/genutil.c |  6 +++++-
 3 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/include/gen.h b/include/gen.h
index b09901b..be436e3 100644
--- a/include/gen.h
+++ b/include/gen.h
@@ -21,6 +21,7 @@ struct gen_temp {
	char *name;
	const struct type *type;
[message trimmed]

[PATCH harec 2/8] gen_address_index: make result indirect 15 days ago

From Eyal Sawady to ~sircmpwn/public-inbox

Signed-off-by: Eyal Sawady <ecs@d2evs.net>
---
 src/gen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gen.c b/src/gen.c
index c7c23b9..474b94b 100644
--- a/src/gen.c
+++ b/src/gen.c
@@ -226,6 +226,7 @@ gen_address_index(struct gen_context *ctx, struct gen_temp *temp,

	temp->name = offset.name;
	temp->type = atype->array.members;
	temp->indirect = true;
[message trimmed]

[PATCH harec 1/8] gen: fix uninitialized gen_temps 15 days ago

From Eyal Sawady to ~sircmpwn/public-inbox

Signed-off-by: Eyal Sawady <ecs@d2evs.net>
---
I don't like the gen_expr_call code here, but I'm not sure how to
improve it. I've left some // XXXs in places which I think are
particularly egregious, please let me know if you can think of something
better.

The first two commits are included in this patchset because they fix
some bugs with indexing expressions which were causing the direct tests
in the arithm/call tests to fail.
 src/gen.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/gen.c b/src/gen.c
[message trimmed]

Re: Switching folders directly 19 days ago

From Eyal Sawady to ~sircmpwn/aerc

On Sun Jul 11, 2021 at 9:45 PM UTC, Jonas wrote:
> I can use :next-folder and :prev-folder to switch folders, but can i
> easily jump to a specific one by name? Thanks.

Yes, using :cf.

Re: Feature Request: Coloring a month ago

From Eyal Sawady to ~sircmpwn/aerc

On Tue Jun 15, 2021 at 6:31 AM UTC, Andrei Sva wrote:
> I think that adding colors in aerc would add an easy way to customize
> the look and feel of the client as well as add contrast to help people
> like me.

You can already do this, run `:help stylesets` for documentation.