ãµã¨æãç«ã£ã¦ Haskell 㧠brainfuck ãæ¸ãã¦ã¿ãããããªäºãã£ã¦ã人ã¯æ²¢å±±ããã¨æãã®ã§ãä¸ã¤å¶éãã¤ãããã¢ãã㯠main é¢æ°ã®ä¸ã ããã使ããªããã¤ã¾ããå¾ã¯å ¨é¨å¯ä½ç¨ãªãã§ããã ããããã大ä½ã®æ¹éãç«ã¦ããbrainfuck ã®ææ³ã¯ã¨ã¦ãåç´ãªã®ã§ãããããã¦ãã¼ãµãããããªããããç¡ããã¨æã£ãã®ã ãã©ãã«ã¼ããããé¢ä¿ä¸ãã£ã±ãæåã«æ§ææ¨ãä½ã£ãã»ããããããããã¨ããäºã§ãªã¼ã½ããã¯ã¹ã«ãã½ã¼ã¹ã³ã¼ã -> æ§ææ¨ -> å®è¡ãã¨è¨ãé åºã§é²ããäºã«ããã -- Parser data Command = Inc | Dec | Next | Prev | Put | Get | While [Command] deriving (Show, Eq) type Program = [Command] parse :: String -> Prog
{{#tags}}- {{label}}
{{/tags}}