Pyrex (programming language) (original) (raw)

Property Value
dbo:abstract بايراكس (بالإنجليزية: Pyrex)‏ هي لغة برمجة أنشأت بغرض تسهيل عملية إنشاء وحدات بايثون. وصيغتها النحوية قريبة جدا من لغة بايثون. (ar) Pyrex est un langage de programmation destiné à l'écriture de modules Python. (fr) Pyrex is a programming language for creating Python modules. Its syntax is very close to Python and it makes it easy for Python programmers to write non-Python supporting code for interfacing modules in a language which is as close to Python as possible. Python itself only provides a C API to write extension modules, which allows writing of functions and datatypes in C. These can then be accessed from Python. It is possible to wrap the functions and datatypes of existing C libraries as Python objects and therefore make them available to Python. Pyrex allows the user to write extension modules in a Python-like language which may directly access the external C code. The similarity of Pyrex's syntax to Python's makes it easy to write Python modules, but there are some functional limitations. The programmer must specify the name of C-header files, enumerations, datatypes and functions needing to be accessed in the module, then they can be used as if they were Python objects. The Pyrex compiler will generate the necessary glue code automatically and compile the Pyrex code into a working Python module. There are tools like SWIG or Python's foreign function library ctypes which can be used for this task without requiring much additional code, but this is limited to making an external library available in Python code. If adjustments to the API are needed, glue code must again be written manually. (en) Pyrex は、Pythonの拡張モジュールの作成を補助する目的で開発されたプログラミング言語である。Python は拡張モジュールを記述するためのC言語のAPIを提供している。関数とデータ型をC言語で記述することができ、記述したモジュールは Python からアクセスすることができる。既存の C ライブラリ の関数とデータ型を Python オブジェクトとしてラップし、Python から利用可能にすることもできる。 こうしたプロセスの自動化を補助する SWIG のようなツールも存在するが、Python から外部のライブラリを利用可能にすることに限定されており、API の変更が必要な場合、再度グルーコードを手で記述する必要がある。このような場合に Pyrex は適している。Pyrex ではユーザーが C コードに直接アクセス可能な Python に似た言語を用いて、拡張モジュールを記述することを可能にする。 Pyrex と Python の文法が似ているため、Python のモジュールを記述するのは容易であり、C や C++ などの異なる言語を習得する必要がない。また、グルーコードを書く必要もない。C のヘッダファイルと、拡張モジュールでアクセスする必要のある列挙型、データ型、関数を指定するだけでよい。Pyrex コンパイラが必要なグルーコードを自動的に生成し、Pyrex コードを動作する Python モジュールにコンパイルしてくれる。 (ja) Pyrex — язык программирования, разработанный Greg Ewing в 2002 году в целях упрощения создания модулей для Python. Его синтаксис очень близок к Python, что упрощает использование Python-программистами для создания связующего кода. Позже Pyrex стал основой для Cython. (ru)
dbo:genre dbr:Programming_language
dbo:latestReleaseDate 2010-04-12 (xsd:date)
dbo:latestReleaseVersion 0.9.9
dbo:operatingSystem dbr:Cross-platform
dbo:programmingLanguage dbr:Python_(programming_language) dbr:C_(programming_language)
dbo:releaseDate 2002-04-03 (xsd:date)
dbo:wikiPageExternalLink http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
dbo:wikiPageID 3274540 (xsd:integer)
dbo:wikiPageLength 4495 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID 1026837619 (xsd:integer)
dbo:wikiPageWikiLink dbr:Python_(programming_language) dbr:Enumerated_type dbr:Cross-platform dbr:SWIG dbr:Application_programming_interface dbr:Subroutine dbr:Datatype dbr:C_(programming_language) dbc:Python_(programming_language) dbr:Cython dbc:Free_compilers_and_interpreters dbr:Programming_language dbr:Library_(computer_science) dbr:Module_(programming)
dbp:developer Greg Ewing (en)
dbp:genre dbr:Programming_language
dbp:latestReleaseDate 2010-04-12 (xsd:date)
dbp:latestReleaseVersion 0.900000 (xsd:double)
dbp:name Pyrex (en)
dbp:operatingSystem dbr:Cross-platform
dbp:programmingLanguage dbr:Python_(programming_language) dbr:C_(programming_language)
dbp:released 2002-04-03 (xsd:date)
dbp:title Pyrex (en)
dbp:wikiPageUsesTemplate dbt:Citation_needed dbt:Discuss dbt:Infobox_software dbt:Portal dbt:Reflist dbt:Start_date_and_age dbt:URL dbt:Compu-prog-stub
dbp:wordnet_type http://www.w3.org/2006/03/wn/wn20/instances/synset-software-noun-1
dct:subject dbc:Python_(programming_language) dbc:Free_compilers_and_interpreters
gold:hypernym dbr:Language
rdf:type owl:Thing dbo:Language dbo:Software schema:CreativeWork dbo:Work wikidata:Q386724 wikidata:Q7397 yago:WikicatComputerLanguages yago:Abstraction100002137 yago:ArtificialLanguage106894544 yago:Code106355894 yago:CodingSystem106353757 yago:Communication100033020 yago:ComputerLanguage106899633 yago:Language106282651 yago:ProgrammingLanguage106898352 yago:Writing106359877 yago:WrittenCommunication106349220 yago:Software106566077
rdfs:comment بايراكس (بالإنجليزية: Pyrex)‏ هي لغة برمجة أنشأت بغرض تسهيل عملية إنشاء وحدات بايثون. وصيغتها النحوية قريبة جدا من لغة بايثون. (ar) Pyrex est un langage de programmation destiné à l'écriture de modules Python. (fr) Pyrex — язык программирования, разработанный Greg Ewing в 2002 году в целях упрощения создания модулей для Python. Его синтаксис очень близок к Python, что упрощает использование Python-программистами для создания связующего кода. Позже Pyrex стал основой для Cython. (ru) Pyrex is a programming language for creating Python modules. Its syntax is very close to Python and it makes it easy for Python programmers to write non-Python supporting code for interfacing modules in a language which is as close to Python as possible. Python itself only provides a C API to write extension modules, which allows writing of functions and datatypes in C. These can then be accessed from Python. It is possible to wrap the functions and datatypes of existing C libraries as Python objects and therefore make them available to Python. (en) Pyrex は、Pythonの拡張モジュールの作成を補助する目的で開発されたプログラミング言語である。Python は拡張モジュールを記述するためのC言語のAPIを提供している。関数とデータ型をC言語で記述することができ、記述したモジュールは Python からアクセスすることができる。既存の C ライブラリ の関数とデータ型を Python オブジェクトとしてラップし、Python から利用可能にすることもできる。 こうしたプロセスの自動化を補助する SWIG のようなツールも存在するが、Python から外部のライブラリを利用可能にすることに限定されており、API の変更が必要な場合、再度グルーコードを手で記述する必要がある。このような場合に Pyrex は適している。Pyrex ではユーザーが C コードに直接アクセス可能な Python に似た言語を用いて、拡張モジュールを記述することを可能にする。 (ja)
rdfs:label بايركس (لغة برمجة) (ar) Pyrex (langage) (fr) Pyrex (ja) Pyrex (programming language) (en) Pyrex (язык программирования) (ru)
owl:sameAs freebase:Pyrex (programming language) yago-res:Pyrex (programming language) wikidata:Pyrex (programming language) dbpedia-ar:Pyrex (programming language) dbpedia-fr:Pyrex (programming language) dbpedia-ja:Pyrex (programming language) dbpedia-ru:Pyrex (programming language) https://global.dbpedia.org/id/3984F
prov:wasDerivedFrom wikipedia-en:Pyrex_(programming_language)?oldid=1026837619&ns=0
foaf:isPrimaryTopicOf wikipedia-en:Pyrex_(programming_language)
foaf:name Pyrex (en)
is dbo:programmingLanguage of dbr:GNU_Bazaar
is dbo:wikiPageRedirects of dbr:Pyrex_programming_language
is dbo:wikiPageWikiLink of dbr:Python_(programming_language) dbr:GNU_Bazaar dbr:Google_App_Engine dbr:Comparison_of_version-control_software dbr:Cython dbr:List_of_Python_software dbr:Soya3D dbr:Pyrex_programming_language
is foaf:primaryTopic of wikipedia-en:Pyrex_(programming_language)