Benjamin Bannier

Results 155 issues of Benjamin Bannier

Since some time Zeek supports adding external plugins as builtin plugins so they will be handled like any other builtin plugin. This doesn't play nicely with the Zeek package manager's...

Area: Plugins
Area: Packages

While looking into how one could tackle zeek/tree-sitter-zeek#6 I looked into this grammar for inspiration and noticed that it has similar issues. In C or C++ preprocessor macros can appear...

It looks like `self` cannot be used in field `&convert` expressions; using `self` in a unit `&convert` attribute like mentioned in the docs works though. ```ruby # foo.spicy module foo;...

Bug

In spicy-1.3.0 it was possible to pass a context as an `inout` parameter. This allowed users to work around #1059 in a supposedly forward-compatible way. That workaround is broken with...

Regression

When using a `Null` as a value in a ternary operator it does not seem to be coerced to the correct type. ```ruby module nil; function g(): optional { return...

Bug

The following does not work: ```.ruby public type Z = unit { str: bytes &until=b"\x00" &max-size=1042; }; ``` ``` $ spicyc -j foo.spicy [error] /private/tmp/max-size.spicy:3:17-5:2: ID 'spicy_rt::waitForInput' is ambiguous [error]...

Bug

Before #984 we would correctly coerce an integer passed to `&max-size` to an unsigned integer, e.g., this worked: ```ruby module foo; public type X = unit { xs: bytes &max-size=1...

Bug
Regression

I cannot seem to get to `stop` work as expected, e.g., ```ruby # foo.spicy module foo; public type X = unit { xs: uint8[] foreach { print self.xs, $$; if...

Bug

We currently provide `lower` and `upper` methods for `bytes`. These methods take some encoding and will fail with an exception if a given `bytes` does not conform to it. We...

Enhancement