Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> No one has tackled this yet, though, because in practice it has worked well enough to FFI in the C parser implementations.

The only issue I’ve come up with so far is a very distinct lack of ARM(64) support in precompiled binaries for FOSS-projects using tree-sitter.

One risks having to manually set up rust and build it yourself on your ARM-host (if your host is capable of that and your host-environment allows it), because currently there’s no easy way to cross-compile it, despite being largely rust-based:

https://github.com/tree-sitter/tree-sitter/issues/1366

It’s literally the only thing I have not working on in my otherwise very portable Emacs-setup when deployed on an ARM host, so for me it kinda stands out.



Using Nix and home-manager I'm able to have this setup with Emacs work across Linux and macOS (x86 and arm64) because it compiles the grammars from Nixpkgs itself (the grammar list can also be augmented declaratively with other grammars).

[0] https://github.com/siraben/dotfiles/blob/a0f49781ecb05693908...


That’s a bit above my head, but if you could contribute with a “from scratch” ARM64 cross-build recipe for tree-sitter, in the official repo, that would be great!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: