●●●●TCL/TKなら俺に聞け 4●●●● (542レス)
●●●●TCL/TKなら俺に聞け 4●●●● http://mevius.5ch.net/test/read.cgi/tech/1375678740/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
353: デフォルトの名無しさん [] 2019/02/18(月) 10:22:49.56 ID:jrTRVIL4 単なる変数展開と個々の引数としての展開では大きく違うからあえて冗長な書き方をすることでパッと見で両者の区別がつくようにしてるんじゃないかな http://mevius.5ch.net/test/read.cgi/tech/1375678740/353
354: デフォルトの名無しさん [] 2019/02/18(月) 15:25:56.92 ID:bbNHvPxv lassign で型限定する方法ない? http://mevius.5ch.net/test/read.cgi/tech/1375678740/354
355: デフォルトの名無しさん [] 2019/02/23(土) 22:18:41.43 ID:05po+dKO >>354 やりたいことをもう少し具体的に…(やっぱり難しくてお手上げかもしれないが) http://mevius.5ch.net/test/read.cgi/tech/1375678740/355
356: 本田 [] 2019/03/08(金) 06:16:15.50 ID:UCtp3rvd design patterns in tcl tk - YouTube https://www.youtube.com/watch?v=IQubd0NTENM Brent B Welch http://www.beedub.com/ http://mevius.5ch.net/test/read.cgi/tech/1375678740/356
357: デフォルトの名無しさん [sage] 2019/03/10(日) 00:10:31.28 ID:DeZad1wc >>332 set s [format "%03d %03d %03d" {*}$lst] http://mevius.5ch.net/test/read.cgi/tech/1375678740/357
358: デフォルトの名無しさん [] 2019/03/10(日) 15:03:39.13 ID:uFsYqTSV >>344 http://mevius.5ch.net/test/read.cgi/tech/1375678740/358
359: 本田 [] 2019/04/07(日) 22:45:37.16 ID:vq1byQ+H Tcl-Tk vs Wx Widgets https://wiki.tcl-lang.org/page/Tcl-Tk+vs+Wx+Widgets wxWidgets - Workshop Complex at bitWalk - Fuhito Suguri http://bitwalk.sitemix.jp/mingw_cross_wxw.php http://mevius.5ch.net/test/read.cgi/tech/1375678740/359
360: 本田 [] 2019/04/19(金) 06:32:00.09 ID:MQ2wvTRS Xilinx Tcl Store https://japan.xilinx.com/products/design-tools/vivado/Tcl-store.html http://mevius.5ch.net/test/read.cgi/tech/1375678740/360
361: デフォルトの名無しさん [] 2019/04/19(金) 08:27:51.90 ID:K+Fou2p2 Tcl/Tkだろ!ボケ! http://mevius.5ch.net/test/read.cgi/tech/1375678740/361
362: デフォルトの名無しさん [sage] 2019/04/19(金) 12:10:27.05 ID:aQMMTHRZ Tkは無いのかもしれないよ http://mevius.5ch.net/test/read.cgi/tech/1375678740/362
363: 本田 [sage] 2019/06/15(土) 06:50:47.12 ID:ly/5wdGU [PDF]Catenation and Operand Specialization For Tcl Virtual Machine http://www.eecg.utoronto.ca/~tsa/theses/benjamin_vitale.pdf [PDF]Alternative dispatch techniques for the Tcl VM Interpreter http://www.cs.toronto.edu/~bv/tcl2005/tcl2005-vitale-zaleski.pdf [PDF]Alternative Dispatch Techniques for the Tcl VM http://www.cs.toronto.edu/~bv/tcl2005/tcl2005-slides.pdf http://mevius.5ch.net/test/read.cgi/tech/1375678740/363
364: 本田 [sage] 2019/06/19(水) 06:47:20.92 ID:7+Fihow6 [PDF]A History of Tcl in the Browser - Tcl Community Association https://www.tclcommunityassociation.org/wub/proceedings/Proceedings-2011/SteveLanders/Tcl-in-the-Browser-presentation.pdf http://mevius.5ch.net/test/read.cgi/tech/1375678740/364
365: デフォルトの名無しさん [sage] 2019/06/24(月) 19:46:44.99 ID:c6qVqrI9 tkinter の話で申し訳ないのですが、 tcltk側の関数が返してくる tcl形式リスト(文字列)をpython 形式のリストに変換するにはどうしたらいいのでしょうか? >>> import tkinter >>> root = tkinter.Tk() >>> root.tk.eval("package require math::fourier") '1.0.2' >>> root.tk.eval("math::fourier::dft %s" % tkinter._stringify([1, 2, 3]) ) '{6.0 0.0} {-1.499999999999999 0.8660254037844388} {-1.499999999999999 -0.8660254037844388}' math::fourier::dft (離散フーリエ変換) を例として取り上げました。 tkinter._stringify は丁度よくpython形式のリストを整形してくれます。 [1, 2, 3 ] → { 1 2 3 } ですが、その逆が分かりません。 http://mevius.5ch.net/test/read.cgi/tech/1375678740/365
366: デフォルトの名無しさん [sage] 2019/06/25(火) 13:56:27.93 ID:pO4dP3rM 解決しました。 eval を使わず、call を使えということですね。 >>> root.tk.call("math::fourier::dft", [1, 2, 3] ) ((6.0, 0.0), (-1.499999999999999, 0.8660254037844388), (-1.499999999999999, -0.8660254037844388)) http://mevius.5ch.net/test/read.cgi/tech/1375678740/366
367: デフォルトの名無しさん [] 2019/06/25(火) 17:08:51.27 ID:XhZtJiMw よくみろ それは list じゃなくて tuple だ http://mevius.5ch.net/test/read.cgi/tech/1375678740/367
368: デフォルトの名無しさん [sage] 2019/06/25(火) 19:41:06.33 ID:pO4dP3rM >>> list(map(list, root.tk.call("math::fourier::dft", [1, 2, 3]) )) [[6.0, 0.0], [-1.499999999999999, 0.8660254037844388], [-1.499999999999999, -0.8660254037844388]] できますた http://mevius.5ch.net/test/read.cgi/tech/1375678740/368
369: デフォルトの名無しさん [] 2019/06/26(水) 10:48:27.21 ID:7Ob4FOl6 pythonならnumpyのdft使う方が速くね http://mevius.5ch.net/test/read.cgi/tech/1375678740/369
370: デフォルトの名無しさん [] 2019/07/19(金) 08:31:00.01 ID:Xk8EeMov ActiveTcl 8.6 インストール場所変更する方法ありますか http://mevius.5ch.net/test/read.cgi/tech/1375678740/370
371: デフォルトの名無しさん [] 2019/07/20(土) 13:40:22.94 ID:1y0e4GF6 exe直接実行せずに 7zipとかで中身ほじりながら 自分で展開して必要なものだけ配置 あとは環境変数でOK http://mevius.5ch.net/test/read.cgi/tech/1375678740/371
372: デフォルトの名無しさん [] 2019/07/21(日) 19:42:43.85 ID:2OgYyrCw >>371 370です。有難うございます。 windows7 ではインストール箇所固定で変更できませんでしたが、何故かwindows8.1ではあっさり指定可能でした。 狐につままれた気がします。 http://mevius.5ch.net/test/read.cgi/tech/1375678740/372
373: 本田 [sage] 2019/08/31(土) 22:41:40.88 ID: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. http://mevius.5ch.net/test/read.cgi/tech/1375678740/373
374: 本田 [sage] 2019/09/16(月) 21:54:31.35 ID:nztdqCoA PL/Tcl - Tcl手続き言語 https://www.postgresql.jp/document/9.4/html/pltcl.html http://mevius.5ch.net/test/read.cgi/tech/1375678740/374
375: 本田 [sage] 2019/10/02(水) 22:43:33.08 ID: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-Generator http://mevius.5ch.net/test/read.cgi/tech/1375678740/375
376: デフォルトの名無しさん [] 2019/10/07(月) 11:13:01.24 ID:PnP9spqR https://sourceforge.net/projects/tcl/files/Tcl/8.6.10/ 2019-10-04 一年ぶりの更新。未だ配布候補版です。 Tcl Source CodeTimelineを見ると10/1の日付のこれが完成を意味したのかね? 2019-10-01 21:38 (hopefuly) fix build http://mevius.5ch.net/test/read.cgi/tech/1375678740/376
377: デフォルトの名無しさん [] 2019/10/07(月) 12:53:39.42 ID:MDfEoATU >>376 GJ x86 x64 binary https://wiki.tcl-lang.org/page/Binary+Distributions VC2017 で build https://qiita.com/tenomoto/items/4459bbd6bd86871acb8b ActiveTcl https://www.activestate.com/products/activetcl/downloads/ http://mevius.5ch.net/test/read.cgi/tech/1375678740/377
378: デフォルトの名無しさん [] 2019/10/08(火) 10:22:21.02 ID:xX7RkViq バイナリならthomasのが安定 http://mevius.5ch.net/test/read.cgi/tech/1375678740/378
379: デフォルトの名無しさん [sage] 2019/10/08(火) 20:59:21.88 ID:85kfhJDS M.Hiroi氏のtcltkのページまさかの現在更新中? マイブームなのかな http://mevius.5ch.net/test/read.cgi/tech/1375678740/379
380: デフォルトの名無しさん [sage] 2019/10/08(火) 21:43:34.22 ID:ttfQLc3F Hiroi氏のサイト、tcltk以外の言語も分かり易く要点がまとまってるので昔からお世話になってます。 http://mevius.5ch.net/test/read.cgi/tech/1375678740/380
381: デフォルトの名無しさん [sage] 2019/10/08(火) 23:16:08.51 ID:J68M6wrj キタ━━━━(゚∀゚)━━━━!! http://mevius.5ch.net/test/read.cgi/tech/1375678740/381
382: デフォルトの名無しさん [sage] 2019/10/13(日) 20:56:46.24 ID:2zguGNaS 8月から実用編ががっつり増えてるのな。 tailcall なんてのが使えるようになってたんだな。知らなかったよ。 http://mevius.5ch.net/test/read.cgi/tech/1375678740/382
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 160 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.015s