GithubHelp home page GithubHelp logo

using system tree-sitter about nimterop HOT 6 OPEN

barcharcraz avatar barcharcraz commented on June 10, 2024
using system tree-sitter

from nimterop.

Comments (6)

genotrance avatar genotrance commented on June 10, 2024

Nimterop actually compiles in the tree-sitter library during install. It does not need tree-sitter when generating a binding.

from nimterop.

barcharcraz avatar barcharcraz commented on June 10, 2024

Yes, it downloads and builds tree-sitter when nimterop is compiled. This is a problem if you want to compile things from sources without internet access. It also makes it impossible to package nimterop (or any derived library) on most linux distributions, since they want to mirror all source code and prohibit network access during builds).

Indeed fedora has pretty much given up on packaging nim apps for this reason (along with others)

from nimterop.

genotrance avatar genotrance commented on June 10, 2024

I'm open to a PR that adds tree-sitter as a sub-module instead of being pulled via nimterop itself.

from nimterop.

barcharcraz avatar barcharcraz commented on June 10, 2024

that should be easy enough, hopefully I'll have time to make it happen soon.

from nimterop.

arkanoid87 avatar arkanoid87 commented on June 10, 2024

I'm also interested in using tree-sitter with nim for another project, it would be nice to turn the wrapping/binding part into an independent project available in nimble packages.

It would also be nice to see it available into tree-sitter github readme under "bindings"

from nimterop.

genotrance avatar genotrance commented on June 10, 2024

I'm also interested in using tree-sitter with nim for another project, it would be nice to turn the wrapping/binding part into an independent project available in nimble packages.

It would also be nice to see it available into tree-sitter github readme under "bindings"

There is https://github.com/genotrance/nimtreesitter which is in Nimble. I don't know if it still works though.

from nimterop.

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.