jit.js

JIT Assembler in javascript

Github星跟踪图

JIT Assembler

Build Status
NPM version

Logo

Instructions

var jit = require('jit.js');

var fn = jit.compile(function() {
  this.Proc(function() {
    this.mov('rax', 42);
    this.Return();
  });
});

console.log(fn());  // 42

More information is available on the wiki pages

LICENSE

This software is licensed under the MIT License.

Copyright Fedor Indutny, 2015.

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.

主要指标

概览
名称与所有者js-js/jit.js
主编程语言JavaScript
编程语言Python (语言数: 3)
平台
许可证Other
所有者活动
创建于2013-03-07 19:39:35
推送于2015-11-05 00:48:34
最后一次提交2015-11-05 00:48:22
发布数70
最新版本名称v1.18.2 (发布于 2015-11-05 00:48:22)
第一版名称v0.0.2 (发布于 2013-10-31 23:40:37)
用户参与
星数288
关注者数11
派生数16
提交数223
已启用问题?
问题数4
打开的问题数1
拉请求数4
打开的拉请求数0
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?