タグ

logicalに関するmoozのブックマーク (2)

  • Differences between pattern matching and unification?

    Simple statement: pattern matching is one-way, unification is two-way. That is, in Prolog the right-hand side (the one being matched against) can include unbound variables. E.g., if you have two unbound variables X and Y, this will work fine: X = Y, X = 5, %% Y = 5 now as well In Erlang (which uses pattern-matching with syntax close to Prolog), the line X = Y will produce an error: variable 'Y' is

    Differences between pattern matching and unification?
    mooz
    mooz 2015/08/24
    パターンマッチと単一化
  • Guarded Horn Clauses - Wikipedia

    Guarded Horn Clauses (GHC)は、1984年末に設計され1985年に発表された並行論理プログラミング言語である[1]。第五世代コンピュータプロジェクトで並列マシンの核言語の検討をしていた上田和紀により設計された。核言語の候補だったConcurrent Prologを分析する過程で問題点を見付け、それを解決するさらに単純化した言語として設計した。 GHCのバリエーションであるFlat GHCを基に、近山 隆によりKL1 (Kernel Language One) が設計され、第五世代コンピュータプロジェクトでハードウェアと応用ソフトウェアとの間を繋ぐ核言語として、並列マシンのオペレーティングシステムやKL1を含む様々な言語処理系、各種応用プログラムの作成に利用された[2]。 概要[編集] Guarded Horn Clauses (GHC) は並行プログラミングのための

    mooz
    mooz 2011/09/18
    並列論理プログラミング言語.第五世代コンピュータの文脈.KL1 や Oz など.
  • 1