kevinlawler / kona

Open-source implementation of the K programming language
ISC License
1.36k stars 138 forks source link

: for resume doesn't work #563

Closed bakul closed 4 years ago

bakul commented 4 years ago

Consider:

  4 # 3 + "x"
type error
4 # 3 + "x"
      ^
>

At this stage one should be able to resume the parent expression as follows.

> : 3 + 7
10 10 10 10
  "back at the top level"

Kona behaves as follows.

> : 3 + 7
10
> "still one level down"
tavmem commented 4 years ago

Based on a review of the Dispatch Table in src/k.c: There has never (yet) been an attempt to implement resume.