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 717432676f project versioning: change-driven bump policy + make.tcl projectversion check 4 weeks ago
..
bin make.tcl fixes and scriptwrap fixes, sdx.kit 1 year ago
bootsupport update bootsupport,vfs 4 weeks ago
decktemplates startup behaviour,punk::path fixes, AGENTS guidance 4 weeks ago
defaultconfigs
doc AGENTS.md with DOX framework 1 month ago
embedded doctools documentation update 10 months ago
lib repl shutdown/eof fixes, PUNK_PIPE_EOF policy, console query guards, opunk::console voo class, test framework fixes 4 weeks ago
lib_tcl8 AGENTS.md with DOX framework 1 month ago
lib_tcl9 AGENTS.md with DOX framework 1 month ago
modules punk::console 0.7.1: compound emit-then-query operations flush before querying 4 weeks ago
modules_tcl8 refactor AGENTS.md files 1 month ago
modules_tcl9 refactor AGENTS.md files 1 month ago
project_layouts git-track layout README placeholders and vendored critcl TODO.txt (force-add past accidental ignores) 4 weeks ago
runtime punkbi,punksys,punk902z only on windows 4 weeks ago
scriptapps scriptapps misc 4 weeks ago
testansi sixel sample files 7 months ago
testdata
tests punk::console 0.7.1: ensure_object_integration hardening - graceful no-op + catch-up ownership registration 4 weeks ago
text
vendorlib AGENTS.md with DOX framework 1 month ago
vendorlib_tcl8 executable stdin handline, + various 1 month ago
vendorlib_tcl9 executable stdin handline, + various 1 month ago
vendormodules executable stdin handline, + various 1 month ago
vendormodules_tcl8 docs: resolve 30+ TODO/FIXME comments with documentation and implementation notes 5 months ago
vendormodules_tcl9 fifo2 & startup interim fixes. sqids lib. vfs tidy 2 months ago
vfs git-track layout README placeholders and vendored critcl TODO.txt (force-add past accidental ignores) 4 weeks ago
AGENTS.md project versioning: change-driven bump policy + make.tcl projectversion check 4 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 project versioning: change-driven bump policy + make.tcl projectversion check 4 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.)