if [info exists hogehoge] { ... } if {[info exists hogehoge]} { ... }
Wikipediaに従えば後者のが効率が良いはずだが,括弧が多くなって邪魔臭い. それとも内部的には処理を最適化して同じ効率だったりするのか. 大したことじゃないが,いつも迷う. 0202デフォルトの名無しさん2017/03/05(日) 23:08:54.15ID:nindsAFW バグ防止じゃね 0203デフォルトの名無しさん2017/03/06(月) 18:16:18.94ID:R4qOQgGq フン フン フン 黒豆よ 0204デフォルトの名無しさん2017/07/20(木) 19:11:33.58ID:ZZQl41L2 pythonからtk無くなるのはいつ? 0205本田2017/09/26(火) 23:07:22.42ID:3JGPYe7X AndroWish allows to run desktop Tcl and Tk programs almost unaltered on the Android Platform while it opens the door to script a rich feature set of a mobile platform. https://www.androwish.org/index.html/home0206デフォルトの名無しさん2017/09/26(火) 23:16:22.12ID:HGlCdN70 いまさらレス。 ifはともかくwhileは{}で囲うかどうかで意味が違ってくる。 while [...] {...} としちゃうと[..]はコマンドを実行した結果がwhileの引数に渡される。 whileの第一引数がループ本体を実行する以前に決定されてしまっている。
while {[...]} {...} だと[...]という文字列がwhileの引数に渡される。 [...]がループ本体の結果を受けて変化することを期待しているなら後者でしか正常動作しない。 0207デフォルトの名無しさん2017/09/28(木) 10:19:40.52ID:PJxaABWy 原則を理解しないで上っ面だけ覚えようとするからそうなる 0208本田2017/09/29(金) 00:06:22.13ID:0ELM3AEs Tcl/Tk 8.7 is now in alpha development . Those seeking its new features, or those invested in keeping their existing Tcl-related work compatible with the next releases of Tcl and Tk are invited to try and track this development work. https://www.tcl.tk/software/tcltk/8.7.html0209デフォルトの名無しさん2017/09/29(金) 11:09:09.23ID:/1pN5XFr GJ 0210本田2017/10/03(火) 00:57:30.30ID:/sf4bemB Tcl Interpreter in C# Application http://wiki.tcl.tk/95630211デフォルトの名無しさん2017/10/13(金) 22:39:05.49ID:JSzbZ2G6>>206
>>201だけどレスサンクス 質問が悪かったwhileはご指摘の通り勘違い 問題はifのとき ifではなやむ 0212本田2017/10/15(日) 01:03:56.23ID:5iehCBRi tclquadcode http://wiki.tcl.tk/40985 Package for compiling Tcl bytecode into LLVM IR (and hence to native code). Depends on llvmtcl. (Used to depend on tclbdd during the development of some of the compiler reasoning engine; now removed.) May form the basis for the fastest path of the Tcl execution engine in 9.0; performance is good, but dependencies are complex. 0213本田2017/10/17(火) 00:00:28.05ID:KPUGqn7o The Tcl Tensor package allows for the creation and manipulation of multidimensional numerical arrays. Formerly known as "Tns". https://core.tcl.tk/jenglish/gutter/packages/tensor.html0214本田2017/10/18(水) 06:26:10.29ID:b+U1LV46 rattleCAD - Bicycle FrameBuilding CAD - Home http://rattlecad.sourceforge.net/ rattleCAD is free and a openSource software project. rattleCAD supports bespoked bicycle frame builders with a fully parametric bicycle model inside.
とか言っちゃうやつキモいね 0218デフォルトの名無しさん2017/10/22(日) 23:23:14.67ID:URVw1Agy>>164 じゃあこのスレも必要ないな ^^ 0219デフォルトの名無しさん2017/10/23(月) 02:23:31.84ID:ZPHHOCPL Xilinxか 0220本田2017/10/23(月) 21:09:43.84ID:ovIOTrA9 Creating Great Programmers with a Software Design Studio - John Ousterhout (Stanford) https://www.youtube.com/watch?v=ajFq31OV9Bk0221本田2017/10/23(月) 21:40:10.54ID:ovIOTrA9http://www.tcl.tk/customers/success/edacad.tml Tcl has become the defacto standard embedded command language for electronic design automation (EDA) and computer-aided design (CAD) applications. 0222本田2017/10/24(火) 06:28:46.14ID:VOczPTK0 Magic VLSI - Open Circuit Design http://opencircuitdesign.com/magic/ Magic is a venerable VLSI layout tool, written in the 1980's at Berkeley by John Ousterhout, now famous primarily for writing the scripting interpreter language Tcl.
できますた 0369デフォルトの名無しさん2019/06/26(水) 10:48:27.21ID:7Ob4FOl6 pythonならnumpyのdft使う方が速くね 0370デフォルトの名無しさん2019/07/19(金) 08:31:00.01ID:Xk8EeMov ActiveTcl 8.6 インストール場所変更する方法ありますか 0371デフォルトの名無しさん2019/07/20(土) 13:40:22.94ID:1y0e4GF6 exe直接実行せずに 7zipとかで中身ほじりながら 自分で展開して必要なものだけ配置 あとは環境変数でOK 0372デフォルトの名無しさん2019/07/21(日) 19:42:43.85ID:2OgYyrCw>>371 370です。有難うございます。 windows7 ではインストール箇所固定で変更できませんでしたが、何故かwindows8.1ではあっさり指定可能でした。 狐につままれた気がします。 0373本田2019/08/31(土) 22:41:40.88ID:L1gcRRDJ Next Scripting Framework https://next-scripting.org/xowiki/ NX is a highly flexible, Tcl-based, object-oriented scripting language. It is a descendant of XOTcl and was designed based on 10 years of experience with XOTcl in projects containing several hundred thousand lines of code. While XOTcl was the first language designed to provide language support for design patterns and to provide a highly dynamic programming environment, the Next Scripting Framework (NSF) and NX add to these features support for language-oriented programming. 0374本田2019/09/16(月) 21:54:31.35ID:nztdqCoA PL/Tcl - Tcl手続き言語 https://www.postgresql.jp/document/9.4/html/pltcl.html0375本田2019/10/02(水) 22:43:33.08ID:wneccwRY A Tcl -Tk Form Generator that can be used alone or used to provide a fast Form generation for language in which this activity can be complex https://www.codeproject.com/Articles/5247314/A-TCL-TK-Form-Generator0376デフォルトの名無しさん2019/10/07(月) 11:13:01.24ID:PnP9spqRhttps://sourceforge.net/projects/tcl/files/Tcl/8.6.10/ 2019-10-04 一年ぶりの更新。未だ配布候補版です。
Tcl/Tk 8.6.10 Release Announcement November 21, 2019 0389デフォルトの名無しさん2019/11/22(金) 20:00:41.46ID:BBXvLohs Tk improvements on Mac OSX (including Catalina) / Aqua - internationalized text entry with IME とあったので試してみた。(macOS Sierra 10.12.6)
Clustered and Parallel Storage System Technologies | USENIX https://www.usenix.org/conference/fast14/training-program/clustered-and-parallel-storage-system-technologies0418本田2021/01/02(土) 13:58:59.83ID:JQg0lCIi VTK - Wikipedia https://ja.wikipedia.org/wiki/VTK VTKはPython, Java, Tclに対するコア部分のラッパーを提供しているため、 これらのインタプリタ言語を使ってVTKのアプリケーションを書くことも可能である。 0419本田2021/01/03(日) 10:04:28.41ID:ogOhTtZ8 Critcl - the easy way to use C in Tcl scripts https://www.equi4.com/starkit/critcl.html0420デフォルトの名無しさん2021/01/03(日) 11:47:06.46ID:TDgWBZTohttps://www2.nhk.or.jp/hensei/program/p.cgi?area=001&date=2021-01-04&ch=11&eid=08070&f=3039 0421本田2021/01/03(日) 17:53:50.01ID:ogOhTtZ8>>412 https://sourceforge.net/projects/tcl/files/Tcl/8.6.11/0422本田2021/01/04(月) 10:01:22.01ID:broo8Cb/ Design and Development of a CPU Scheduler Simulator for Educational Purposes Using SDL | SpringerLink https://link.springer.com/chapter/10.1007/978-3-642-21652-7_5 Abstract This paper presents the design and development of a CPU scheduler simulator using SDL. This simulator enables us to study the behavior of one level and multilevel queue scheduling algorithms (including the real-time ones), and to obtain performance statistics for algorithm evaluation. In addition, a multi-platform graphical user interface, based on the Tcl/Tk language, has been developed to simplify the simulator use. The paper also presents our experiences in using SDL for the specification of CPU scheduling algorithms for educational purposes. 0423本田2021/01/17(日) 00:17:21.92ID:W0b65eFr BOOK The Tcl Programming Language https://wiki.tcl-lang.org/page/BOOK+The+Tcl+Programming+Language0424本田2021/02/06(土) 10:42:27.93ID:gX3gIC8w FreeDOS | The FreeDOS Project https://www.freedos.org/ Tcl 8.6.11 for DOS 2021-01-30 3:43pm Ben Collver has compiled Tcl 8.6.11 for DOS. This is a patch release, so it primarily includes bug fixes and corrections to erratic behavior. A few things to note in this release: + fixed crashes and hangs in lsort + rewrite of zlib inflation + fix auto_path initialization + fix errno management in socket full close. And a few changes that might cause incompatibilities: + revised handling of 4-byte UTF-8 sequences + evised binary encode/decode base64 + Tcl_DStringAppendElement quoting precision + force -eofchar 032 when evaluating library scripts. We've mirrored the updated version in the FreeDOS files archive at /devel/tcl/8.6.11/ on Ibiblio. Thanks Ben!
Tkcon https://wiki.tcl-lang.org/page/Tkcon Summary tkcon is a replacement for the standard console that comes with Tk (on Windows/Mac, but also works on Unix). The console itself provides many more features than the standard console. tkcon works on all platforms where Tcl/Tk is available. It is meant primarily to aid one when working with the little details inside tcl and tk, giving Unix users the GUI console provided by default in the Mac and Windows Tk. It's also not a bad replacement for the default MS-DOS shell (although it needs lots of fine tuning). 0488本田2022/09/01(木) 18:53:48.35ID:H4gLLtNR tkcon.tcl https://opensource.apple.com/source/tcl/tcl-107.50.1/tcl_ext/tkcon/tkcon/tkcon.tcl.auto.html https://opensource.apple.com/source/tcl/tcl-107.50.1/tcl_ext/tkcon/tkcon/tkcon.tcl0489デフォルトの名無しさん2022/09/01(木) 21:52:12.42ID:MLaveiUL かといって対話用途フル装備ってものまた違うかなって、まあスクリプト一つだけど>>488 欲しい機能だけ参考にさせてもらいます 0490デフォルトの名無しさん2022/09/01(木) 22:51:58.93ID:G4h3gIDD プログラム開発しながらちょこっと試すのにtclsh使ってて 最近rlwrapを使うようになって格段に便利になりましたが chshまでしてしまうとは猛者ですね 0491デフォルトの名無しさん2022/09/01(木) 23:40:22.59ID:MLaveiUL 親シェルがジョブコントロールしてると子シェルのジョブコントロールが有効にならんようで(サスペンドとか) 0492本田2022/09/02(金) 05:52:49.51ID:PU1Jv3lM>>484