Coder Social home page Coder Social logo

treelight's Introduction

Now i am become Rust, Destroyer of Unsafe code

If you like what I do consider sponsoring (or on liberapay) me.

Links

Blog

Latest entries:

Good Reads

To follow the path:
look to the master,
follow the master,
walk with the master,
see through the master,
become the master.

treelight's People

Contributors

edg-l avatar

Stargazers

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

Watchers

 avatar

Forkers

litao91

treelight's Issues

Tree sitter symbols missing?

Hi! I tried to add treelight as a dependency, cargo add treelight put treelight = "0.3.2" in my Cargo.toml.

Adding highlight_to_html(Language::Typescript, &data) to the source and trying to build, I get error messages like this:

  = note: ld.lld: error: undefined symbol: tree_sitter_c
          >>> referenced by c.rs:11 (src/c.rs:11)
          >>>               treelight-58b6157f33fc99c7.treelight.c97137e6-cgu.11.rcgu.o:(treelight::c::language::h709627aa5ebc0df6) in archive /home/kaj/proj/r4s/target/debug/deps/libtreelight-58b6157f33fc99c7.rlib

There seems to be one of these messages for each parser that treelight supports.

Is some parts missing from the treelight package? Or am I supposed to need to add them in a build job in each project using treelight?

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.