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 ca08dd1968 punk9wintk903.vfs: remove parked 9.0b2-era tcl9tk90xxx.dll 3 weeks ago
..
bin
bootsupport bootsupport/layouts: sync punk::args 0.12.0 + punk 0.2.6, lib 0.4.3, ns 0.5.0, repl 0.5.1, tclcore moduledoc 0.3.4 (G-030) 3 weeks ago
decktemplates startup behaviour,punk::path fixes, AGENTS guidance 1 month ago
defaultconfigs
doc
embedded
lib GOALS: two-tier index restructure - summary-only GOALS.md, canonical Goal/Acceptance in detail files, archive-on-flip 3 weeks ago
lib_tcl8
lib_tcl9
modules punk::ns 0.8.0: remove leftover nscommands1/nscommands2 command aliases 3 weeks ago
modules_tcl8
modules_tcl9
project_layouts make.tcl shell under punk exes: recompute tcl_interactive, restore accelerator-forgotten packages 3 weeks ago
runtime punk9wintk90b2.vfs: carry over main.tcl punk_main fauxlink; retarget remaining commented mapvfs entries 3 weeks ago
scriptapps punknative generator: nav index, per-form arg tables, terminal-black backdrop, integer row pitch 3 weeks ago
testansi
testdata
tests punk::ns 0.7.1: hygiene-pass backlog fixes - nslist -types default, nsjoinall error prefix (pins flipped) 3 weeks ago
text
vendorlib tablelist 6.22 -> 7.11: vendor as pkgIndex lib instead of tm modules 3 weeks ago
vendorlib_tcl8 executable stdin handline, + various 1 month ago
vendorlib_tcl9 vendored tcludp 1.0.12 -> 1.0.13 in tcl9 kit vfs folders - G-036 wedge remedy - 0.4.3 4 weeks ago
vendormodules vendormodules: drop tablelist/tablelist_tile from include_modules.config 3 weeks ago
vendormodules_tcl8
vendormodules_tcl9
vfs punk9wintk903.vfs: remove parked 9.0b2-era tcl9tk90xxx.dll 3 weeks ago
AGENTS.md make.tcl shell under punk exes: recompute tcl_interactive, restore accelerator-forgotten packages 3 weeks ago
README.md update basic src README 4 weeks ago
Tcl9icon.six
Tcl9icon.svg
build.cmd
build.ps1
build.tcl
error_overtype.txt
make.tcl make.tcl: warn when a kit .vfs folder has no startup script 3 weeks ago
test.txt

README.md

punk shell

Runtimes

#run from project root:  
./bin/runtime.cmd list -remote
# This is a cross-platform polyglot wrapper that should run from bash, or with tclsh or in windows directly in powershell/cmd.exe
./bin/runtime.cmd fetch

#if no retrievable runtime for your platform, you'll need a vfs capable tclkit or a zipfs capable tclsh with an attached vfs

#todo: exact notes on creating suitable runtimes (plain tclsh will likely be missing zipfs vfs to mount)

Build Instructions

  • Use tclsh|<punkruntime> make.tcl <commandname> to build .tm modules and rebuild the punk executable In normal use it should be called from the project root. e.g
 tclsh src/make.tcl vendorupdate   ;# if needed

 tclsh src/make.tcl packages       ;# build/install the unversioned libs / modules to <projectroot>
 # or separately:
 # tclsh src/make.tcl modules      ;# src/modules -> /modules (etc)
 # tclsh src/make.tcl libs         ;# src/lib     -> /lib (etc)

 tclsh src/make.tcl vfscommonupdate ;copy the  libs/modules that are now in <projectroot>/modules to vfs system for inclusion in the binary.

 # If make.tcl dependencies are modified:
 # tclsh src/make.tcl bootsupport  ;# src/modules -> src/bootsupport/modules,  src/lib -> src/bootsupport/lib (etc)

 tclsh src/make.tcl project
A common interactive test scenario (after running src/tests/runtests.tcl to test the unversioned source)
is to run 'tclsh src/make.tcl modules'
Then '<punkexecutable> dev'
This will source modules/libs from <projectroot>/modules and <projectroot>/lib intead of from the executable's vfs. 
  • Then Use tclsh|punk build.tcl to run the 'kettle' system to build doc files,
    or - use the pmix KettleShell command from within the punk shell to perform kettle operations. Confirm with user or ask user to manually run.

(The name 'build.tcl' is the standard name used by the Kettle system - it is not for building the punk project.)