|
__NOTOC__ Hy (alternately, Hylang) is a dialect of the Lisp programming language designed to interoperate with Python by translating expressions into Python's abstract syntax tree (AST). Similar to Clojure's mapping of s-expressions onto the JVM, Hy is meant to operate as a transparent Lisp front end to Python's abstract syntax. Hy also allows for Python libraries (including the standard library) to be imported and accessed alongside Hy code with a compilation〔"Compiled" is a term which may apply to expressing Hy code in Python's AST or converting that AST into bytecode, the latter being dependent on the particular Python interpreter used and not Hy.〕 step converting the data structure of both into Python's AST.〔(【引用サイトリンク】url=http://docs.hylang.org/en/latest/tutorial.html#hy-is-a-lisp-flavored-python )〕 Because Lisp allows for operating on code as data, Hy can be used to write domain-specific languages. Hy is compatible with Python 2.6 to 3.4 and multiple Python interpreters (e.g. PyPy).〔 Hy was introduced at PyCon 2013 by Paul Tagliamonte. ==Notes== 〔 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Hy」の詳細全文を読む スポンサード リンク
|