You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julian Noble
513f136d48
|
1 year ago | |
---|---|---|
bin | 1 year ago | |
callbacks | ||
scriptlib | 1 year ago | |
src | 1 year ago | |
.gitignore | 1 year ago | |
README.md | 1 year ago | |
punk1.ico | 2 years ago | |
punk1.png | 2 years ago | |
punk1_transparent.png | 2 years ago |
README.md
punkshell - an alternative Tcl Shell
BSD license
2023-08 Note: this is alpha level software and still highly experimental.
Features
- default ansi color output - toggle with 'colour on' and 'colour off'
- experimental functional language features. (will not be performant until more work is done on script compilation) e.g var_pipe_output.= var_list.= list a b c |> string toupper
- easy execution of externals commands with return of stdout, stderr and the exitcode of the process
- run ... (return exitcode of process - and allows process writes to stderr/stdout to appear in console as they occur)
- runout ... (return stdout of process - no output until completion)
- runerr ... (return stderr of process - no output until completion)
- runx
(return a dict of stdout stderr exitcode - no output until completion)
very unripe parts:
- commandline options - in need of urgent work to document and lock down specifics - in particular: punkshell somescript.tcl needs a fix to emit errors.
- shellfilter - api is clumsy
- scriptlib - will likely be reorganised/pruned significantly