Packages
localize_mf2_treesitter
0.1.0
Elixir bindings to the tree-sitter-mf2 grammar. Incremental, error-recovering CST parser for ICU MessageFormat 2 (MF2) messages suitable for editor tooling and LSP use.
Current section
Files
Jump to
Current section
Files
c_src/runtime/src/lib.c
// Single-translation-unit amalgamation of the tree-sitter runtime.
// Compiled alongside the generated parser.c into the NIF `.so`.
// Upstream ships `lib/src/lib.c` with the same shape; we keep our
// own copy here so we can prepend `_POSIX_C_SOURCE` for the handful
// of POSIX APIs the runtime touches on Linux.
#define _POSIX_C_SOURCE 200112L
#include "./alloc.c"
#include "./get_changed_ranges.c"
#include "./language.c"
#include "./lexer.c"
#include "./node.c"
#include "./parser.c"
#include "./point.c"
#include "./query.c"
#include "./stack.c"
#include "./subtree.c"
#include "./tree_cursor.c"
#include "./tree.c"
#include "./wasm_store.c"