1 Star 0 Fork 0

liangkangnan / jimtcl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
bootstrap.tcl 348 Bytes
一键复制 编辑 原始数据 按行查看 历史
Steve Bennett 提交于 2021-01-03 13:09 . bootstrap jimsh: pass all tests
# Minimal support for package require
proc package {cmd args} {
if {$cmd eq "require"} {
foreach path $::auto_path {
lassign $args pkg
set pkgpath $path/$pkg.tcl
if {$path eq "."} {
set pkgpath $pkg.tcl
}
if {[file exists $pkgpath]} {
tailcall uplevel #0 [list source $pkgpath]
}
}
}
}
set tcl_platform(bootstrap) 1
1
https://gitee.com/liangkangnan/jimtcl.git
git@gitee.com:liangkangnan/jimtcl.git
liangkangnan
jimtcl
jimtcl
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891