Jigsaw print(1, 2) displays as a list

Issue #67 wontfix
Doug Blank created an issue

If you use the IO block print, and try to print two or more items (separated by commas, like you might in Python) then it interprets that as a list, rather than two items printed next to each other. If we interpret the items as "print(*items)" then it should print correctly with zero or more args.

Comments (1)

  1. Doug Blank reporter

    To allow multiple arguments in Jigsaw using a comma to separate them is not currently possible. e5f4053 fixes a related problem, but does not fix the main issue (cannot distinguish between a list-as-argument between list-of-arguments). We would need to parse the text to determine this. Then we could use Python's print(*args) rather than printing them ourselves.

  2. Log in to comment