Code Monkey home page Code Monkey logo

Comments (3)

zunairazaman avatar zunairazaman commented on July 28, 2024

@rcshubhadeep Can you please help me why Mac Update - 19.11.2021 - is still not working for me.

We are not able to support the s3 based download anymore. So the download_libs command does not work. We are making them available via this release - https://github.com/autosoft-dev/tree-hugger/releases/tag/0.10.1 Please download the required zip file from there :(

from tree-hugger.

rcshubhadeep avatar rcshubhadeep commented on July 28, 2024

Hi,

Thanks for letting us know. I am suspecting that you are using M1/M2 Mac (as you said) the processor architecture is different. The libraries that are available here were compiled on a intel 64 bit architecture. Hence they won't work on a M1/M2 Mac.

I am sorry that it did not work for you. I do not have access to a M1 mac and hence I can't compile them myself. But you may be able to compile the new libraries. You can do two things.

  1. Try the create_libs command. It is already shipped with tree-hugger. You can run create_libs --help to know about the options. This may solve your problem.
  2. If this does not solve your problem then go have a look at here. You will be able to see what the command does under the hood. It is very simple actually. And you can perform those steps separately to check if that makes a successful build.

Hope this helps. I am presently not in a situation to actually support the development of tree_hugger. So sorry if this does not help.

Also one small request, if you do compile the libraries please consider opening a PR here to add them to tree-hugger to help people like yourself in the future.

All the best.

from tree-hugger.

rcshubhadeep avatar rcshubhadeep commented on July 28, 2024

I am happy that it helped you. The method bodies are not implemented yet, but you can easily extend tree_hugger to do that. Please have a look into the three following resources to have an idea how that can be done

1.> How to extend tree_hugger - https://github.com/autosoft-dev/tree-hugger#extending-tree-hugger

2.> The method that gives you method names from JS classes - https://github.com/autosoft-dev/tree-hugger/blob/master/tree_hugger/core/parser/javascript/javascript_parser.py#L29

3.> The query that eanbles it to do so - https://github.com/autosoft-dev/tree-hugger/blob/master/tree_hugger/core/parser/javascript/queries.yml#L16

I am guessing using these resources you can come up with a custom parser class that can achieve what you want to do. I will be happy to answer any further question.

If you do not mind me asking what kind of work are you using tree_hugger for?

from tree-hugger.

Related Issues (20)

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.