Murarth

Results 90 comments of Murarth

Yes, struct definitions are seriously half-assed. No doubt. I've been kicking around different ideas for how to improve it, but I haven't yet arrived at a clear vision for a...

This is currently supported, provided that you use the `do` operator as the body of the outer function. This comes with the caveat that, perhaps counter-inuitively, `x-1` is not defined...

Wow. I love the sea monster one. That is amazing. Is that original artwork? Did you make this?

I agree this is a problem. However, implementing a solution is non-trivial. The reason for this is that, while most languages use some AST type to represent source code, Ketos...

I'm seeing about implementing this now. Can you give me an example of a Lisp dialect with line/column numbers in error messages? Hopefully, an open source implementation?

I've decided against attempting to integrate line/column numbers into runtime and compile-time errors for now. I just don't see any way of getting it done without making a mess of...

Because `divisible-by-3` is an expression. The trace contains only names of operators and function calls, not expressions for `cond` branches. It would need to store an entire `Value` in order...

Final expression and trace are working out pretty well. I don't think I want to clutter things up by storing every expression as the compiler goes along. The other part...

I decided to implement the above plan for runtime type errors. I hope it doesn't bloat `Error`/`ExecError` instances too much. I'm not sure how much of a problem that could...

I don't see any reason why that would be impossible, but I'm not sure if it's worth the trouble. Traces are a general error-reporting mechanism and this method of source...