ããã¯ããã¾ã§å®è£ ã®ä¸ä¾ã§ãã£ã¦ã詳細ã¯è¨èªå¦çç³»ã®ãã¶ã¤ã³ã«ä»»ããã¦ãã¾ãã ã¾ãã以éã®ä¾ã§ã¯ã¹ã¿ãã¯ã¯ä¸æ¹(ã¢ãã¬ã¹ã®ä½ãæ¹)ã«ä¼¸ã³ããã®ã¨ãã¾ãã ã¾ããCçã®æç¶ãåè¨èªã«ãããã¹ã¿ãã¯ãã¬ã¼ã ã®ä½¿ãæ¹ã復ç¿ãã¦ããã¾ãããã 次ã®ããã«ãé¢æ°Aãé¢æ°Bã¨é¢æ°Cãå¼ã³åºãã¦ãããã®ã¨ãã¾ãã int A(int a, ...) { int b, c; B(b); C(c); } int B(int b) { int b1; /* other calculation */ } int C(int c) { int c1; /* other calculation */ } é¢æ°Aãå¼ã°ããç´å¾ã®ã¹ã¿ãã¯ã«ã¯ãä¿åãããå¼ã³åºãå ã®ã¬ã¸ã¹ã¿ãæ»ãã¢ãã¬ã¹ã ããã¦Aã®å¼æ° (aç) ã¨ãã¼ã«ã«å¤æ° (b, c) çãç©ã¾ãã¾ããã¹ã¿ãã¯ãã¤ã³ã¿(SP)ã¯ã¹ã¿ãã¯ã®åä¸ç«¯ãæããã¾ãã
Shiro Kawai ã¾ã ä¸æ¸ã Schemeã®ç¹å¾´ããããã¨ãã«ããç¶ç¶ãããcall/ccããåºã¦æ¥ãªããã¨ã¯ãªãã ã§ããR5RSã®call/ccã®é ããããèªãã§ããã©ããããããããªãã call/ccã使ãã°Cè¨èªã®breakã¿ãããªã®ã¨ããã³ã«ã¼ãã³ã¨ããã ã¹ã¬ãããã©ãã¨ããæ¸ãããã¨ããã®ã¯ããã£ããã©ãä¸ä½ããããã®ãæ¸ã㦠ä½ãå¬ããã®ãããããã¨ãããã³ã¨æ¥ãªããã ã ä»ãããã«ããç¶ç¶ ããã°ã©ãã³ã°ã®ä¸çã®æ¦å¿µã«ã¯ãç¦ ã®å ¬æ¡ã®ãããªãã®ãããã ããã説æããæç« ã¯ã»ãã®ä¸æãªã®ã«ãæåã«ç®ã«ããæã ãã®æã¯å ¨ãæå³ããªããªããæå·ã®ããã«æããããã ã ãã²ã¨ãã³ãã®æ¦å¿µãç解ããã¨ã ãã®æ¦å¿µã®èª¬æã¯ç¢ºãã«ãã®ä¸æã§èª¬æããã¦ããã®ããããã®ã ã ãããªããåããã°åãããã¨ããç¦ åçã®ä¸ã§ã ãç¶ç¶ãã¯æãè¬ããããã®ã®ä¸ã¤ã¨è¨ããã ããã æç®ãç´
About â ãéæ³è¨èª ãªãªã«ã«âLispãã¯ããã«ã²ã¼ã 風ã®Lispãã¥ã¼ããªã¢ã«ã§ãã "ã¢ãªãµ"ã"ããã"éã¨æ¥½ããLispãå¦ã¹ã¾ãã å ¨ï¼ï¼è©±æ§æã§å話ã®æå¾ã«ã¯ç·´ç¿åé¡ãç¨æããã¦ãã¾ãã Lispå¦çç³»ã«ã¯NScripterä¸ã§åä½ããLispã¤ã³ã¿ããªã¿ã§ããNScLisperã使ç¨ã å¥ã®å¦çç³»ãã¤ã³ã¹ãã¼ã«ããå¿ è¦ã¯ããã¾ããï¼ï¼ Lispã¨ã¯ â CãC++ãJavaãBASICãPerlãRubyãPHPãPythonãMLãHaskellãªã©ã¨åãããã°ã©ãã³ã°è¨èªã®ä¸ã¤ã§ãã ããµãã¥ã¼ã»ããå·¥ç§å¤§å¦ã®John McCarthyææãä¸å¿ã¨ããç 究ã°ã«ã¼ãã«ãã£ã¦éçºããã1962å¹´ã«çºè¡¨ããã¾ããã Lispã¨ã¯List Processorã®ç¥ã§ååéããªã¹ãã®å¦çãå¾æã¨ãã¾ãã ãã®ãã¨ãã人工ç¥è½ã®éçºã«å¤ãç¨ãããã¦ãã¾ãã NScLisperã¨ã¯
ããããªãâ¦â¦ ããããªãâ¦â¦ R5RSã®7.2ç¯ã«è¼ã£ã¦ããå½¢å¼çæå³è«ãããããªãâ¦â¦ R5RSã®å½¢å¼çæå³è«ãç解ããæ°åã«ãªãããã®åéºã¯ã å¤ãããè¨å·ã®åã«éãåºããªããã¨ãã ã¡ãªã¿ã«èè ã¯5åãããéãåºãããããããã ããããªãâ¦â¦ ç解ãããæ°åãã«ãªããã¨ã«æå³ãããã®ãããããªãâ¦â¦ ããããä½åº¦ãéãåºãã人ã®æç« ãä¿¡ãã¦ããã®ãããããªãâ¦â¦ R5RSã®å½¢å¼çæå³è«ãç解ã§ããæ°åã«ãªãã°ãããªãããã¨ããããã è³¢ããªã£ãæ°åã«ãªãã ä»äººã«èªæ ¢ã§ãããããããªã 以åãããé ããããã飲ããæ°ããã ãã¨ããã®æç« ã¯éµåã¿ã«ããªãæ¹ããããã⪠ããã ã¯ã¦ãªããããã¨å¦ã¶ã£ã¦ã³ã³ã»ããã ãã©ã æ°å¦çãªå 容ãªããã®ç§ããããããããã®åºçªãããªãã®ã? ç¥å度ãä½ãã®ããããªãã®ã!? æµã¯ç¥å度ãªã®ã!? ã²ãããã¦ããã¿ãã ããããã« ãããããã
back ãã㯠Suzuki Hisao ãã ([email protected]) ã«ããã Scheme ã®ä»æ§æ¸ R5RS (Revised^5 Report on Algorithmic Language Scheme) ã®æ¥æ¬èªè¨³ã§ããæ°å±±ã訳ããããã§ã¯ããã¾ããã 1999å¹´ 3æã« fj.comp.lang.lisp ã«æ稿ããããã®ããæ°å±±ã ã³ã³ãã¤ã«ãå¤æãã¾ããã R5RS ã®æ¥æ¬èªè¨³ã¨ãã¦ã¯ãç¬é£¼ 大ããã«ããæ¥æ¬èªè¨³ãå¤ãåºåã£ã¦ãã¾ããã æ°å±±ã¯ Suzuki ããã«ããçã®ã»ããèªã¿ãããã¨æãã¾ãã [Gzipped tar, 97k] r5rs-ja.tar.gz Suzuki ããã«ãã£ã¦æåã« fj ã«æ稿ããã TeX ã½ã¼ã¹ã®ã¢ã¼ã«ã¤ãã 以ä¸ã®ãã¡ã¤ã«ã¯ãã¹ã¦ããããçæãã¾ããã [PDF, 430k] r5rs-ja.pdf P
WebScheme Scheme interpreter for web applications WebSchemeã¯JavaScriptã§æ¸ããããã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ã®ããã®Schemeå¦çç³»ã§ãã ã㢠IE6.0ããã³Firefox 1.5ã«ã¦åä½ç¢ºèªãã¦ãã¾ãã æ°ç¬ æ°ç¬ã¨ããããºã«ã²ã¼ã ãéã¶ããã°ã©ã ã§ãã ãload sampleããã¯ãªãã¯ããã¨ããã°ã©ã ããã¼ããããevalããæ¼ãã¨å®è¡ãã¾ãã æ°ç¬ï¼ã³ã³ãã¤ã«æ¸ã¿çï¼ Schemeã®ã³ã¼ããäºåã«JavaScriptã«ã³ã³ãã¤ã«ãã¦ãããã¨ã§ããã¼ãæéãç¡ããããã®ã§ãã WebSchemeããGoogle Maps APIãå¼ã³åºããµã³ãã« WebSchemeã«ã¯JavaScriptã®ãªãã¸ã§ã¯ããæä½ããæ©è½ããããããã使ã£ã¦ Googleããããæä½ãããµã³ãã«ã§ãã ãload sampleã
åãä½ã£ãå Lispã§ã JavaScript 1.8 (Firefox 3) ã§ããåããªãã®ã§æ³¨æãã¦ãï¼ï¼ ãã¹ãã³ã¼ã (define ( åºå JavaScript ã«ããå®è£ var tokenize = function(source) source.match(/\"(?:[^"])*\"|\|[^\|]*\||(\)|\(|\s+|[^\(\)\s]+)/gm).filter(/^[^\s]/); var parse = function(tokens) { var list = [], token; while ((token = tokens.shift()) && token != ')') list.push((token == '(') ? parse(tokens) : (token[0] == '"') ? token.substring(1, token
Gauche(ã´ã¼ã·ã¥)ã¯ãã¹ã¯ãªããã¤ã³ã¿ããªã¿ã¨ãã¦ã®ä½¿ãæãã«éç¹ãç½®ã㦠éçºãè¡ã£ã¦ããR7RSæºæ ã®Schemeå¦çç³»ã§ããæ¥å¸¸æ¥åã®ä¸ã§ã®ã¡ãã£ã¨ããå¦çãè¡ã ã¹ã¯ãªãããæ°è»½ã«Schemeã§æ¸ããããªããã¨ããé¡æã®ãã¨ã«ã èµ·åãéããã¨ãã·ã¹ãã ã¸ã®ã¢ã¯ã»ã¹ãçµã¿è¾¼ã¾ãã¦ãããã¨ã æåããå¤å½èªå¯¾å¿ãèæ ®ãã¦ãããã¨ã ãªã¹ãå¦çã©ã¤ãã©ãªã¨ãã¦ä»ã®C/C++ããã°ã©ã ããç°¡åã«ãªã³ã¯å¯è½ã§ãããã¨ã ãªã©ãç®æ¨ã¨ãã¦ãã¾ãã Gaucheã¯å¤ãã®Unixç³»ãã©ãããã©ã¼ã ããã³Windowsä¸ã§åä½ãã¾ãã å®è£ ããã¦ããæ©è½ã®æ¦è¦ã«ã¤ãã¦ã¯ã æ©è½ã®ãã¼ã¸ãã覧ãã ããã News 詳ããå¤æ´ã¯ChangeLogãã©ããã ã¾ããææ°ã®éçºç¶æ³ã¯Gitãªãã¸ããªã§ç¥ããã¨ãã§ãã¾ãã 2024/4/23 Gauche 0.9.15 ãªãªã¼ã¹ãã¼ããåç §ãã¦ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}