2010-03-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¢ã»ã³ããªå®è£ ã®rowl0 rowl0å®è£ ã®rowl1 ãããã¦1ä¸è¡è¶ ãããããããrowl0ã§ã®éçºãç ´ç¶»ãã¦ãããå¤æ°åã»ãã©ã¡ã¼ã¿åã»ã¿ãã«ã¤ã³ããã¯ã¹ãªã©ãã¸ãã¯ãã³ãã¼ã ããå½ããåã¨ããã°å½ããåã rowl1ã§ã¯åå管çãã§ããããã«ãªã£ã¦ãããã§ãæ©â¦
Haskellers Meeting 2010ã«æ¥ããããã http://atnd.org/events/3820 大御æããããæ®å¿µãªãããã®æé帯ã«ã¯åå ã§ããªããªãã æ¼éã©ã£ãã®å¤§å¦ã§è¬æ¼ããããããã ãããï¼åç»ãªã©è³æå ¬éãã¦ã»ãããªããã Implementing Functional Languages: A â¦
ã¿ãã«ãé¢æ°ã®æ»ãå¤ã«ãããã¨ãã§ããããã«ããããã¿ã¼ã³ãããã§å¤ãåãåºããçºãä¸ã®ããã«å¤å¤è¿å´ã¨ãã¦å©ç¨ãããã¨ãã§ããã return_tuple: () { return (1, 2) }; export main: () { (a, b) : return_tuple(); syscall(a, b); }ä¸ã®ãããªã³â¦
ãã¼ã«ã«ã¿ãã« rowlã®ã¿ãã«ã¯éããã¯ã¹ååã¨ããã ãããªæãã§æ¸ãã¨ãã¬ã¸ã¹ã¿ãããã¯ã¹ã¿ãã¯ä¸ã«ã¿ãã«ãæ§ç¯ãããã x : (1, (2, 3));ããã¯ã¹åãããã¨ãã¯C++ã®newã®ããã«æ示çã«æ¸ããã¨ã«ãã(syntaxãªã©èãä¸)ã ãã¿ã¼ã³ãããã³ã° ã¿â¦
ä½ããã£ã¦ããããããããããã
rowl1㧠plus: (x,y) { return x+y; };ãã³ã³ãã¤ã«ããã¨ãä¸éã³ã¼ãã _plus.ii2TiL: pushl %ebp movl %esp, %ebp movl 12(%ebp), %p9 movl 8(%ebp), %p8 movl %p8, %p10 addl %p9, %p10 movl %p10, %eax leave retã«ãªãã%p8,%p9,%p10ãã¬ã¸ã¹ã¿æªå²ãâ¦
x86ã®ã¢ã»ã³ããªã¯åºæ¬çã«ï¼çªå°ã³ã¼ããªã®ã«ãä½æ ãï¼çªå°ã³ã¼ãã«ãã¦ãã ä»ã¯æé©åã¨ããããªãã®ã§ãå®è£ ã®å®¹æããåªå ãã¦2çªå°ã³ã¼ãã«å¤æ´ããã
3çªå°ã³ã¼ãã«å¯¾ãã¦ã¬ã¸ã¹ã¿å²ãå½ã¦ãå®è£ ããã å¹²æ¸ã°ã©ãã«åºã¥ãã°ã©ãã«ã©ã¼ãªã³ã°ã«ããå®è£ ã«ãããã«ã©ã¼ãªã³ã°ã®æé©åã¯æ®ã©ãã£ã¦ããªããå¹²æ¸ã¬ã¸ã¹ã¿ã®å¤ãã¨ããããåªå çã«å²ãå½ã¦ãã¨ããç¨åº¦ãããã§å®è¡å¯è½ãªã³ã¼ããçæã§ããã¨ãâ¦
ããã ããä½æ°ã«ä»ã¾ã§READMEãæ¸ãããã¨ããªãã£ããChangeLogãã¡ããã¨æ¸ãããã¨ãªãã£ãã ä»ã¯ããªãéã ãã©ãå¾ã ã«ä½è£ãæ´ãã¦ãããã
ã¨ãããããrlc1ã§ã¯ä¸çªå°ã³ã¼ããä¸éã³ã¼ãã«ãããã¨ã«ãããæç§æ¸éãã ããã¯ã¨ã³ãã¯ç°¡æã¬ã¸ã¹ã¿å²ãå½ã¦ã®ã¿å®è£ ãã¹ã±ã¸ã¥ã¼ãªã³ã°ã¯ããªãã
rowlã¯Cè¨èªé¢¨ã®æ§æã«ãããã¨æã£ã¦ãããä¾ãã° if (...) { ... };ã®æ§ã«elseç¯ãæããªãifæãå®ç¾©ãããã¨ãã§ããããã«ããããã¾ãå¤ãreturnã使ã£ã¦è¿ãããã«ãããã ãã®å ´åãä¾ãã° f: (a,b,c) { if (a > 0) { return b; }; return c; };ã¿â¦
cpp -pedantic -U__GNUC__ ã§ããªããã»ã¹ããã
ã©ãããcoLinuxã®ããã¸ã§ã¯ããã¼ã¸ã§é å¸ããã¦ããDebianã®ãã£ã¹ã¯ã¤ã¡ã¼ã¸ãSUSE Linuxä¸ã§ã³ã³ãã¤ã«ããããã®ã§ãã模æ§ãããã ã¨ãã«ãã·ã¹ãã çã«ã¢ã¼ããã¯ãã£ãåéããããå ´åãããçºãã«ã¼ãã«ãåæ§ç¯ããã Thinkpad x100e+coLinuxã â¦
Debian lennyãDebian sidã«dist-upgradeãããå ¨ãåé¡ãªãçµäºãããã©ã/proc/versionããã§ãã¯ããã Linux version 2.6.22.18-co-0.7.5 (hn@hn-dt) (gcc version 4.2.1 (SUSE Linux)) #1 PREEMPT Mon Sep 14 22:21:15 UTC 2009 ãªããSUSE
åå¹´ã»ã©æ¾ç½®ãã¦ãããã©ãã£ã¨èªãã ã ã³ã³ãã¤ã©æè¡ã®æ¬ã¨ããããã¯COINSã®èª¬æãããæ¬ããªãã¨ããã並ååã»ä¸¦åæé©åã®é¨åã®èª¬æãå å®ããã¦ã»ããã£ãããã·ã³è¨è¿°tmdã®ãããã¨ãåèã«ãªã£ããã©ãããã«ã¨ã³ãã®é¨åã«èªåã§æ¸ãã並ååã¢â¦
æ°åã¨åãæ¿ãã¦ããã£ã¦ã»ããã¢ãããå®äºããã CPUãæ¿ããé ãç¹ãé¤ãã°ãããæãã ã¨æããã¬ã¤ã¢ã¦ãã®å¤ãã£ããã¼ãã¼ããæªããªããOSã¯Windows7 Home Premiumããã®ä¸ã§ Google Chrome coLinuxãµã¼ãã¹ (OSã¯Debian) zsh + screen + vim puttyâ¦