shopify / tree_stand Goto Github PK
View Code? Open in Web Editor NEWA high-level Ruby wrapper for tree-sitter bindings.
Home Page: https://rubygems.org/gems/tree_stand
License: MIT License
A high-level Ruby wrapper for tree-sitter bindings.
Home Page: https://rubygems.org/gems/tree_stand
License: MIT License
Related to #5.
The ruby-tree-sitter
gem isn't published to rubygems and shipit isn't able to build it.
It is possible to do, we need to use a dependencies.pre
step to install the tree-sitter library & headers so that the gem can be compiled.
dependencies:
pre:
- ./deploy/install-treesitter
However, there seems to be a bug with the gem. I receive this error message and even when the bundle config variables are set they are not respected. We need to update the gem to read these values if they are set before we're able to build it and release this gem to rubygems.
#!/usr/bin/env bash
set -ex
PREFIX="$(pwd)/tmp"
mkdir -p tmp/lib tmp/lib
cd tmp
git clone --depth=1 https://github.com/tree-sitter/tree-sitter.git 2> /dev/null
cd tree-sitter
make
PREFIX=$PREFIX make install
cd ../..
bundle config set build.tree_sitter \
--with-tree-sitter-dir=$PREFIX \
--with-tree-sitter-lib=$PREFIX/lib \
--with-tree-sitter-include=$PREFIX/include
I think we can copy the setup from the ruby-lsp
repo to publish the gem documentation to Shopify's GitHub pages.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.