V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
EulerChen

[llvm-bindings] 写了个可以让 Node.js 使用 LLVM 的插件,已发布到 npm

  •  
  •   EulerChen ·
    ApsarasX · Mar 27, 2021 · 1361 views
    This topic created in 1858 days ago, the information mentioned may be changed or developed.

    因为工作需要用到 TypeScript 和 LLVM,在 Github 上找了一圈没有找到合适的 bindings (大多数已经荒废,添加 API 不易)。

    于是自己写了个 Node 插件,虽然目前只暴露了 IR 等部分接口,但是可以随着是自己的使用需要不断添加,有需要的小伙伴自取。

    仓库地址: https://github.com/ApsarasX/llvm-bindings

    Supplement 1  ·  Nov 9, 2021
    可以使用 JavaScript/TypeScript/Node.js 操作 LLVM ,有需要的可以发 issue 提交一下需要使用的 API
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3193 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 14:28 · PVG 22:28 · LAX 07:28 · JFK 10:28
    ♥ Do have faith in what you're doing.