UNPKG

tcl-js

Version:

tcl-js is a tcl intepreter written completely in Typescript. It is meant to replicate the tcl-sh interpreter as closely as possible.

28 lines 527 B
- name: 'Simple expand' input: type: raw value: 'puts {*}hi' stdout: type: raw value: "hi\n" - name: 'List expand' input: type: raw value: 'puts {*}{stderr hi}' stderr: type: raw value: 'hi' - name: 'Expand with space' input: type: raw value: 'set {*} {stderr hi}; puts ${*}' stdout: type: raw value: "stderr hi\n" - name: 'False expand' input: type: raw value: 'set {*f}{stderr hi}' output: type: error value: "extra characters after close-brace"