kevinlawler / kona

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

Partial console output #522

Closed bakul closed 5 years ago

bakul commented 6 years ago

When the user explicitly asks to print out a value, kona should print the whole list and not a partial one with ellipsis at the end.

  !1000

\ ends with ... after showing the first 501 numbers
ngn commented 5 years ago

out of curiosity, what would "not explicitly" be? or do you mean it should always print the complete value?

bakul commented 5 years ago

Yes it should always print the complete value, just like k3. If the user doesn't want any output he can append a ; at the end.

ngn commented 5 years ago

that's easy - delete lines 208 224 225 and all occurrences of CPMAX in k.c