Git Product home page Git Product logo

comby.js's Introduction

comby.js

A Javascript adaptation of comby. Work in progress.

comby.js's People

Contributors

rvantonder avatar

Stargazers

tworimpa avatar Medson Oliveira avatar savi2w avatar Gabriel avatar

Watchers

James Cloos avatar Eric Landuyt avatar  avatar

Forkers

d4hines

comby.js's Issues

I hope this project will be activated.

I am very interested in this project.
Because I want to make vscode extension based on our comby rule.
It would be great if there is more explanation of the guide or development method. ^^

comby.min.js works, but not comby.js

I get the following error:

❯ node ./test/example-rewrite-rule.js 
/home/d4hines/repos/comby.js/js/comby.js:906
     {if(s.length < 24)
           ^

TypeError: Cannot read property 'length' of undefined
    at jsoo_is_ascii (/home/d4hines/repos/comby.js/js/comby.js:906:12)
    at caml_bytes_of_utf16_jsstring (/home/d4hines/repos/comby.js/js/comby.js:2219:12)
    at caml_string_of_jsstring (/home/d4hines/repos/comby.js/js/comby.js:2222:14)
    at rewrite$1 (/home/d4hines/repos/comby.js/js/comby.js:118189:29)
    at Object.<anonymous> (/home/d4hines/repos/comby.js/test/example-rewrite-rule.js:3:13)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Module.load (node:internal/modules/cjs/loader:972:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)

But when I swap the require in the first line of that file for ../js/comby.min.js, it works fine.

(I know this is unfinished work so no pressure - just snooping around and noticed this).

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.