|
|
|
@ -98,12 +98,18 @@ if {[llength $currentdir_modules]} {
|
|
|
|
|
package require Thread |
|
|
|
|
catch {package require tcllibc} |
|
|
|
|
#These are strong dependencies |
|
|
|
|
# - the repl requires Threading and punk,shellfilter,shellrun to call and display properly. |
|
|
|
|
# - the repl requires Threading and shellfilter to call and display properly. |
|
|
|
|
# tm list already indexed - 'package forget' to find modules based on current tcl::tm::list |
|
|
|
|
#set required [list\ |
|
|
|
|
# shellfilter\ |
|
|
|
|
# shellrun\ |
|
|
|
|
# punk\ |
|
|
|
|
# ] |
|
|
|
|
|
|
|
|
|
#punk & shellrun should be in codethreads - but not required in the parent repl threads |
|
|
|
|
|
|
|
|
|
set required [list\ |
|
|
|
|
shellfilter\ |
|
|
|
|
shellrun\ |
|
|
|
|
punk\ |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
catch { |
|
|
|
@ -134,6 +140,7 @@ foreach pkg $required {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
package require punk::repl |
|
|
|
|
repl::init -safe 0 |
|
|
|
|
repl::start stdin -title app-punk |
|
|
|
|
|
|
|
|
|
|
|
|
|
|