├── .cargo └── config.toml ├── .dockerignore ├── .editorconfig ├── .gitattributes ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml ├── actions │ └── cache │ │ └── action.yml ├── cliff.toml ├── dependabot.yml ├── scripts │ ├── close_unresponsive.js │ ├── cross.sh │ ├── make.sh │ ├── remove_response_label.js │ ├── reviewers_remove.js │ └── tree-sitter.sh └── workflows │ ├── backport.yml │ ├── bindgen.yml │ ├── build.yml │ ├── ci.yml │ ├── docs.yml │ ├── emscripten.yml │ ├── nvim_ts.yml │ ├── release.yml │ ├── response.yml │ ├── reviewers_remove.yml │ ├── sanitize.yml │ └── wasm_exports.yml ├── .gitignore ├── CONTRIBUTING.md ├── Cargo.lock ├── Cargo.toml ├── Dockerfile ├── FUNDING.json ├── LICENSE ├── Makefile ├── Package.swift ├── README.md ├── cli ├── Cargo.toml ├── README.md ├── benches │ └── benchmark.rs ├── build.rs ├── config │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── lib.rs ├── eslint │ ├── index.js │ ├── package-lock.json │ └── package.json ├── generate │ ├── Cargo.toml │ ├── README.md │ ├── build.rs │ └── src │ │ ├── build_tables │ │ ├── build_lex_table.rs │ │ ├── build_parse_table.rs │ │ ├── coincident_tokens.rs │ │ ├── item.rs │ │ ├── item_set_builder.rs │ │ ├── minimize_parse_table.rs │ │ ├── mod.rs │ │ └── token_conflicts.rs │ │ ├── dedup.rs │ │ ├── dsl.js │ │ ├── grammar_files.rs │ │ ├── grammars.rs │ │ ├── lib.rs │ │ ├── nfa.rs │ │ ├── node_types.rs │ │ ├── parse_grammar.rs │ │ ├── prepare_grammar │ │ ├── expand_repeats.rs │ │ ├── expand_tokens.rs │ │ ├── extract_default_aliases.rs │ │ ├── extract_tokens.rs │ │ ├── flatten_grammar.rs │ │ ├── intern_symbols.rs │ │ ├── mod.rs │ │ └── process_inlines.rs │ │ ├── render.rs │ │ ├── rules.rs │ │ ├── tables.rs │ │ └── templates │ │ ├── alloc.h │ │ └── array.h ├── loader │ ├── Cargo.toml │ ├── README.md │ ├── build.rs │ ├── emscripten-version │ └── src │ │ └── lib.rs ├── npm │ ├── .gitignore │ ├── cli.js │ ├── dsl.d.ts │ ├── install.js │ └── package.json └── src │ ├── fuzz │ ├── allocations.rs │ ├── corpus_test.rs │ ├── edits.rs │ ├── mod.rs │ ├── random.rs │ └── scope_sequence.rs │ ├── highlight.rs │ ├── init.rs │ ├── input.rs │ ├── lib.rs │ ├── logger.rs │ ├── main.rs │ ├── parse.rs │ ├── playground.html │ ├── playground.rs │ ├── query.rs │ ├── query_testing.rs │ ├── tags.rs │ ├── templates │ ├── .editorconfig │ ├── PARSER_NAME.h │ ├── PARSER_NAME.pc.in │ ├── __init__.py │ ├── __init__.pyi │ ├── _cargo.toml │ ├── binding.go │ ├── binding.gyp │ ├── binding_test.go │ ├── binding_test.js │ ├── build.rs │ ├── build.zig │ ├── build.zig.zon │ ├── cmakelists.cmake │ ├── gitattributes │ ├── gitignore │ ├── go.mod │ ├── grammar.js │ ├── index.d.ts │ ├── index.js │ ├── js-binding.cc │ ├── lib.rs │ ├── makefile │ ├── package.json │ ├── package.swift │ ├── py-binding.c │ ├── pyproject.toml │ ├── root.zig │ ├── setup.py │ ├── test_binding.py │ └── tests.swift │ ├── test.rs │ ├── test_highlight.rs │ ├── test_tags.rs │ ├── tests │ ├── async_context_test.rs │ ├── corpus_test.rs │ ├── detect_language.rs │ ├── helpers │ │ ├── allocations.rs │ │ ├── dirs.rs │ │ ├── edits.rs │ │ ├── fixtures.rs │ │ ├── mod.rs │ │ └── query_helpers.rs │ ├── highlight_test.rs │ ├── language_test.rs │ ├── mod.rs │ ├── node_test.rs │ ├── parser_hang_test.rs │ ├── parser_test.rs │ ├── pathological_test.rs │ ├── proc_macro │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── query_test.rs │ ├── tags_test.rs │ ├── test_highlight_test.rs │ ├── test_tags_test.rs │ ├── text_provider_test.rs │ ├── tree_test.rs │ └── wasm_language_test.rs │ ├── util.rs │ ├── version.rs │ └── wasm.rs ├── compile_commands.json ├── docs ├── .gitignore ├── book.toml ├── src │ ├── 3-syntax-highlighting.md │ ├── 4-code-navigation.md │ ├── 5-implementation.md │ ├── 6-contributing.md │ ├── 7-playground.md │ ├── SUMMARY.md │ ├── assets │ │ ├── css │ │ │ ├── mdbook-admonish.css │ │ │ └── playground.css │ │ ├── images │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ └── tree-sitter-small.png │ │ ├── js │ │ │ └── playground.js │ │ └── schemas │ │ │ ├── config.schema.json │ │ │ └── grammar.schema.json │ ├── cli │ │ ├── build.md │ │ ├── complete.md │ │ ├── dump-languages.md │ │ ├── fuzz.md │ │ ├── generate.md │ │ ├── highlight.md │ │ ├── index.md │ │ ├── init-config.md │ │ ├── init.md │ │ ├── parse.md │ │ ├── playground.md │ │ ├── query.md │ │ ├── tags.md │ │ ├── test.md │ │ └── version.md │ ├── creating-parsers │ │ ├── 1-getting-started.md │ │ ├── 2-the-grammar-dsl.md │ │ ├── 3-writing-the-grammar.md │ │ ├── 4-external-scanners.md │ │ ├── 5-writing-tests.md │ │ ├── 6-publishing.md │ │ └── index.md │ ├── index.md │ └── using-parsers │ │ ├── 1-getting-started.md │ │ ├── 2-basic-parsing.md │ │ ├── 3-advanced-parsing.md │ │ ├── 4-walking-trees.md │ │ ├── 6-static-node-types.md │ │ ├── index.md │ │ └── queries │ │ ├── 1-syntax.md │ │ ├── 2-operators.md │ │ ├── 3-predicates-and-directives.md │ │ ├── 4-api.md │ │ └── index.md └── theme │ └── favicon.png ├── highlight ├── Cargo.toml ├── README.md ├── include │ └── tree_sitter │ │ └── highlight.h └── src │ ├── c_lib.rs │ └── lib.rs ├── lib ├── .ccls ├── CMakeLists.txt ├── Cargo.toml ├── README.md ├── binding_rust │ ├── README.md │ ├── build.rs │ ├── core_wrapper │ │ ├── alloc.rs │ │ ├── alpha.data │ │ ├── capi.rs │ │ ├── core │ │ │ ├── api_raw.rs │ │ │ ├── defines.rs │ │ │ ├── get_changed_ranges.rs │ │ │ ├── language.rs │ │ │ ├── lexer.rs │ │ │ ├── node.rs │ │ │ ├── parser.rs │ │ │ ├── query.rs │ │ │ ├── stack.rs │ │ │ ├── subtree.rs │ │ │ ├── tree.rs │ │ │ ├── tree_cursor.rs │ │ │ └── wasm_store.rs │ │ ├── mod.rs │ │ └── util.rs │ ├── ffi.rs │ ├── lib.rs │ ├── util.rs │ └── wasm_language.rs ├── binding_web │ ├── .gitattributes │ ├── .gitignore │ ├── CONTRIBUTING.md │ ├── README.md │ ├── eslint.config.mjs │ ├── lib │ │ ├── exports.txt │ │ ├── imports.js │ │ ├── prefix.js │ │ ├── tree-sitter.c │ │ └── tree-sitter.d.ts │ ├── package-lock.json │ ├── package.json │ ├── script │ │ ├── build.js │ │ ├── check-artifacts-fresh.ts │ │ └── generate-dts.js │ ├── src │ │ ├── bindings.ts │ │ ├── constants.ts │ │ ├── index.ts │ │ ├── language.ts │ │ ├── lookahead_iterator.ts │ │ ├── marshal.ts │ │ ├── node.ts │ │ ├── parser.ts │ │ ├── query.ts │ │ ├── tree.ts │ │ └── tree_cursor.ts │ ├── test │ │ ├── helper.ts │ │ ├── language.test.ts │ │ ├── node.test.ts │ │ ├── parser.test.ts │ │ ├── query.test.ts │ │ └── tree.test.ts │ ├── tsconfig.json │ ├── vitest.config.ts │ ├── web-tree-sitter.d.ts │ └── web-tree-sitter.d.ts.map ├── include │ └── tree_sitter │ │ └── api.h ├── language │ ├── Cargo.toml │ ├── README.md │ └── language.rs ├── src │ ├── alloc.c │ ├── alloc.h │ ├── array.h │ ├── atomic.h │ ├── clock.h │ ├── error_costs.h │ ├── get_changed_ranges.c │ ├── get_changed_ranges.h │ ├── host.h │ ├── language.c │ ├── language.h │ ├── length.h │ ├── lexer.c │ ├── lexer.h │ ├── lib.c │ ├── node.c │ ├── parser.c │ ├── parser.h │ ├── point.h │ ├── portable │ │ └── endian.h │ ├── query.c │ ├── reduce_action.h │ ├── reusable_node.h │ ├── stack.c │ ├── stack.h │ ├── subtree.c │ ├── subtree.h │ ├── tree.c │ ├── tree.h │ ├── tree_cursor.c │ ├── tree_cursor.h │ ├── ts_assert.h │ ├── unicode.h │ ├── unicode │ │ ├── ICU_SHA │ │ ├── LICENSE │ │ ├── README.md │ │ ├── ptypes.h │ │ ├── umachine.h │ │ ├── urename.h │ │ ├── utf.h │ │ ├── utf16.h │ │ └── utf8.h │ ├── wasm │ │ ├── stdlib-symbols.txt │ │ ├── stdlib.c │ │ └── wasm-stdlib.h │ ├── wasm_store.c │ └── wasm_store.h └── tree-sitter.pc.in ├── process_c2rust ├── Cargo.toml └── src │ └── main.rs ├── rustfmt.toml ├── tags ├── Cargo.toml ├── README.md ├── include │ └── tree_sitter │ │ └── tags.h └── src │ ├── c_lib.rs │ └── lib.rs ├── test └── fixtures │ ├── error_corpus │ ├── c_errors.txt │ ├── javascript_errors.txt │ ├── json_errors.txt │ ├── python_errors.txt │ ├── readme.md │ └── ruby_errors.txt │ ├── grammars │ └── .gitkeep │ ├── template_corpus │ ├── readme.md │ └── ruby_templates.txt │ └── test_grammars │ ├── aliased_inlined_rules │ ├── corpus.txt │ └── grammar.js │ ├── aliased_rules │ ├── corpus.txt │ └── grammar.js │ ├── aliased_token_rules │ ├── corpus.txt │ └── grammar.js │ ├── aliased_unit_reductions │ ├── corpus.txt │ └── grammar.js │ ├── anonymous_tokens_with_escaped_chars │ ├── corpus.txt │ └── grammar.js │ ├── associativity_left │ ├── corpus.txt │ └── grammar.js │ ├── associativity_missing │ ├── expected_error.txt │ └── grammar.js │ ├── associativity_right │ ├── corpus.txt │ └── grammar.js │ ├── conflict_in_repeat_rule │ ├── expected_error.txt │ └── grammar.js │ ├── conflict_in_repeat_rule_after_external_token │ ├── expected_error.txt │ └── grammar.js │ ├── conflicting_precedence │ ├── expected_error.txt │ └── grammar.js │ ├── depends_on_column │ ├── corpus.txt │ ├── grammar.js │ └── scanner.c │ ├── dynamic_precedence │ ├── corpus.txt │ ├── grammar.js │ └── readme.md │ ├── epsilon_external_extra_tokens │ ├── corpus.txt │ ├── grammar.js │ └── scanner.c │ ├── epsilon_external_tokens │ ├── corpus.txt │ ├── grammar.js │ └── scanner.c │ ├── epsilon_rules │ ├── expected_error.txt │ └── grammar.js │ ├── external_and_internal_anonymous_tokens │ ├── corpus.txt │ ├── grammar.js │ ├── readme.md │ └── scanner.c │ ├── external_and_internal_tokens │ ├── corpus.txt │ ├── grammar.js │ └── scanner.c │ ├── external_extra_tokens │ ├── corpus.txt │ ├── grammar.js │ └── scanner.c │ ├── external_tokens │ ├── corpus.txt │ ├── grammar.js │ └── scanner.c │ ├── external_unicode_column_alignment │ ├── README.md │ ├── corpus.txt │ ├── grammar.js │ └── scanner.c │ ├── extra_non_terminals │ ├── corpus.txt │ └── grammar.js │ ├── extra_non_terminals_with_shared_rules │ ├── corpus.txt │ └── grammar.js │ ├── get_col_eof │ ├── corpus.txt │ ├── grammar.js │ └── scanner.c │ ├── get_col_should_hang_not_crash │ ├── corpus.txt │ ├── grammar.js │ └── scanner.c │ ├── immediate_tokens │ ├── corpus.txt │ └── grammar.js │ ├── inline_rules │ ├── corpus.txt │ └── grammar.js │ ├── inlined_aliased_rules │ ├── corpus.txt │ ├── grammar.js │ └── readme.md │ ├── inverted_external_token │ ├── corpus.txt │ ├── grammar.js │ ├── readme.md │ └── scanner.c │ ├── invisible_start_rule │ ├── expected_error.txt │ └── grammar.js │ ├── lexical_conflicts_due_to_state_merging │ ├── corpus.txt │ ├── grammar.js │ └── readme.md │ ├── named_precedences │ ├── corpus.txt │ ├── grammar.js │ └── readme.txt │ ├── named_rule_aliased_as_anonymous │ ├── corpus.txt │ ├── grammar.js │ └── readme.md │ ├── nested_inlined_rules │ ├── corpus.txt │ ├── grammar.js │ └── readme.md │ ├── next_sibling_from_zwt │ ├── corpus.txt │ └── grammar.js │ ├── partially_resolved_conflict │ ├── expected_error.txt │ ├── grammar.js │ └── readme.txt │ ├── precedence_on_single_child_missing │ ├── expected_error.txt │ ├── grammar.js │ └── readme.md │ ├── precedence_on_single_child_negative │ ├── corpus.txt │ ├── grammar.js │ └── readme.md │ ├── precedence_on_single_child_positive │ ├── corpus.txt │ ├── grammar.js │ └── readme.md │ ├── precedence_on_subsequence │ ├── corpus.txt │ └── grammar.js │ ├── precedence_on_token │ ├── corpus.txt │ ├── grammar.js │ └── readme.md │ ├── readme.md │ ├── readme_grammar │ ├── corpus.txt │ └── grammar.js │ ├── reserved_words │ ├── corpus.txt │ └── grammar.js │ ├── start_rule_is_blank │ ├── corpus.txt │ └── grammar.js │ ├── start_rule_is_token │ ├── corpus.txt │ └── grammar.js │ ├── unicode_classes │ ├── corpus.txt │ └── grammar.js │ ├── unused_rules │ ├── corpus.txt │ ├── grammar.js │ └── readme.md │ └── uses_current_column │ ├── corpus.txt │ ├── grammar.js │ └── scanner.c ├── transpile.sh └── xtask ├── Cargo.toml └── src ├── benchmark.rs ├── build_wasm.rs ├── bump.rs ├── check_wasm_exports.rs ├── clippy.rs ├── fetch.rs ├── generate.rs ├── main.rs ├── test.rs ├── upgrade_emscripten.rs └── upgrade_wasmtime.rs /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | target 2 | .git 3 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/actions/cache/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/actions/cache/action.yml -------------------------------------------------------------------------------- /.github/cliff.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/cliff.toml -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/scripts/close_unresponsive.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/scripts/close_unresponsive.js -------------------------------------------------------------------------------- /.github/scripts/cross.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/scripts/cross.sh -------------------------------------------------------------------------------- /.github/scripts/make.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/scripts/make.sh -------------------------------------------------------------------------------- /.github/scripts/remove_response_label.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/scripts/remove_response_label.js -------------------------------------------------------------------------------- /.github/scripts/reviewers_remove.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/scripts/reviewers_remove.js -------------------------------------------------------------------------------- /.github/scripts/tree-sitter.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/scripts/tree-sitter.sh -------------------------------------------------------------------------------- /.github/workflows/backport.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/workflows/backport.yml -------------------------------------------------------------------------------- /.github/workflows/bindgen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/workflows/bindgen.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.github/workflows/emscripten.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/workflows/emscripten.yml -------------------------------------------------------------------------------- /.github/workflows/nvim_ts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/workflows/nvim_ts.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/response.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/workflows/response.yml -------------------------------------------------------------------------------- /.github/workflows/reviewers_remove.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/workflows/reviewers_remove.yml -------------------------------------------------------------------------------- /.github/workflows/sanitize.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/workflows/sanitize.yml -------------------------------------------------------------------------------- /.github/workflows/wasm_exports.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.github/workflows/wasm_exports.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/Dockerfile -------------------------------------------------------------------------------- /FUNDING.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/FUNDING.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/Makefile -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/README.md -------------------------------------------------------------------------------- /cli/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/Cargo.toml -------------------------------------------------------------------------------- /cli/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/README.md -------------------------------------------------------------------------------- /cli/benches/benchmark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/benches/benchmark.rs -------------------------------------------------------------------------------- /cli/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/build.rs -------------------------------------------------------------------------------- /cli/config/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/config/Cargo.toml -------------------------------------------------------------------------------- /cli/config/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/config/README.md -------------------------------------------------------------------------------- /cli/config/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/config/src/lib.rs -------------------------------------------------------------------------------- /cli/eslint/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/eslint/index.js -------------------------------------------------------------------------------- /cli/eslint/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/eslint/package-lock.json -------------------------------------------------------------------------------- /cli/eslint/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/eslint/package.json -------------------------------------------------------------------------------- /cli/generate/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/Cargo.toml -------------------------------------------------------------------------------- /cli/generate/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/README.md -------------------------------------------------------------------------------- /cli/generate/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/build.rs -------------------------------------------------------------------------------- /cli/generate/src/build_tables/build_lex_table.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/build_tables/build_lex_table.rs -------------------------------------------------------------------------------- /cli/generate/src/build_tables/build_parse_table.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/build_tables/build_parse_table.rs -------------------------------------------------------------------------------- /cli/generate/src/build_tables/coincident_tokens.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/build_tables/coincident_tokens.rs -------------------------------------------------------------------------------- /cli/generate/src/build_tables/item.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/build_tables/item.rs -------------------------------------------------------------------------------- /cli/generate/src/build_tables/item_set_builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/build_tables/item_set_builder.rs -------------------------------------------------------------------------------- /cli/generate/src/build_tables/minimize_parse_table.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/build_tables/minimize_parse_table.rs -------------------------------------------------------------------------------- /cli/generate/src/build_tables/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/build_tables/mod.rs -------------------------------------------------------------------------------- /cli/generate/src/build_tables/token_conflicts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/build_tables/token_conflicts.rs -------------------------------------------------------------------------------- /cli/generate/src/dedup.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/dedup.rs -------------------------------------------------------------------------------- /cli/generate/src/dsl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/dsl.js -------------------------------------------------------------------------------- /cli/generate/src/grammar_files.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /cli/generate/src/grammars.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/grammars.rs -------------------------------------------------------------------------------- /cli/generate/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/lib.rs -------------------------------------------------------------------------------- /cli/generate/src/nfa.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/nfa.rs -------------------------------------------------------------------------------- /cli/generate/src/node_types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/node_types.rs -------------------------------------------------------------------------------- /cli/generate/src/parse_grammar.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/parse_grammar.rs -------------------------------------------------------------------------------- /cli/generate/src/prepare_grammar/expand_repeats.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/prepare_grammar/expand_repeats.rs -------------------------------------------------------------------------------- /cli/generate/src/prepare_grammar/expand_tokens.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/prepare_grammar/expand_tokens.rs -------------------------------------------------------------------------------- /cli/generate/src/prepare_grammar/extract_default_aliases.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/prepare_grammar/extract_default_aliases.rs -------------------------------------------------------------------------------- /cli/generate/src/prepare_grammar/extract_tokens.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/prepare_grammar/extract_tokens.rs -------------------------------------------------------------------------------- /cli/generate/src/prepare_grammar/flatten_grammar.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/prepare_grammar/flatten_grammar.rs -------------------------------------------------------------------------------- /cli/generate/src/prepare_grammar/intern_symbols.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/prepare_grammar/intern_symbols.rs -------------------------------------------------------------------------------- /cli/generate/src/prepare_grammar/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/prepare_grammar/mod.rs -------------------------------------------------------------------------------- /cli/generate/src/prepare_grammar/process_inlines.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/prepare_grammar/process_inlines.rs -------------------------------------------------------------------------------- /cli/generate/src/render.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/render.rs -------------------------------------------------------------------------------- /cli/generate/src/rules.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/rules.rs -------------------------------------------------------------------------------- /cli/generate/src/tables.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/tables.rs -------------------------------------------------------------------------------- /cli/generate/src/templates/alloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/templates/alloc.h -------------------------------------------------------------------------------- /cli/generate/src/templates/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/generate/src/templates/array.h -------------------------------------------------------------------------------- /cli/loader/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/loader/Cargo.toml -------------------------------------------------------------------------------- /cli/loader/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/loader/README.md -------------------------------------------------------------------------------- /cli/loader/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/loader/build.rs -------------------------------------------------------------------------------- /cli/loader/emscripten-version: -------------------------------------------------------------------------------- 1 | 4.0.1 -------------------------------------------------------------------------------- /cli/loader/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/loader/src/lib.rs -------------------------------------------------------------------------------- /cli/npm/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/npm/.gitignore -------------------------------------------------------------------------------- /cli/npm/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/npm/cli.js -------------------------------------------------------------------------------- /cli/npm/dsl.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/npm/dsl.d.ts -------------------------------------------------------------------------------- /cli/npm/install.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/npm/install.js -------------------------------------------------------------------------------- /cli/npm/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/npm/package.json -------------------------------------------------------------------------------- /cli/src/fuzz/allocations.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/fuzz/allocations.rs -------------------------------------------------------------------------------- /cli/src/fuzz/corpus_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/fuzz/corpus_test.rs -------------------------------------------------------------------------------- /cli/src/fuzz/edits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/fuzz/edits.rs -------------------------------------------------------------------------------- /cli/src/fuzz/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/fuzz/mod.rs -------------------------------------------------------------------------------- /cli/src/fuzz/random.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/fuzz/random.rs -------------------------------------------------------------------------------- /cli/src/fuzz/scope_sequence.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/fuzz/scope_sequence.rs -------------------------------------------------------------------------------- /cli/src/highlight.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/highlight.rs -------------------------------------------------------------------------------- /cli/src/init.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/init.rs -------------------------------------------------------------------------------- /cli/src/input.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/input.rs -------------------------------------------------------------------------------- /cli/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/lib.rs -------------------------------------------------------------------------------- /cli/src/logger.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/logger.rs -------------------------------------------------------------------------------- /cli/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/main.rs -------------------------------------------------------------------------------- /cli/src/parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/parse.rs -------------------------------------------------------------------------------- /cli/src/playground.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/playground.html -------------------------------------------------------------------------------- /cli/src/playground.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/playground.rs -------------------------------------------------------------------------------- /cli/src/query.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/query.rs -------------------------------------------------------------------------------- /cli/src/query_testing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/query_testing.rs -------------------------------------------------------------------------------- /cli/src/tags.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tags.rs -------------------------------------------------------------------------------- /cli/src/templates/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/.editorconfig -------------------------------------------------------------------------------- /cli/src/templates/PARSER_NAME.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/PARSER_NAME.h -------------------------------------------------------------------------------- /cli/src/templates/PARSER_NAME.pc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/PARSER_NAME.pc.in -------------------------------------------------------------------------------- /cli/src/templates/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/__init__.py -------------------------------------------------------------------------------- /cli/src/templates/__init__.pyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/__init__.pyi -------------------------------------------------------------------------------- /cli/src/templates/_cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/_cargo.toml -------------------------------------------------------------------------------- /cli/src/templates/binding.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/binding.go -------------------------------------------------------------------------------- /cli/src/templates/binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/binding.gyp -------------------------------------------------------------------------------- /cli/src/templates/binding_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/binding_test.go -------------------------------------------------------------------------------- /cli/src/templates/binding_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/binding_test.js -------------------------------------------------------------------------------- /cli/src/templates/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/build.rs -------------------------------------------------------------------------------- /cli/src/templates/build.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/build.zig -------------------------------------------------------------------------------- /cli/src/templates/build.zig.zon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/build.zig.zon -------------------------------------------------------------------------------- /cli/src/templates/cmakelists.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/cmakelists.cmake -------------------------------------------------------------------------------- /cli/src/templates/gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/gitattributes -------------------------------------------------------------------------------- /cli/src/templates/gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/gitignore -------------------------------------------------------------------------------- /cli/src/templates/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/go.mod -------------------------------------------------------------------------------- /cli/src/templates/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/grammar.js -------------------------------------------------------------------------------- /cli/src/templates/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/index.d.ts -------------------------------------------------------------------------------- /cli/src/templates/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/index.js -------------------------------------------------------------------------------- /cli/src/templates/js-binding.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/js-binding.cc -------------------------------------------------------------------------------- /cli/src/templates/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/lib.rs -------------------------------------------------------------------------------- /cli/src/templates/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/makefile -------------------------------------------------------------------------------- /cli/src/templates/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/package.json -------------------------------------------------------------------------------- /cli/src/templates/package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/package.swift -------------------------------------------------------------------------------- /cli/src/templates/py-binding.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/py-binding.c -------------------------------------------------------------------------------- /cli/src/templates/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/pyproject.toml -------------------------------------------------------------------------------- /cli/src/templates/root.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/root.zig -------------------------------------------------------------------------------- /cli/src/templates/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/setup.py -------------------------------------------------------------------------------- /cli/src/templates/test_binding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/test_binding.py -------------------------------------------------------------------------------- /cli/src/templates/tests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/templates/tests.swift -------------------------------------------------------------------------------- /cli/src/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/test.rs -------------------------------------------------------------------------------- /cli/src/test_highlight.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/test_highlight.rs -------------------------------------------------------------------------------- /cli/src/test_tags.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/test_tags.rs -------------------------------------------------------------------------------- /cli/src/tests/async_context_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/async_context_test.rs -------------------------------------------------------------------------------- /cli/src/tests/corpus_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/corpus_test.rs -------------------------------------------------------------------------------- /cli/src/tests/detect_language.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/detect_language.rs -------------------------------------------------------------------------------- /cli/src/tests/helpers/allocations.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/helpers/allocations.rs -------------------------------------------------------------------------------- /cli/src/tests/helpers/dirs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/helpers/dirs.rs -------------------------------------------------------------------------------- /cli/src/tests/helpers/edits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/helpers/edits.rs -------------------------------------------------------------------------------- /cli/src/tests/helpers/fixtures.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/helpers/fixtures.rs -------------------------------------------------------------------------------- /cli/src/tests/helpers/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/helpers/mod.rs -------------------------------------------------------------------------------- /cli/src/tests/helpers/query_helpers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/helpers/query_helpers.rs -------------------------------------------------------------------------------- /cli/src/tests/highlight_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/highlight_test.rs -------------------------------------------------------------------------------- /cli/src/tests/language_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/language_test.rs -------------------------------------------------------------------------------- /cli/src/tests/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/mod.rs -------------------------------------------------------------------------------- /cli/src/tests/node_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/node_test.rs -------------------------------------------------------------------------------- /cli/src/tests/parser_hang_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/parser_hang_test.rs -------------------------------------------------------------------------------- /cli/src/tests/parser_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/parser_test.rs -------------------------------------------------------------------------------- /cli/src/tests/pathological_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/pathological_test.rs -------------------------------------------------------------------------------- /cli/src/tests/proc_macro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/proc_macro/Cargo.toml -------------------------------------------------------------------------------- /cli/src/tests/proc_macro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/proc_macro/src/lib.rs -------------------------------------------------------------------------------- /cli/src/tests/query_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/query_test.rs -------------------------------------------------------------------------------- /cli/src/tests/tags_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/tags_test.rs -------------------------------------------------------------------------------- /cli/src/tests/test_highlight_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/test_highlight_test.rs -------------------------------------------------------------------------------- /cli/src/tests/test_tags_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/test_tags_test.rs -------------------------------------------------------------------------------- /cli/src/tests/text_provider_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/text_provider_test.rs -------------------------------------------------------------------------------- /cli/src/tests/tree_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/tree_test.rs -------------------------------------------------------------------------------- /cli/src/tests/wasm_language_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/tests/wasm_language_test.rs -------------------------------------------------------------------------------- /cli/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/util.rs -------------------------------------------------------------------------------- /cli/src/version.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/version.rs -------------------------------------------------------------------------------- /cli/src/wasm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/cli/src/wasm.rs -------------------------------------------------------------------------------- /compile_commands.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/compile_commands.json -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | book 2 | -------------------------------------------------------------------------------- /docs/book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/book.toml -------------------------------------------------------------------------------- /docs/src/3-syntax-highlighting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/3-syntax-highlighting.md -------------------------------------------------------------------------------- /docs/src/4-code-navigation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/4-code-navigation.md -------------------------------------------------------------------------------- /docs/src/5-implementation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/5-implementation.md -------------------------------------------------------------------------------- /docs/src/6-contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/6-contributing.md -------------------------------------------------------------------------------- /docs/src/7-playground.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/7-playground.md -------------------------------------------------------------------------------- /docs/src/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/SUMMARY.md -------------------------------------------------------------------------------- /docs/src/assets/css/mdbook-admonish.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/assets/css/mdbook-admonish.css -------------------------------------------------------------------------------- /docs/src/assets/css/playground.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/assets/css/playground.css -------------------------------------------------------------------------------- /docs/src/assets/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/assets/images/favicon-16x16.png -------------------------------------------------------------------------------- /docs/src/assets/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/assets/images/favicon-32x32.png -------------------------------------------------------------------------------- /docs/src/assets/images/tree-sitter-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/assets/images/tree-sitter-small.png -------------------------------------------------------------------------------- /docs/src/assets/js/playground.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/assets/js/playground.js -------------------------------------------------------------------------------- /docs/src/assets/schemas/config.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/assets/schemas/config.schema.json -------------------------------------------------------------------------------- /docs/src/assets/schemas/grammar.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/assets/schemas/grammar.schema.json -------------------------------------------------------------------------------- /docs/src/cli/build.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/build.md -------------------------------------------------------------------------------- /docs/src/cli/complete.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/complete.md -------------------------------------------------------------------------------- /docs/src/cli/dump-languages.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/dump-languages.md -------------------------------------------------------------------------------- /docs/src/cli/fuzz.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/fuzz.md -------------------------------------------------------------------------------- /docs/src/cli/generate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/generate.md -------------------------------------------------------------------------------- /docs/src/cli/highlight.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/highlight.md -------------------------------------------------------------------------------- /docs/src/cli/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/index.md -------------------------------------------------------------------------------- /docs/src/cli/init-config.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/init-config.md -------------------------------------------------------------------------------- /docs/src/cli/init.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/init.md -------------------------------------------------------------------------------- /docs/src/cli/parse.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/parse.md -------------------------------------------------------------------------------- /docs/src/cli/playground.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/playground.md -------------------------------------------------------------------------------- /docs/src/cli/query.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/query.md -------------------------------------------------------------------------------- /docs/src/cli/tags.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/tags.md -------------------------------------------------------------------------------- /docs/src/cli/test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/test.md -------------------------------------------------------------------------------- /docs/src/cli/version.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/cli/version.md -------------------------------------------------------------------------------- /docs/src/creating-parsers/1-getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/creating-parsers/1-getting-started.md -------------------------------------------------------------------------------- /docs/src/creating-parsers/2-the-grammar-dsl.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/creating-parsers/2-the-grammar-dsl.md -------------------------------------------------------------------------------- /docs/src/creating-parsers/3-writing-the-grammar.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/creating-parsers/3-writing-the-grammar.md -------------------------------------------------------------------------------- /docs/src/creating-parsers/4-external-scanners.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/creating-parsers/4-external-scanners.md -------------------------------------------------------------------------------- /docs/src/creating-parsers/5-writing-tests.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/creating-parsers/5-writing-tests.md -------------------------------------------------------------------------------- /docs/src/creating-parsers/6-publishing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/creating-parsers/6-publishing.md -------------------------------------------------------------------------------- /docs/src/creating-parsers/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/creating-parsers/index.md -------------------------------------------------------------------------------- /docs/src/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/index.md -------------------------------------------------------------------------------- /docs/src/using-parsers/1-getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/using-parsers/1-getting-started.md -------------------------------------------------------------------------------- /docs/src/using-parsers/2-basic-parsing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/using-parsers/2-basic-parsing.md -------------------------------------------------------------------------------- /docs/src/using-parsers/3-advanced-parsing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/using-parsers/3-advanced-parsing.md -------------------------------------------------------------------------------- /docs/src/using-parsers/4-walking-trees.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/using-parsers/4-walking-trees.md -------------------------------------------------------------------------------- /docs/src/using-parsers/6-static-node-types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/using-parsers/6-static-node-types.md -------------------------------------------------------------------------------- /docs/src/using-parsers/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/using-parsers/index.md -------------------------------------------------------------------------------- /docs/src/using-parsers/queries/1-syntax.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/using-parsers/queries/1-syntax.md -------------------------------------------------------------------------------- /docs/src/using-parsers/queries/2-operators.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/using-parsers/queries/2-operators.md -------------------------------------------------------------------------------- /docs/src/using-parsers/queries/3-predicates-and-directives.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/using-parsers/queries/3-predicates-and-directives.md -------------------------------------------------------------------------------- /docs/src/using-parsers/queries/4-api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/using-parsers/queries/4-api.md -------------------------------------------------------------------------------- /docs/src/using-parsers/queries/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/src/using-parsers/queries/index.md -------------------------------------------------------------------------------- /docs/theme/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/docs/theme/favicon.png -------------------------------------------------------------------------------- /highlight/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/highlight/Cargo.toml -------------------------------------------------------------------------------- /highlight/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/highlight/README.md -------------------------------------------------------------------------------- /highlight/include/tree_sitter/highlight.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/highlight/include/tree_sitter/highlight.h -------------------------------------------------------------------------------- /highlight/src/c_lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/highlight/src/c_lib.rs -------------------------------------------------------------------------------- /highlight/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/highlight/src/lib.rs -------------------------------------------------------------------------------- /lib/.ccls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/.ccls -------------------------------------------------------------------------------- /lib/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/CMakeLists.txt -------------------------------------------------------------------------------- /lib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/Cargo.toml -------------------------------------------------------------------------------- /lib/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/README.md -------------------------------------------------------------------------------- /lib/binding_rust/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/README.md -------------------------------------------------------------------------------- /lib/binding_rust/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/build.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/alloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/alloc.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/alpha.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/alpha.data -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/capi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/capi.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/api_raw.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/api_raw.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/defines.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/defines.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/get_changed_ranges.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/get_changed_ranges.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/language.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/language.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/lexer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/lexer.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/node.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/node.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/parser.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/query.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/query.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/stack.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/stack.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/subtree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/subtree.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/tree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/tree.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/tree_cursor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/tree_cursor.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/core/wasm_store.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/core/wasm_store.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/mod.rs -------------------------------------------------------------------------------- /lib/binding_rust/core_wrapper/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/core_wrapper/util.rs -------------------------------------------------------------------------------- /lib/binding_rust/ffi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/ffi.rs -------------------------------------------------------------------------------- /lib/binding_rust/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/lib.rs -------------------------------------------------------------------------------- /lib/binding_rust/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/util.rs -------------------------------------------------------------------------------- /lib/binding_rust/wasm_language.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_rust/wasm_language.rs -------------------------------------------------------------------------------- /lib/binding_web/.gitattributes: -------------------------------------------------------------------------------- 1 | /lib/tree-sitter.d.ts linguist-generated 2 | -------------------------------------------------------------------------------- /lib/binding_web/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/.gitignore -------------------------------------------------------------------------------- /lib/binding_web/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/CONTRIBUTING.md -------------------------------------------------------------------------------- /lib/binding_web/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/README.md -------------------------------------------------------------------------------- /lib/binding_web/eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/eslint.config.mjs -------------------------------------------------------------------------------- /lib/binding_web/lib/exports.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/lib/exports.txt -------------------------------------------------------------------------------- /lib/binding_web/lib/imports.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/lib/imports.js -------------------------------------------------------------------------------- /lib/binding_web/lib/prefix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/lib/prefix.js -------------------------------------------------------------------------------- /lib/binding_web/lib/tree-sitter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/lib/tree-sitter.c -------------------------------------------------------------------------------- /lib/binding_web/lib/tree-sitter.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/lib/tree-sitter.d.ts -------------------------------------------------------------------------------- /lib/binding_web/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/package-lock.json -------------------------------------------------------------------------------- /lib/binding_web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/package.json -------------------------------------------------------------------------------- /lib/binding_web/script/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/script/build.js -------------------------------------------------------------------------------- /lib/binding_web/script/check-artifacts-fresh.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/script/check-artifacts-fresh.ts -------------------------------------------------------------------------------- /lib/binding_web/script/generate-dts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/script/generate-dts.js -------------------------------------------------------------------------------- /lib/binding_web/src/bindings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/src/bindings.ts -------------------------------------------------------------------------------- /lib/binding_web/src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/src/constants.ts -------------------------------------------------------------------------------- /lib/binding_web/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/src/index.ts -------------------------------------------------------------------------------- /lib/binding_web/src/language.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/src/language.ts -------------------------------------------------------------------------------- /lib/binding_web/src/lookahead_iterator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/src/lookahead_iterator.ts -------------------------------------------------------------------------------- /lib/binding_web/src/marshal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/src/marshal.ts -------------------------------------------------------------------------------- /lib/binding_web/src/node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/src/node.ts -------------------------------------------------------------------------------- /lib/binding_web/src/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/src/parser.ts -------------------------------------------------------------------------------- /lib/binding_web/src/query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/src/query.ts -------------------------------------------------------------------------------- /lib/binding_web/src/tree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/src/tree.ts -------------------------------------------------------------------------------- /lib/binding_web/src/tree_cursor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/src/tree_cursor.ts -------------------------------------------------------------------------------- /lib/binding_web/test/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/test/helper.ts -------------------------------------------------------------------------------- /lib/binding_web/test/language.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/test/language.test.ts -------------------------------------------------------------------------------- /lib/binding_web/test/node.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/test/node.test.ts -------------------------------------------------------------------------------- /lib/binding_web/test/parser.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/test/parser.test.ts -------------------------------------------------------------------------------- /lib/binding_web/test/query.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/test/query.test.ts -------------------------------------------------------------------------------- /lib/binding_web/test/tree.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/test/tree.test.ts -------------------------------------------------------------------------------- /lib/binding_web/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/tsconfig.json -------------------------------------------------------------------------------- /lib/binding_web/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/vitest.config.ts -------------------------------------------------------------------------------- /lib/binding_web/web-tree-sitter.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/web-tree-sitter.d.ts -------------------------------------------------------------------------------- /lib/binding_web/web-tree-sitter.d.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/binding_web/web-tree-sitter.d.ts.map -------------------------------------------------------------------------------- /lib/include/tree_sitter/api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/include/tree_sitter/api.h -------------------------------------------------------------------------------- /lib/language/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/language/Cargo.toml -------------------------------------------------------------------------------- /lib/language/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/language/README.md -------------------------------------------------------------------------------- /lib/language/language.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/language/language.rs -------------------------------------------------------------------------------- /lib/src/alloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/alloc.c -------------------------------------------------------------------------------- /lib/src/alloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/alloc.h -------------------------------------------------------------------------------- /lib/src/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/array.h -------------------------------------------------------------------------------- /lib/src/atomic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/atomic.h -------------------------------------------------------------------------------- /lib/src/clock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/clock.h -------------------------------------------------------------------------------- /lib/src/error_costs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/error_costs.h -------------------------------------------------------------------------------- /lib/src/get_changed_ranges.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/get_changed_ranges.c -------------------------------------------------------------------------------- /lib/src/get_changed_ranges.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/get_changed_ranges.h -------------------------------------------------------------------------------- /lib/src/host.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/host.h -------------------------------------------------------------------------------- /lib/src/language.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/language.c -------------------------------------------------------------------------------- /lib/src/language.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/language.h -------------------------------------------------------------------------------- /lib/src/length.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/length.h -------------------------------------------------------------------------------- /lib/src/lexer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/lexer.c -------------------------------------------------------------------------------- /lib/src/lexer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/lexer.h -------------------------------------------------------------------------------- /lib/src/lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/lib.c -------------------------------------------------------------------------------- /lib/src/node.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/node.c -------------------------------------------------------------------------------- /lib/src/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/parser.c -------------------------------------------------------------------------------- /lib/src/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/parser.h -------------------------------------------------------------------------------- /lib/src/point.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/point.h -------------------------------------------------------------------------------- /lib/src/portable/endian.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/portable/endian.h -------------------------------------------------------------------------------- /lib/src/query.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/query.c -------------------------------------------------------------------------------- /lib/src/reduce_action.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/reduce_action.h -------------------------------------------------------------------------------- /lib/src/reusable_node.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/reusable_node.h -------------------------------------------------------------------------------- /lib/src/stack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/stack.c -------------------------------------------------------------------------------- /lib/src/stack.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/stack.h -------------------------------------------------------------------------------- /lib/src/subtree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/subtree.c -------------------------------------------------------------------------------- /lib/src/subtree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/subtree.h -------------------------------------------------------------------------------- /lib/src/tree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/tree.c -------------------------------------------------------------------------------- /lib/src/tree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/tree.h -------------------------------------------------------------------------------- /lib/src/tree_cursor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/tree_cursor.c -------------------------------------------------------------------------------- /lib/src/tree_cursor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/tree_cursor.h -------------------------------------------------------------------------------- /lib/src/ts_assert.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/ts_assert.h -------------------------------------------------------------------------------- /lib/src/unicode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/unicode.h -------------------------------------------------------------------------------- /lib/src/unicode/ICU_SHA: -------------------------------------------------------------------------------- 1 | 552b01f61127d30d6589aa4bf99468224979b661 2 | -------------------------------------------------------------------------------- /lib/src/unicode/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/unicode/LICENSE -------------------------------------------------------------------------------- /lib/src/unicode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/unicode/README.md -------------------------------------------------------------------------------- /lib/src/unicode/ptypes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/unicode/ptypes.h -------------------------------------------------------------------------------- /lib/src/unicode/umachine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/unicode/umachine.h -------------------------------------------------------------------------------- /lib/src/unicode/urename.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/unicode/urename.h -------------------------------------------------------------------------------- /lib/src/unicode/utf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/unicode/utf.h -------------------------------------------------------------------------------- /lib/src/unicode/utf16.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/unicode/utf16.h -------------------------------------------------------------------------------- /lib/src/unicode/utf8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/unicode/utf8.h -------------------------------------------------------------------------------- /lib/src/wasm/stdlib-symbols.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/wasm/stdlib-symbols.txt -------------------------------------------------------------------------------- /lib/src/wasm/stdlib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/wasm/stdlib.c -------------------------------------------------------------------------------- /lib/src/wasm/wasm-stdlib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/wasm/wasm-stdlib.h -------------------------------------------------------------------------------- /lib/src/wasm_store.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/wasm_store.c -------------------------------------------------------------------------------- /lib/src/wasm_store.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/src/wasm_store.h -------------------------------------------------------------------------------- /lib/tree-sitter.pc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/lib/tree-sitter.pc.in -------------------------------------------------------------------------------- /process_c2rust/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/process_c2rust/Cargo.toml -------------------------------------------------------------------------------- /process_c2rust/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/process_c2rust/src/main.rs -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /tags/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/tags/Cargo.toml -------------------------------------------------------------------------------- /tags/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/tags/README.md -------------------------------------------------------------------------------- /tags/include/tree_sitter/tags.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/tags/include/tree_sitter/tags.h -------------------------------------------------------------------------------- /tags/src/c_lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/tags/src/c_lib.rs -------------------------------------------------------------------------------- /tags/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/tags/src/lib.rs -------------------------------------------------------------------------------- /test/fixtures/error_corpus/c_errors.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/error_corpus/c_errors.txt -------------------------------------------------------------------------------- /test/fixtures/error_corpus/javascript_errors.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/error_corpus/javascript_errors.txt -------------------------------------------------------------------------------- /test/fixtures/error_corpus/json_errors.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/error_corpus/json_errors.txt -------------------------------------------------------------------------------- /test/fixtures/error_corpus/python_errors.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/error_corpus/python_errors.txt -------------------------------------------------------------------------------- /test/fixtures/error_corpus/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/error_corpus/readme.md -------------------------------------------------------------------------------- /test/fixtures/error_corpus/ruby_errors.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/error_corpus/ruby_errors.txt -------------------------------------------------------------------------------- /test/fixtures/grammars/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/template_corpus/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/template_corpus/readme.md -------------------------------------------------------------------------------- /test/fixtures/template_corpus/ruby_templates.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/template_corpus/ruby_templates.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/aliased_inlined_rules/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/aliased_inlined_rules/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/aliased_inlined_rules/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/aliased_inlined_rules/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/aliased_rules/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/aliased_rules/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/aliased_rules/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/aliased_rules/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/aliased_token_rules/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/aliased_token_rules/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/aliased_token_rules/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/aliased_token_rules/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/aliased_unit_reductions/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/aliased_unit_reductions/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/aliased_unit_reductions/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/aliased_unit_reductions/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/anonymous_tokens_with_escaped_chars/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/anonymous_tokens_with_escaped_chars/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/anonymous_tokens_with_escaped_chars/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/anonymous_tokens_with_escaped_chars/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/associativity_left/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/associativity_left/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/associativity_left/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/associativity_left/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/associativity_missing/expected_error.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/associativity_missing/expected_error.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/associativity_missing/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/associativity_missing/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/associativity_right/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/associativity_right/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/associativity_right/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/associativity_right/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/conflict_in_repeat_rule/expected_error.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/conflict_in_repeat_rule/expected_error.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/conflict_in_repeat_rule/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/conflict_in_repeat_rule/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/conflict_in_repeat_rule_after_external_token/expected_error.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/conflict_in_repeat_rule_after_external_token/expected_error.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/conflict_in_repeat_rule_after_external_token/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/conflict_in_repeat_rule_after_external_token/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/conflicting_precedence/expected_error.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/conflicting_precedence/expected_error.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/conflicting_precedence/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/conflicting_precedence/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/depends_on_column/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/depends_on_column/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/depends_on_column/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/depends_on_column/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/depends_on_column/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/depends_on_column/scanner.c -------------------------------------------------------------------------------- /test/fixtures/test_grammars/dynamic_precedence/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/dynamic_precedence/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/dynamic_precedence/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/dynamic_precedence/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/dynamic_precedence/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/dynamic_precedence/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/epsilon_external_extra_tokens/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/epsilon_external_extra_tokens/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/epsilon_external_extra_tokens/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/epsilon_external_extra_tokens/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/epsilon_external_extra_tokens/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/epsilon_external_extra_tokens/scanner.c -------------------------------------------------------------------------------- /test/fixtures/test_grammars/epsilon_external_tokens/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/epsilon_external_tokens/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/epsilon_external_tokens/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/epsilon_external_tokens/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/epsilon_external_tokens/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/epsilon_external_tokens/scanner.c -------------------------------------------------------------------------------- /test/fixtures/test_grammars/epsilon_rules/expected_error.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/epsilon_rules/expected_error.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/epsilon_rules/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/epsilon_rules/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_and_internal_anonymous_tokens/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_and_internal_anonymous_tokens/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_and_internal_anonymous_tokens/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_and_internal_anonymous_tokens/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_and_internal_anonymous_tokens/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_and_internal_anonymous_tokens/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_and_internal_anonymous_tokens/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_and_internal_anonymous_tokens/scanner.c -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_and_internal_tokens/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_and_internal_tokens/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_and_internal_tokens/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_and_internal_tokens/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_and_internal_tokens/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_and_internal_tokens/scanner.c -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_extra_tokens/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_extra_tokens/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_extra_tokens/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_extra_tokens/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_extra_tokens/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_extra_tokens/scanner.c -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_tokens/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_tokens/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_tokens/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_tokens/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_tokens/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_tokens/scanner.c -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_unicode_column_alignment/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_unicode_column_alignment/README.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_unicode_column_alignment/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_unicode_column_alignment/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_unicode_column_alignment/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_unicode_column_alignment/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/external_unicode_column_alignment/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/external_unicode_column_alignment/scanner.c -------------------------------------------------------------------------------- /test/fixtures/test_grammars/extra_non_terminals/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/extra_non_terminals/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/extra_non_terminals/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/extra_non_terminals/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/extra_non_terminals_with_shared_rules/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/extra_non_terminals_with_shared_rules/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/extra_non_terminals_with_shared_rules/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/extra_non_terminals_with_shared_rules/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/get_col_eof/corpus.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test_grammars/get_col_eof/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/get_col_eof/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/get_col_eof/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/get_col_eof/scanner.c -------------------------------------------------------------------------------- /test/fixtures/test_grammars/get_col_should_hang_not_crash/corpus.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test_grammars/get_col_should_hang_not_crash/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/get_col_should_hang_not_crash/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/get_col_should_hang_not_crash/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/get_col_should_hang_not_crash/scanner.c -------------------------------------------------------------------------------- /test/fixtures/test_grammars/immediate_tokens/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/immediate_tokens/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/immediate_tokens/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/immediate_tokens/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/inline_rules/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/inline_rules/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/inline_rules/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/inline_rules/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/inlined_aliased_rules/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/inlined_aliased_rules/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/inlined_aliased_rules/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/inlined_aliased_rules/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/inlined_aliased_rules/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/inlined_aliased_rules/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/inverted_external_token/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/inverted_external_token/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/inverted_external_token/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/inverted_external_token/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/inverted_external_token/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/inverted_external_token/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/inverted_external_token/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/inverted_external_token/scanner.c -------------------------------------------------------------------------------- /test/fixtures/test_grammars/invisible_start_rule/expected_error.txt: -------------------------------------------------------------------------------- 1 | A grammar's start rule must be visible. -------------------------------------------------------------------------------- /test/fixtures/test_grammars/invisible_start_rule/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/invisible_start_rule/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/lexical_conflicts_due_to_state_merging/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/lexical_conflicts_due_to_state_merging/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/lexical_conflicts_due_to_state_merging/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/lexical_conflicts_due_to_state_merging/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/lexical_conflicts_due_to_state_merging/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/lexical_conflicts_due_to_state_merging/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/named_precedences/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/named_precedences/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/named_precedences/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/named_precedences/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/named_precedences/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/named_precedences/readme.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/named_rule_aliased_as_anonymous/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/named_rule_aliased_as_anonymous/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/named_rule_aliased_as_anonymous/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/named_rule_aliased_as_anonymous/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/named_rule_aliased_as_anonymous/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/named_rule_aliased_as_anonymous/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/nested_inlined_rules/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/nested_inlined_rules/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/nested_inlined_rules/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/nested_inlined_rules/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/nested_inlined_rules/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/nested_inlined_rules/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/next_sibling_from_zwt/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/next_sibling_from_zwt/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/next_sibling_from_zwt/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/next_sibling_from_zwt/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/partially_resolved_conflict/expected_error.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/partially_resolved_conflict/expected_error.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/partially_resolved_conflict/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/partially_resolved_conflict/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/partially_resolved_conflict/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/partially_resolved_conflict/readme.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_single_child_missing/expected_error.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_single_child_missing/expected_error.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_single_child_missing/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_single_child_missing/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_single_child_missing/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_single_child_missing/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_single_child_negative/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_single_child_negative/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_single_child_negative/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_single_child_negative/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_single_child_negative/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_single_child_negative/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_single_child_positive/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_single_child_positive/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_single_child_positive/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_single_child_positive/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_single_child_positive/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_single_child_positive/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_subsequence/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_subsequence/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_subsequence/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_subsequence/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_token/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_token/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_token/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_token/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/precedence_on_token/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/precedence_on_token/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/readme_grammar/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/readme_grammar/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/readme_grammar/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/readme_grammar/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/reserved_words/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/reserved_words/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/reserved_words/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/reserved_words/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/start_rule_is_blank/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/start_rule_is_blank/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/start_rule_is_blank/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/start_rule_is_blank/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/start_rule_is_token/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/start_rule_is_token/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/start_rule_is_token/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/start_rule_is_token/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/unicode_classes/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/unicode_classes/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/unicode_classes/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/unicode_classes/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/unused_rules/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/unused_rules/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/unused_rules/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/unused_rules/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/unused_rules/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/unused_rules/readme.md -------------------------------------------------------------------------------- /test/fixtures/test_grammars/uses_current_column/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/uses_current_column/corpus.txt -------------------------------------------------------------------------------- /test/fixtures/test_grammars/uses_current_column/grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/uses_current_column/grammar.js -------------------------------------------------------------------------------- /test/fixtures/test_grammars/uses_current_column/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/test/fixtures/test_grammars/uses_current_column/scanner.c -------------------------------------------------------------------------------- /transpile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/transpile.sh -------------------------------------------------------------------------------- /xtask/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/xtask/Cargo.toml -------------------------------------------------------------------------------- /xtask/src/benchmark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/xtask/src/benchmark.rs -------------------------------------------------------------------------------- /xtask/src/build_wasm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/xtask/src/build_wasm.rs -------------------------------------------------------------------------------- /xtask/src/bump.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/xtask/src/bump.rs -------------------------------------------------------------------------------- /xtask/src/check_wasm_exports.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/xtask/src/check_wasm_exports.rs -------------------------------------------------------------------------------- /xtask/src/clippy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/xtask/src/clippy.rs -------------------------------------------------------------------------------- /xtask/src/fetch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/xtask/src/fetch.rs -------------------------------------------------------------------------------- /xtask/src/generate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/xtask/src/generate.rs -------------------------------------------------------------------------------- /xtask/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/xtask/src/main.rs -------------------------------------------------------------------------------- /xtask/src/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/xtask/src/test.rs -------------------------------------------------------------------------------- /xtask/src/upgrade_emscripten.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/xtask/src/upgrade_emscripten.rs -------------------------------------------------------------------------------- /xtask/src/upgrade_wasmtime.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shadaj/tree-sitter-c2rust/HEAD/xtask/src/upgrade_wasmtime.rs --------------------------------------------------------------------------------