Ian Hobson

Results 18 issues of Ian Hobson

I'm running into build errors on Big Sur when using cargo-lipo in an Xcode build script. I've made a small test project [here](https://github.com/irh/rust-big-sur-test/tree/60c44b67e4bc4a64cc0d00d7014b31390bac639e). It builds successfully in Xcode 12.2 on...

I'm working on a lexer for a language where I'd like to have `else` and `else if` lexed as separate tokens, but I'm running into suprising behaviour. In the following...

bug

I'm making use of `Extras` to keep track of current line information, and in my parser I also want to `peek` the next token. The trouble is that if I...

enhancement
good first issue

It would be useful to have an `eval` style feature in Koto. There are lots of use cases to consider, but I think a meaningful starting point could be achieved...

enhancement
core lib
v0.12

It would be useful to be able to define [function objects](https://en.wikipedia.org/wiki/Function_object) in Koto. This could be achieved by adding a `@||` meta key that can be defined in `Map`s, which...

enhancement
v0.12

Currently no effort is made in Koto to optimize tail calls, making it easy to run into stack overflows when implementing recursive functions. e.g. The following script takes a huge...

performance

The `wasm` CI job checks that the Koto library compiles on CI but it doesn't run any tests, it would be good to run at least one test with the...

tests

See https://no-color.org

good first issue
repl

It would be good to have an `iterator.reversed()` function that reverses the direction of any iterator that can support being reversed.

enhancement

Currently the parser discards comments and whitespace when parsing a script. Tools like auto-formatters need to know about these non-semantic aspects of the script (I'll call them 'extras') and their...

internals