Git Product home page Git Product logo

js.js's People

Contributors

donno2048 avatar jterrace avatar nkatta avatar sbeard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

js.js's Issues

No

Stop this.

Any API documentation or reference?

Prior to anything thanks for your efforts on making this project, it's really interesting and I'm creating an application with it.
But there is no documentation right now for this project (or at least I can't find it).
I understand that it all uses the Spider-monkey's API but things are different when it comes to using your wrapper library. I've already reverse engineered some of your wrapper functions but having a set of documentation pages would be awesome.

Thanks in advance.

Interesting project

Hi and apologies if this is not the correct place to ask this. This is a really interesting project and would be useful in something I am working on. I am surprised it does not appear to be an active project - is there a reason it has not been developed further? Has anyone implemented it in their software?

Many Thanks

[Bug] Wired issue about Fibonacci example

First, thanks for this great package!

Introduction

Fibonacci example return wrong result when input greater than 45.

Recurrent

  1. Run example both Native js and js.js with input 45.
  2. Run example both Native js and js.js with input 46.

I tried to fix this issue myself, but source code is too huge to understand quickly, if anyone can give me a hint or idea about this issue, I am more than happy to help fix it!!

Support server side as well

I'm not sure how to import this like an npm module to run sandboxed code. Could you give some guidance on this please :)

Handle non English Characters

Hello, I was wondering how can I tweak it to handle non English characters, as I was investigating the code, I realized the function responsible for parsing is parseUTF16. It is returning the wrong code for my characters, I am not sure if the way it is storing characters should be changed or just the parsing.

    parseUTF16 : function parseUTF16(ptr) {
        //FIXME: this assumes ascii

https://github.com/jterrace/js.js/blob/master/src/jsjs-wrapper.js#L98

Thank you for the library!

How to compile

Hello, could you please list the dependencies used to compile Spider Monkey? I read the compile.txt file and couldn't find all dependencies needed. Thanks in advance!

fibonacci overflow

js.js result for iteration 10: 55
Native result for iteration 10: 55
js.js result for iteration 20: 6765
Native result for iteration 20: 6765
js.js result for iteration 30: 832040
Native result for iteration 30: 832040
js.js result for iteration 40: 102334155
Native result for iteration 40: 102334155
js.js result for iteration 50: -888668160
Native result for iteration 50: 12586269025
js.js result for iteration 100: 1990706582
Native result for iteration 100: 354224848179262000000
js.js result for iteration 1000: -2082817698
Native result for iteration 1000: 4.346655768693743e+208

Feature request: remove requirement for window

I am trying to use js.js in Node, but it complains that window is missing.

By the way, I am using libjs-O2.min.js

EDIT: I also added the following to the bottom:

module && module.exports = JSJS;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.