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 643ac3aa37 G-123 increment 4: provenance/gate characterization + bare-name sidecar fetch (punkshell 0.35.0) 3 days ago
..
assets/logo
bin
bootsupport
buildsuites G-123 increment 1: runtime artifact records to schema v2 (provenance class) 3 days ago
decktemplates
defaultconfigs
doc
embedded
lib
lib_tcl8
lib_tcl9
modules
modules_tcl8
modules_tcl9
project_layouts G-139: derived-project story recorded; layout samplesuite1 sketch retired 3 days ago
runtime G-140 achieved: linux lib-tier emission - cross-built tcllibc for punk9linux (punkshell 0.32.2) 3 days ago
scriptapps G-123 increment 4: provenance/gate characterization + bare-name sidecar fetch (punkshell 0.35.0) 3 days ago
testansi
testdata
tests G-123 increment 4: provenance/gate characterization + bare-name sidecar fetch (punkshell 0.35.0) 3 days ago
text
tools
vendorlib
vendorlib_tcl8 G-139 retirement: vendored tcllib trees removed (artifact path proven) 3 days ago
vendorlib_tcl9 G-139 retirement: vendored tcllib trees removed (artifact path proven) 3 days ago
vendormodules
vendormodules_tcl8
vendormodules_tcl9
vfs G-140 achieved: linux lib-tier emission - cross-built tcllibc for punk9linux (punkshell 0.32.2) 3 days ago
AGENTS.md
README.md
Tcl9icon.six
Tcl9icon.svg
build.cmd
build.ps1
build.tcl
error_overtype.txt
make.tcl libfetch characterization test + isolation seams (punkshell 0.32.1) 3 days ago
test.txt

README.md

punk shell

Runtimes

#run from project root:  
./bin/punk-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/punk-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 bake            ;# assemble kit/zipkit executables from the promoted vfs payload + runtimes
 # (consumer path from a CLEAN checkout: 'tclsh src/make.tcl bakehouse' = packages + bake in one run;
 #  'make.tcl workflow' prints the full data-flow overview. 'project'/'vfs' remain as deprecated aliases.)
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.)