for (if (true) return;;) {} ãåãã®ã¯ç¥ã£ã¦ããã©ï¼ä»æ¥digitalmarsã®MLçºãã¦ãã for ({} false; 42) {} ã¨ããã½ã¼ã¹ãç´¹ä»ããã¦ãï¼ç¢ºãã«ç©ºåã ãã©ãâ¦
for (if (true) return;;) {} ãåãã®ã¯ç¥ã£ã¦ããã©ï¼ä»æ¥digitalmarsã®MLçºãã¦ãã for ({} false; 42) {} ã¨ããã½ã¼ã¹ãç´¹ä»ããã¦ãï¼ç¢ºãã«ç©ºåã ãã©ãâ¦
Tangoã¯ãªã¯ã³ã³ ããã°ã©ãã³ã°åå¿è åãã®Dè¨èªè¬åº§ã§ãã Dè¨èªå ¥éè¬åº§ã¨ã¯ã¾ãéã£ãæ¹åæ§ã§ãã 00 - éè¬ 01 - ã³ã³ãã¤ã«ãã¦å®è¡ããã¾ã§ 02 - DFLã§GUIããã°ã©ãã³ã° 03 - tango.core.Arrayã«ã¤ã㦠04 - Tango ã® IO ã«ã¤ã㦠05 - Tango ã® XML ã«ã¤ãã¦
誰ãæ¢ã«æ¸ãã¦ã¦ãããããªãæ°ãããã®ã ããä½æ ãè¦ããããªãã®ã§æ¸ãããDè¨èªä½¿ãã®äººã£ã¦ Windows ã¦ã¼ã¶ã«å¤ãããã ããã ä¸å¿ã¾ã¨ãã¦ã¢ãããtinywm.d ãå梱ã http://konbu.s13.xrea.com/lib/d/libdx11-20070810.tar.bz2 import Xlib;ãã¦ã hoge.d ãã³ã³ãã¤ã«ããã«ã¯ % dmd Xlib*.d hoge.d -L-lX11 -L-L/usr/X11R6/libã¨ããã¶ããããç¡é£ããªã¼ã¨æãã ãã¡ããã¡ããã¦ãã®ã§ããã¤ãã«åãåããã Xlib.d (ã©ã¤ãã©ãªã®ãããã¬ãã«ããã¨ããã¤ãDããå¼ã¶ã®ã«ä¾¿å©ããªé¢æ°ãå®ç¾©ããã), Xlib_types.d (åå®ç¾©), Xlib_define.d (å®æ°å®ç¾©), Xlib_funcs.d (é¢æ°å®ç¾©)ã 試ãã«ã©ã¤ãã©ãªåãã¦ã¿ããDMD
21:11 07/02/26 俺å®ç¾©ã§æ¸ããã via ãã®è¾ºã ããããã¿å ã«ãã¦ä¸äººç¨ããºã«ã²ã¼ã ãä½ãããNPå®å ¨ã½ãã äºäººç¨å¯¾æ¦ã²ã¼ã ãä½ãããPSPACEå®å ¨ã½ããã¨ããã®ãæã èãã¾ãã NPå®å ¨ã®ä¸çªåºæ¬çãªåé¡ã SAT: boolåå¤æ° x1 ï½ xn ã and 㨠or 㨠not ã§çµã¿åãããå¼ãããã¾ãã ãããããªãã¯ãå¤æ° x1 ï½ xn ã®å¤ããã¾ã決ãã¦å¼å ¨ä½ã®å¤ã true ã«ãããã¨ãã§ãã¾ããï¼ï¼ ã¨ããçããè¦ã¤ãã¾ãããç³»ãªã®ã«å¯¾ãã¦ãPSPACEå®å ¨ã®ä¸çªåºæ¬çãªåé¡ã QBF: boolåå¤æ° x1 ï½ xn ã and 㨠or 㨠not ã§çµã¿åãããå¼ãããã¾ãã x1 ããã¾ã決ãã¦ããä¾ãx2 ãtrueã§ãfalseã§ããããã§ãããã x3 ããã¾ã決ãããã x4 ãtrueã«ãªã£ã¦ãfalseã«ãªã£ã¦ã (以ä¸ç¹°ãè¿ã
ãã¦ã³ãã¼ã tx-20100712.zip (D 2.xç¨ææ°ç) tx-20070914.zip (D 1.xç¨ææ°ç) 2010/07/12 : 2.046ã§ã³ã³ãã¤ã«éãããã«ããã ã 2009/01/30 : 2.023ã§ã³ã³ãã¤ã«éãããã«ããã ã 2007/12/16 : invariantæ§ãè²ã æ£ãããã 2007/09/14 : char[] â string ãããã¼ã¸ã§ã³ ããã¯ä½ D ã§æ¥æ¬èªå ¥åºåããã㨠locale ã UTF-8 ãããªãã¨é ·ããã¨ã«ãªã件ã«ã¤ãã¦å¿æ¥å¦ç½®ã©ã¤ãã©ãªã ãã¨é©å½ã«ã¡ãã£ã¨ä¾¿å©ãªå ¥åºåã¤ã³ã¿ã¼ãã§ã¼ã¹ã // main.d import tx.all; import std.stream; void main( string[] argv ) { // æ¨æºå ¥åã¨ãã¡ãã㨠UTF-8 ã§èªã¿è¾¼ã foreach(line;
02:35 07/01/31 Dja ç¾ç¶ã® Phobos (Dã®ã©ã³ã¿ã¤ã ã©ã¤ãã©ãª) 㯠locale ã UTF-8 ãããªãç°å¢ã ã¨å ¨ç¶ä½¿ãã¾ããã æåãåãåãã§ããâ¦ã¨ãã話é¡ã§Dã¹ã¬ãçãä¸ãã£ã¦ã¾ãããèªåã¯å¿ è¦ã«ãªããã³ã«å ´å½ããçã«å¯¾å¦ãã¦ãã®ã§ããã©ããã£ãããªã®ã§ æå ã«æ£ãã°ã£ã¦ãã½ã¼ã¹ããããã«å¯¾å¦ãã¦ãã¤ããã£ã½ãç®æãå¯ãéãã¦ã¿ã¾ããã â tx ã¤ãã§ã«ãwritefln ã writefln ãããªãã®ãä¸ä¾¿ã ãªã¼ã¨åã«è¨ã£ã¦ãç¹ã«ã¤ãã¦ã® å ´å½ããç対å¦ãå ¥ã£ã¦ãã¾ãããã¨ãreadf ãé¢åã ã¨æã£ã¦ Java ã® Scanner 風ã®ã D ã§æ¸ããã¤ãã ã©ã£ãã«ããã¯ããªã®ã§ãã ãã¾æ¢ç´¢ä¸ããã¼ããã¡ã¤ã«åã®æåã³ã¼ããã©ãã«ãããªãã¨ãããªããã ã£ãã wchar_t ã Unicode ã§ãªãç°å¢ãä»æå ã«ãªãã®ã§ããã®é¨åã¯æªãã¹ãã§
ã¡ã³ããã³ã¹
ãç¥ãã
é害
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}