[haskell]iniファイルとexception

ini形式のデータをパースして値を取得できるようにします。また、ファイルが無いときの例外キャッチをできるようにします。

[crayon-662af10cc …

Continue reading

[haskell][BNFC]n3337 Raw-string

n3337のRaw-stringをBNFCで定義する。

うまくパースしてくれているようで …

Continue reading

[haskell]BNFCでUnicodeを扱える様にする

BNFCのcharは0〜255の文字コードしか扱えない。これをUnicodeの範囲に広げる。

[crayon-662af10cc322e796546132 …

Continue reading

[haskell]UTF8へのencode

UTF-8へのエンコードは2種類ある。

[crayon-662af10cc3397274 …

Continue reading

[haskell]内部文字コード

Haskellの文字列扱いを少し

出力結果

Haskell内部ではUnicodeスカラ値 …

Continue reading