tree-sitter/cli/src
Antonin Décimo f0571b1e33
feat: Windows support using MinGW-w64 (#4201)
Building tree-sitter on Windows within a Cygwin or MSYS2 environment
for MinGW-w64 targets should work. As there's no configure-like step,
the tools have to be specified with:

    make CC=x86_64-w64-mingw32-gcc \
         AR=x86_64-w64-mingw32-ar \
         STRIP=x86_64-w64-mingw32-strip

Useful reference:
[How to build and use DLLs on Windows](https://nullprogram.com/blog/2021/05/31/)

This commit doesn't tag public functions with dllexport or
dllimport. This results in exporting non-static functions visible
between translation units, and generating slightly less efficient code
for calling exported functions from the DLL.

This commit doesn't include support to build libtree-sitter with MSVC or
clang-cl, but generates a libtree-sitter.lib file for MSVC/clang-cl
consumers.
2025-02-12 16:31:06 -08:00
..
fuzz feat: remove lazy_static in favor of LazyLock 2025-01-21 00:21:35 -05:00
templates feat: Windows support using MinGW-w64 (#4201) 2025-02-12 16:31:06 -08:00
tests fix(lib): prevent finished_tree assertion failure 2025-02-01 16:19:14 -05:00
highlight.rs refactor(cli): replace embedded xterm colors file with ansi_colours 2025-01-25 17:20:18 -05:00
init.rs fix(bindings): correct Zig bindings to expose a language function 2025-02-02 02:07:36 -05:00
input.rs feat(cli): make input handling agnostic 2025-01-03 16:16:17 -05:00
lib.rs feat(cli): make input handling agnostic 2025-01-03 16:16:17 -05:00
logger.rs fix(cli): allow dead code in Logger 2021-08-04 03:38:58 +03:00
main.rs feat(cli): specify abi version via env var 2025-02-01 13:57:53 -05:00
parse.rs chore: adapt to latest clippy lints 2025-01-31 20:41:11 -05:00
playground.html refactor(web): rename tree-sitter.js to web-tree-sitter.js 2025-02-11 22:56:50 -05:00
playground.rs refactor(web): rename tree-sitter.js to web-tree-sitter.js 2025-02-11 22:56:50 -05:00
query.rs feat(cli): rework query to use new input handler 2025-01-03 16:16:17 -05:00
query_testing.rs feat: remove lazy_static in favor of LazyLock 2025-01-21 00:21:35 -05:00
tags.rs feat(cli): rework tags to use new input handler 2025-01-03 16:16:17 -05:00
test.rs feat: remove lazy_static in favor of LazyLock 2025-01-21 00:21:35 -05:00
test_highlight.rs fix(cli): handle nested tags test files 2024-12-16 00:25:43 -05:00
test_tags.rs chore: a few minor lints 2025-01-21 00:57:58 -05:00
util.rs chore: some more clippy lints 2024-02-13 03:33:07 -05:00
version.rs feat: add version subcommand for versioning grammars 2024-10-18 22:08:57 -04:00
wasm.rs feat: move generate logic to its own crate 2024-09-27 17:04:21 -04:00