-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeBSD Support #155
Comments
Seems to be mostly fixed by #95. In my experimentation everything works except the node based grammars that try to fetch tree-sitter via npm. If they published FreeBSD binaries it would all be seamless. For what it's worth, tree-sitter builds and works fine on FreeBSD. In additional, the same applies to NetBSD and OpenBSD as well. |
Note the target needs to be set to |
#95 is now merged. Can you test to see if it works? 🤔 |
I test using the following configuration:
The following language grammars built with no issues.
The following language grammars failed to build because they are marked to not build on FreeBSD. Please note in my private testing if the node build configuration is changed to allow FreeBSD or OpenBSD they build and work with no issue. At some point when I have tested these on FreeBSD, NetBSD, and OpenBSD I'll submit pull requests to them to resolve this issue and link to these issues and pull requests to a relevant open bug here for tracking. I plan on adding support eventually for those three major BSD operating systems.
The following throw errors during build. I have manually fixed some of these privately but they will not work out of the box. The problem is usually some fringe test case that makes Linux assumptions that don't work on BSD operating systems.
The following appear in the repos directory but are not invoked by
I plan to make pull requests in the future to add OpenBSD and NetBSD support which will change some things from #95. Otherwise there isn't much to fix on tree-sitter-langs since the problems with BSD operating systems are mostly due to issues in the grammars. |
Is there anyway to make tree-sitter work with FreeBSD?
The package itself is ported in the FreeBSD repository, but can't make emacs work it.
I get the unsupported system-type error that's raised by
in the tree-sitter-langs-build.el
The text was updated successfully, but these errors were encountered: