~evantj

https://evan.d2evs.net

~evantj/hare-raylib-devel

Last active 2 years ago

~evantj/hare-raylib-announce

Last active 2 years ago
View more

Recent activity

[PATCH] add unparse branch for halt and blit 10 months ago

From Evan Johnston to ~ecs/public-inbox

---
 qbe/unparse.ha | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/qbe/unparse.ha b/qbe/unparse.ha
index e158433..23589b4 100644
--- a/qbe/unparse.ha
+++ b/qbe/unparse.ha
@@ -209,6 +209,16 @@ case let c: call =>
	unparse_call(out, c)?;
case let d: dbgloc =>
	fmt::fprintfln(out, "\tdbgloc {}, {}", d.0, d.1)?;
case let b: blit =>
	fmt::fprint(out, "\tblit ")?;
[message trimmed]

[PATCH v3] add dbgfile, dbgloc 10 months ago

From Evan Johnston to ~ecs/public-inbox

---
 qbe/ast.ha     |  4 +++-
 qbe/free.ha    |  2 ++
 qbe/inst.ha    |  4 +++-
 qbe/parse.ha   | 14 +++++++++++++-
 qbe/token.ha   |  8 ++++++++
 qbe/unparse.ha |  8 ++++++++
 6 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/qbe/ast.ha b/qbe/ast.ha
index 94b4be2..8b62acd 100644
--- a/qbe/ast.ha
+++ b/qbe/ast.ha
@@ -90,6 +90,8 @@ export type funcdef = struct {
[message trimmed]

[PATCH v2] add dbgfile, dbgloc 10 months ago

From Evan Johnston to ~ecs/public-inbox

---
 qbe/ast.ha     |  4 +++-
 qbe/free.ha    |  2 ++
 qbe/inst.ha    |  4 +++-
 qbe/parse.ha   | 14 +++++++++++++-
 qbe/token.ha   |  8 ++++++++
 qbe/unparse.ha |  8 ++++++++
 6 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/qbe/ast.ha b/qbe/ast.ha
index 94b4be2..8b62acd 100644
--- a/qbe/ast.ha
+++ b/qbe/ast.ha
@@ -90,6 +90,8 @@ export type funcdef = struct {
[message trimmed]

[PATCH] add dbgfile, dbgloc 10 months ago

From Evan Johnston to ~ecs/public-inbox

---
 qbe/ast.ha     |  4 +++-
 qbe/inst.ha    |  4 +++-
 qbe/parse.ha   | 14 +++++++++++++-
 qbe/token.ha   |  8 ++++++++
 qbe/unparse.ha |  8 ++++++++
 5 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/qbe/ast.ha b/qbe/ast.ha
index 94b4be2..8b62acd 100644
--- a/qbe/ast.ha
+++ b/qbe/ast.ha
@@ -90,6 +90,8 @@ export type funcdef = struct {
	blocks: []block,
[message trimmed]

[PATCH] highlights.scm: constant -> literal 1 year, 1 month ago

From Evan Johnston to ~ecs/public-inbox

to match 9408bb8fd6c110307f7c92fa834eb5dbd92e36d8
---
 queries/highlights.scm | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/queries/highlights.scm b/queries/highlights.scm
index ff6cdfe..2a648e1 100644
--- a/queries/highlights.scm
+++ b/queries/highlights.scm
@@ -115,14 +115,14 @@
  "false"
  "null"
  "true"
] @constant.builtin
[message trimmed]

QBE IR library for hare 1 year, 11 months ago

From Evan Johnston to ~mpu/qbe

Hi,

I wrote a hare library with ecs to parse and print QBE IR, which can be found at https://git.d2evs.net/~evan/hare-qbe

Evan

[PATCH v3] strings::fromc: update documentation about invalid utf8 2 years ago

From Evan Johnston to ~sircmpwn/hare-dev

Signed-off-by: Evan Johnston <evan@d2evs.net>
---
 strings/cstrings.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/strings/cstrings.ha b/strings/cstrings.ha
index 8e6dec57..9348efea 100644
--- a/strings/cstrings.ha
+++ b/strings/cstrings.ha
@@ -27,7 +27,7 @@ export fn fromc_unsafe(cstr: *const char) const str = {
};

// Converts a C string to a Hare string in O(n). If the string is not valid
// UTF-8, abort.
[message trimmed]

[PATCH hare v2] strings::fromc: update documentation about invalid utf8 2 years ago

From Evan Johnston to ~sircmpwn/hare-dev

Signed-off-by: Evan Johnston <evan@d2evs.net>
---
 strings/cstrings.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/strings/cstrings.ha b/strings/cstrings.ha
index 8e6dec57..b8a377e4 100644
--- a/strings/cstrings.ha
+++ b/strings/cstrings.ha
@@ -27,7 +27,7 @@ export fn fromc_unsafe(cstr: *const char) const str = {
};

// Converts a C string to a Hare string in O(n). If the string is not valid
// UTF-8, abort.
[message trimmed]

[PATCH hare] strings::fromc: update documentation about invalid utf8 2 years ago

From Evan Johnston to ~sircmpwn/hare-dev

Signed-off-by: Evan Johnston <evan@d2evs.net>
---
 strings/cstrings.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/strings/cstrings.ha b/strings/cstrings.ha
index 8e6dec57..b8a377e4 100644
--- a/strings/cstrings.ha
+++ b/strings/cstrings.ha
@@ -27,7 +27,7 @@ export fn fromc_unsafe(cstr: *const char) const str = {
};

// Converts a C string to a Hare string in O(n). If the string is not valid
// UTF-8, abort.
[message trimmed]

[PATCH] abort to state::IDLE on escape and exit on q 2 years ago

From Evan Johnston to ~ecs/public-inbox

---
 main.ha | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/main.ha b/main.ha
index b47d64f..63535a3 100644
--- a/main.ha
+++ b/main.ha
@@ -86,6 +86,7 @@ export fn main() void = {
	raylib::SetTraceLogLevel(raylib::TraceLogLevel::LOG_NONE);
	raylib::InitWindow(0, 0, "ecstimer");
	raylib::SetTargetFPS(60);
	raylib::SetExitKey(raylib::KeyboardKey::KEY_Q);

[message trimmed]