Code Monkey home page Code Monkey logo

tdk's Introduction

TDK

Tcl Dev Kit (TDK)

Overview

Tcl Dev Kit (TDK) includes everything you need for fast development of self-contained, easily-deployable applications. Turn your Tcl programs into ready-to-run executables, starkits or starpacks, for Windows, Mac OS X, Linux, Solaris, AIX and HP-UX.

Simplify development with tools for finding and fixing bugs, managing complex code bases and optimizing your programs. Easily reveal unused or overused code with the coverage and hotspot analyzer. Take control and work the way you want with a choice of GUIs or command line interfaces for most tools.

General structure / directory organization

  • app - application sources, including main entry points. Some debug helper code which can be sourced by apps.

  • data - Images used by the apps.

  • docs - Internal dev notes and the official documentation.

  • lib - All the supporting packages. Some overlap with the teapot project.

  • misc - A hack-week project, incomplete, which never made it into the product.

  • pkg-src - Sources for the `win32 package. Written in C for access to some Windows system information (mainly paths).

Images

  • data/images/about.gif is a placeholder for the background image of an about dialog. The supplied image is all-grey.

    Note: It is actually not clear if this image is still referenced, and if yes, where.

  • artwork/splash.png is a similar placeholder, for the splash screen.

    Note: The places referencing this image (app/*/main.tcl) are written on the assumption of unwrapped execution in the directory structure of the checkout. The knowledge of the expected structure is used to locate the image relative to the code file referencing it.

    For wrapped execution the original build system put the file main_std.tcl into the app as ms.tcl and added the splash setup code referencing the wrapped image.

License

Copyright (c) 2018 ActiveState Software

Tcl Dev Kit (TDK) is released under the BSD-3 license. See LICENSE file for details.

tdk's People

Contributors

monbis avatar rawktron avatar zoofood avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tdk's Issues

"tdk_license" string in tcl files

I do a search for tdk_license under the tdk root folder. Found 21 occurrence(s) in 8 file(s). I think those related lines should be removed or commented out from the tcl files.

Searching for: tdk_license

app\comp\lib\app-comp\comp_startup.tcl(104): set userinfo  [compiler::tdk_license user-name]
app\comp\lib\app-comp\comp_startup.tcl(105): set useremail [compiler::tdk_license user-email]
app\comp\lib\app-comp\comp_startup.tcl(109): set licinfo "| [compiler::tdk_license type] license for $userinfo."
app\comp\lib\app-comp\comp_startup.tcl(122): set expire [compiler::tdk_license expiration-date]
app\comp\lib\app-comp\procomp.tcl(378): set userinfo [compiler::tdk_license user-name]
app\comp\lib\app-comp\procomp.tcl(379): set useremail [compiler::tdk_license user-email]
app\comp\lib\app-comp\procomp.tcl(385): log "# [compiler::tdk_license type] license for $userinfo."
app\comp\lib\app-comp\procomp.tcl(386): set e [compiler::tdk_license expiration-date]
app\comp\lib\app-comp\procomp.tcl(388): log "# Expires: [compiler::tdk_license expiration-date]."
app\comp\lib\app-comp\procomp.tcl(831): set expiry [compiler::tdk_license expiration-date]
app\comp\lib\app-comp\procomp.tcl(841): set user [compiler::tdk_license user-name]
app\comp\lib\app-comp\procomp.tcl(842): set mail [compiler::tdk_license user-email]
app\comp\lib\comp-ui\compiler.tcl(390): set userinfo [compiler::tdk_license user-name]
app\comp\lib\comp-ui\compiler.tcl(391): set useremail [compiler::tdk_license user-email]
app\comp\lib\comp-ui\compiler.tcl(395): set licinfo "| [compiler::tdk_license type] license for $userinfo."
app\comp\lib\comp-ui\compiler.tcl(413): set expire [compiler::tdk_license expiration-date]
app\tape\lib\app-tape\tape_pot.tcl(20): compiler::tdk_license user-name
app\tape\lib\app-tape\tape_state.tcl(19): compiler::tdk_license user-name
app\tclsvc\tclsvc.tcl(64): if {[catch {package require compiler; compiler::tdk_license user-name} err]} {
lib\tclcompiler\cmpWPkg.c(72): { "tdk_license",     TdkLicenseObjCmd, 1 },
lib\tclparser\tclParser.c(113): Tcl_CreateObjCommand(interp, "tdk_license", TdkLicenseObjCmd, NULL, NULL);

How to compile into an executable TDK program

Is there a build introduction? How to compile into an executable TDK program
I need to compile TCL to bytecode, I compiled lib/tclcompiler and got a .so file, then I compiled tcl to tbc file by lib/tclcompiler/tests/test_jump_rewrite.tcl, but after I loaded the tbc file with tbcload 1.7 I can't use the tcl functions written with
Can anyone show me how to compile a complete TDK program?

ubuntu 18 make error cmpWPkg.o object

Hello,
I am trying to work with tdk debugger on Ubuntu 18.04. After clone the repository for make the compiler in ../tdk/lib/tclcompiler -> ./configure && make ... it get the error:

cmpWPkg.c:72:26: error: ‘TdkLicenseObjCmd’ undeclared here (not in a function); did you mean ‘Tcl_UnsetObjCmd’? { "tdk_license", TdkLicenseObjCmd, 1 }, ^~~~~~~~~~~~~~~~ Tcl_UnsetObjCmd Makefile:242: failed in instructions for the object 'cmpWPkg.o' make: *** [cmpWPkg.o] Error 1

How can I fix the "TdkLicenseObjCmd undeclared" error?

Thanks in advance
Candido

How to install/use/run?

I'm missing instructions on how to install/use/run the Tdk, especially how to produce the binary tools (e.g. tclchecker) included in the (now obsolete?) commercial Tdk package.

error launching tclapp/entry.tcl

I'm having the following error durinf tclapp init

can't find package as::tdk::obfuscated
while executing
"package require as::tdk::obfuscated"
(file "/usr/src/tdk/tdk.git/trunk/lib/wrapengine/wengine.tcl" line 30)
invoked from within
"source /usr/src/tdk/tdk.git/trunk/lib/wrapengine/wengine.tcl"
("package ifneeded tclapp::wrapengine 1.0" script)
invoked from within
"package require tclapp::wrapengine"
(file "/usr/src/tdk/tdk.git/trunk/lib/wrapengine/tclapp.tcl" line 35)
invoked from within
"source /usr/src/tdk/tdk.git/trunk/lib/wrapengine/tclapp.tcl"
("package ifneeded tclapp 1.0" script)
invoked from within
"package require tclapp"
(file "/usr/src/tdk/tdk.git/trunk/app/tclapp/lib/app-tclapp/tclapp_startup.tcl" line 56)
invoked from within
"source /usr/src/tdk/tdk.git/trunk/app/tclapp/lib/app-tclapp/tclapp_startup.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $file]"
(procedure "go" line 17)
invoked from within
"go [file join $starkit::topdir lib app-tclapp tclapp_startup.tcl]"
(file "entry.tcl" line 56)

tclcompiler does not compile, missing cmpInt.h

When attempting to compile the lib/tclcompiler, it is trying to pull in a header file cmpInt.h which does not seem to exist in the repo (tbcload?):

> make
gcc -DPACKAGE_NAME=\"tclcompiler\" -DPACKAGE_TARNAME=\"tclcompiler\" -DPACKAGE_VERSION=\"1.7.1\" -DPACKAGE_STRING=\"tclcompiler\ 1.7.1\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I"/private/tmp/tcl-tk-20180106-65143-zbnz9t/tcl8.6.8/generic" -I"/private/tmp/tcl-tk-20180106-65143-zbnz9t/tcl8.6.8/unix" -I/usr/local/Cellar/tcl-tk/8.6.8/include -pipe -Os -Wall -Wno-implicit-int -fno-common -c echo cmpWPkg.c-o cmpWPkg.o cmpWPkg.c:2:10: fatal error: 'cmpInt.h' file not found #include "cmpInt.h" ^~~~~~~~~~ 1 error generated. make: *** [cmpWPkg.o] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.