Vladimir Vasilyev

Results 69 comments of Vladimir Vasilyev

Lexer does not seem to track balanced/unbalanced delimiters at all, so what it reports in the case about is a by-product of one of the failed rules, probably `word-rule`.

Bonus content: why it works e.g. with `context? object [return 'self]`? Because of `bind`'s logic. It takes hold of `[return 'self]` block and starts traversing it. On encountering `word!` that...

I think the most sensible change would be for `/` and `%` to promote the result to `float!` (with fractional part) for `integer!` argument(s), because that's what usually hits people...

@greggirwin that cannot be done, because it presupposes that all divisible values can be converted to `float!`.

`base-self-test` started to fail after the change.

Possibly related: https://github.com/red/red/issues/3483, https://github.com/red/red/issues/3029

It's even worse. Given `parse [][quote ]`: ```red input rule result ---------------------- word word true word 'word true word :word true word word: true 'word word true 'word 'word true...

@greggirwin if you mean "specify semantics for each datatype", then: * `scalar!` * `char!` - coerce to UCP integer * `integer!` - use as-is * `float!` - truncate to integer...

On a quick glance, `pick`, `poke`, `skip` and `at` need to be adjusted, `extract` might need some tweaking too, for consistency. Rebol3 supposed to work with symbol IDs and `pair!`s...

https://github.com/red/REP/issues/68 (`pick `).