~ecs

https://ecs.d2evs.net


#733 empty file at https://harelang.org/specification.pdf 7 days ago

Comment by ~ecs on ~sircmpwn/hare

Fixed with this build, though there may be some underlying issues that weren't resolved: https://builds.sr.ht/~sircmpwn/job/784376

Mind poking around drewdevault.com and seeing if there are any reasons why it would ENOSPC, ~sircmpwn?

#709 hare specification missing keyword 30 days ago

Comment by ~ecs on ~sircmpwn/hare

Sebastian referenced this ticket in commit dba688e.

REPORTED RESOLVED FIXED

#686 os/fs::mkdir(s): should accept mode a month ago

Comment by ~ecs on ~sircmpwn/hare

REPORTED RESOLVED IMPLEMENTED

#717 Ensure that defers are evaluated immediately before leaving a scope a month ago

Ticket created by ~ecs on ~sircmpwn/hare

They're currently evaluated before @noreturn function arguments, this should be changed for consistency with eg. returns. We should also double-check everywhere else they're run and possibly update the spec to clarify this.

#712 harec: disallow tuples of size 1 a month ago

Comment by ~ecs on ~sircmpwn/hare

REPORTED RESOLVED INVALID

#5 Useful fault handler a month ago

Comment by ~ecs on ~sircmpwn/helios

REPORTED RESOLVED IMPLEMENTED

#3 Page allocator a month ago

Comment by ~ecs on ~sircmpwn/helios

REPORTED RESOLVED IMPLEMENTED

#693 object-selector should contain slicing-expression a month ago

Comment by ~ecs on ~sircmpwn/hare

I found this kind of code

Where? harec doesn't allow slicing expressions as object selectors (with the exception of slice assignment, which is special-cased, see section 6.6.47.5), so I don't think this is the case.

why can I compile this code, but got "slice or array access out of bounds"

Slicing expressions don't include the end index - see section 6.6.27.5. Thus, len(x[1..2]) == 1, leading to an error when you try to assign a [2]int to it.

#692 scalar-type should contain null type a month ago

Comment by ~ecs on ~sircmpwn/hare

No, the lack of a grammar for the null type is deliberate, see section 6.5.15.5 of the spec.

REPORTED RESOLVED BY_DESIGN

#693 object-selector should contain slicing-expression a month ago

Comment by ~ecs on ~sircmpwn/hare

slicing-expression is special-cased in assignment. We deliberately avoid allowing slicing expressions to be object selectors in the general case in order to simplify the implementation.

REPORTED RESOLVED BY_DESIGN