libpeas支持哪些语言? [英] Which languages does libpeas support?

查看:103
本文介绍了libpeas支持哪些语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

libpeas插件的插件说明包含确定Loader的行,并以此语言编写插件的编写语言.似乎文档不包括可用语言列表.检查项目的git存储库可以找到

的条目
  • c
  • gjs,
  • 种子和
  • python.

目前尚不清楚预期的python版本是2还是3.

与相关的 gobject自省支持的语言相比,这些语言要少得多.

>

列出的4个全部可用的装载机吗?还是存在提供更多装载程序的外部项目?

解决方案

AFAIK是的,所有这些都是可用的装载程序,尽管在正式的libpeas论坛(例如邮件列表或IRC)上询问更为合理频道).

Vala使用C加载程序,并且可以与libpeas一起使用.

此外,该站点上列出的许多项目的状态都不是特别好.例如,JGIR的形状可能比大多数形状更好(IIRC上现在有一名GSoC学生正在研究它),但是它无法处理输入或输出参数.直到实际上该语言可用于GI时,才真正需要libpeas加载器.

The plugin description for a libpeas plugin contains a line determining the Loader and with this the programming language the plugin is written in. It seems the documentation includes not list of available languages. Inspecting the git repository of the project, a top-level directory "Loaders" can be found listing entries for

  • c,
  • gjs,
  • seed and
  • python.

It is unclear also if the python version expected is 2 or 3.

These are by far fewer languages that the related gobject introspection provides support for.

Are the listed 4 all available loaders? Or do external projects exist that provides more loaders?

解决方案

AFAIK yes, those are all the loaders which are available, though it would make much more sense to ask on an official libpeas forum (like the mailing list or IRC channel) than on SO.

Vala uses the C loader, and can be used with libpeas.

Also, a lot of the projects listed on that site aren't in particularly good shape. For example, JGIR is probably in better shape than most (IIRC there is a GSoC student working on it right now), but it can't handle out or inout parameters. A libpeas loader isn't really necessary until the language is actually usable with GI.

这篇关于libpeas支持哪些语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆