tree-sitter/lib
Rob Donnelly 123dcfaec5 Fix compile on older versions of GCC and CLANG (#427)
Older versions of GCC (<4.9) and LLVM (<3.6) do not have __atomic_load_n
which is part of the C11 standard.  Fix by falling back to
__sync_fetch_and_add with a value of 0 when __atomic_load_n is not
available.

Fixes #423

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2019-08-15 09:50:58 -07:00
..
binding_rust Fix Rust bindings example (#415) 2019-08-08 08:35:23 -07:00
binding_web Update JS test to reflect typescript grammar changes 2019-08-08 10:23:17 -07:00
include/tree_sitter Refactor generated lex function to use fewer instructions per state 2019-06-20 09:57:38 -07:00
src Fix compile on older versions of GCC and CLANG (#427) 2019-08-15 09:50:58 -07:00
utf8proc@d81308faba Reorganize repo, add rust CLI and binding code, 2019-01-04 17:31:49 -08:00
Cargo.toml Bump library versions 2019-05-31 10:24:29 -07:00
README.md Set up code to publish web bindings to npm 2019-05-07 13:11:04 -07:00

Subdirectories

  • src - C source code for the Tree-sitter library
  • include - C headers for the Tree-sitter library
  • utf8proc - A submodule for utf8proc, Tree-sitter's one library dependency.
  • binding_rust - Rust bindings to the Tree-sitter library
  • binding_web - JavaScript bindings to the Tree-sitter library, using WebAssembly