>>> tree-sitter: Building community/tree-sitter 0.20.5-r0 (using abuild 3.9.0-r0) started Thu, 03 Mar 2022 03:06:32 +0000 >>> tree-sitter: Checking sanity of /home/buildozer/aports/community/tree-sitter/APKBUILD... >>> tree-sitter: Analyzing dependencies... >>> tree-sitter: Installing for build: build-base bash cargo nodejs (1/10) Installing readline (8.1.2-r0) (2/10) Installing bash (5.1.16-r0) Executing bash-5.1.16-r0.post-install (3/10) Installing rust-stdlib (1.59.0-r0) (4/10) Installing libffi (3.4.2-r1) (5/10) Installing libxml2 (2.9.12-r3) (6/10) Installing llvm12-libs (12.0.1-r2) (7/10) Installing rust (1.59.0-r0) (8/10) Installing cargo (1.59.0-r0) (9/10) Installing nodejs (16.13.2-r1) (10/10) Installing .makedepends-tree-sitter (20220303.030633) Executing busybox-1.35.0-r4.trigger OK: 1114 MiB in 109 packages >>> tree-sitter: Cleaning up srcdir >>> tree-sitter: Cleaning up pkgdir >>> tree-sitter: Fetching https://distfiles.alpinelinux.org/distfiles/edge/tree-sitter-0.20.5.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> tree-sitter: Fetching https://github.com/tree-sitter/tree-sitter/archive/v0.20.5/tree-sitter-0.20.5.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 142 100 142 0 0 750 0 --:--:-- --:--:-- --:--:-- 755 100 336k 0 336k 0 0 665k 0 --:--:-- --:--:-- --:--:-- 665k 100 2856k 0 2856k 0 0 3123k 0 --:--:-- --:--:-- --:--:-- 6162k >>> tree-sitter: Fetching https://distfiles.alpinelinux.org/distfiles/edge/tree-sitter-0.20.5.tar.gz >>> tree-sitter: Checking sha512sums... tree-sitter-0.20.5.tar.gz: OK abuild-tree-sitter: OK >>> tree-sitter: Unpacking /var/cache/distfiles/edge/tree-sitter-0.20.5.tar.gz... >>> tree-sitter: fetching test fixtures Updating bash grammar... Cloning into './script/../test/fixtures/grammars/bash'... From https://github.com/tree-sitter/tree-sitter-bash * branch master -> FETCH_HEAD HEAD is now at 275effd adding zsh expansion flagsSee https://zsh.sourceforge.io/Doc/Release/Expansion.html\#Parameter-Expansion-Flags (#115) Updating c grammar... Cloning into './script/../test/fixtures/grammars/c'... From https://github.com/tree-sitter/tree-sitter-c * branch master -> FETCH_HEAD HEAD is now at e348e8e 0.20.1 Updating cpp grammar... Cloning into './script/../test/fixtures/grammars/cpp'... From https://github.com/tree-sitter/tree-sitter-cpp * branch master -> FETCH_HEAD HEAD is now at a403969 Implement fold expressions and more complete requires clauses (#151) Updating embedded-template grammar... Cloning into './script/../test/fixtures/grammars/embedded-template'... From https://github.com/tree-sitter/tree-sitter-embedded-template * branch master -> FETCH_HEAD HEAD is now at d21df11 allow comment_directive to be empty (#10) Updating go grammar... Cloning into './script/../test/fixtures/grammars/go'... From https://github.com/tree-sitter/tree-sitter-go * branch master -> FETCH_HEAD HEAD is now at 0fa917a Merge pull request #59 from kawaemon/generics-followup Updating html grammar... Cloning into './script/../test/fixtures/grammars/html'... From https://github.com/tree-sitter/tree-sitter-html * branch master -> FETCH_HEAD HEAD is now at 161a924 Update package.json to include the repository key (#31) Updating java grammar... Cloning into './script/../test/fixtures/grammars/java'... From https://github.com/tree-sitter/tree-sitter-java * branch master -> FETCH_HEAD HEAD is now at 8a6ab8e Modify module_directive to be a supertype (#104) Updating javascript grammar... Cloning into './script/../test/fixtures/grammars/javascript'... From https://github.com/tree-sitter/tree-sitter-javascript * branch partial-order-precedences -> FETCH_HEAD HEAD is now at 4c2f629 Clean up precedences by using symbols Updating jsdoc grammar... Cloning into './script/../test/fixtures/grammars/jsdoc'... From https://github.com/tree-sitter/tree-sitter-jsdoc * branch master -> FETCH_HEAD HEAD is now at 189a6a4 0.19.0 Updating json grammar... Cloning into './script/../test/fixtures/grammars/json'... From https://github.com/tree-sitter/tree-sitter-json * branch master -> FETCH_HEAD HEAD is now at 203e239 Support form feed character escape (#15) Updating php grammar... Cloning into './script/../test/fixtures/grammars/php'... From https://github.com/tree-sitter/tree-sitter-php * branch master -> FETCH_HEAD HEAD is now at 0ce1342 Exposes union_type directly instead of hiding it behind a type_list. This also reduces the state count by breaking up large definitions Updating python grammar... Cloning into './script/../test/fixtures/grammars/python'... From https://github.com/tree-sitter/tree-sitter-python * branch master -> FETCH_HEAD HEAD is now at 78c4e9b fix: allow "match" on LHS of named_expression (#153) Updating ruby grammar... Cloning into './script/../test/fixtures/grammars/ruby'... From https://github.com/tree-sitter/tree-sitter-ruby * branch master -> FETCH_HEAD HEAD is now at 1ebfdb2 Merge pull request #201 from aibaars/ruby-3.1 Updating rust grammar... Cloning into './script/../test/fixtures/grammars/rust'... From https://github.com/tree-sitter/tree-sitter-rust * branch master -> FETCH_HEAD HEAD is now at a250c45 0.20.1 Updating typescript grammar... Cloning into './script/../test/fixtures/grammars/typescript'... From https://github.com/tree-sitter/tree-sitter-typescript * branch master -> FETCH_HEAD HEAD is now at e8e8e8d document why module block is optional (#205) gcc -Os -fomit-frame-pointer -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -fomit-frame-pointer -c -o lib/src/alloc.o lib/src/alloc.c gcc -Os -fomit-frame-pointer -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -fomit-frame-pointer -c -o lib/src/get_changed_ranges.o lib/src/get_changed_ranges.c gcc -Os -fomit-frame-pointer -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -fomit-frame-pointer -c -o lib/src/language.o lib/src/language.c gcc -Os -fomit-frame-pointer -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -fomit-frame-pointer -c -o lib/src/lexer.o lib/src/lexer.c gcc -Os -fomit-frame-pointer -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -fomit-frame-pointer -c -o lib/src/node.o lib/src/node.c gcc -Os -fomit-frame-pointer -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -fomit-frame-pointer -c -o lib/src/parser.o lib/src/parser.c gcc -Os -fomit-frame-pointer -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -fomit-frame-pointer -c -o lib/src/query.o lib/src/query.c gcc -Os -fomit-frame-pointer -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -fomit-frame-pointer -c -o lib/src/stack.o lib/src/stack.c gcc -Os -fomit-frame-pointer -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -fomit-frame-pointer -c -o lib/src/subtree.o lib/src/subtree.c gcc -Os -fomit-frame-pointer -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -fomit-frame-pointer -c -o lib/src/tree.o lib/src/tree.c gcc -Os -fomit-frame-pointer -std=gnu99 -fPIC -Ilib/src -Ilib/include -Os -fomit-frame-pointer -c -o lib/src/tree_cursor.o lib/src/tree_cursor.c ar rcs libtree-sitter.a lib/src/alloc.o lib/src/get_changed_ranges.o lib/src/language.o lib/src/lexer.o lib/src/node.o lib/src/parser.o lib/src/query.o lib/src/stack.o lib/src/subtree.o lib/src/tree.o lib/src/tree_cursor.o gcc -Wl,--as-needed,-O1,--sort-common -shared -Wl,-soname,libtree-sitter.so.0 lib/src/alloc.o lib/src/get_changed_ranges.o lib/src/language.o lib/src/lexer.o lib/src/node.o lib/src/parser.o lib/src/query.o lib/src/stack.o lib/src/subtree.o lib/src/tree.o lib/src/tree_cursor.o -o libtree-sitter.so.0.0 ln -sf libtree-sitter.so.0.0 libtree-sitter.so ln -sf libtree-sitter.so.0.0 libtree-sitter.so.0 Compiling proc-macro2 v1.0.24 Compiling unicode-xid v0.2.1 Compiling syn v1.0.67 Compiling autocfg v1.0.1 Compiling libc v0.2.86 Compiling serde_derive v1.0.130 Compiling serde v1.0.130 Compiling memchr v2.3.4 Compiling cc v1.0.67 Compiling once_cell v1.7.0 Compiling tinyvec_macros v0.1.0 Compiling matches v0.1.8 Compiling ryu v1.0.5 Compiling regex-syntax v0.6.22 Compiling serde_json v1.0.63 Compiling hashbrown v0.9.1 Compiling cfg-if v1.0.0 Compiling anyhow v1.0.40 Compiling bitflags v1.2.1 Compiling itoa v0.4.7 Compiling log v0.4.14 Compiling percent-encoding v2.1.0 Compiling semver v1.0.5 Compiling unicode-width v0.1.8 Compiling tree-sitter-loader v0.20.0 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.5/cli/loader) Compiling either v1.6.1 Compiling vec_map v0.8.2 Compiling strsim v0.8.0 Compiling utf8-width v0.1.4 Compiling ansi_term v0.11.0 Compiling same-file v1.0.6 Compiling chunked_transfer v1.4.0 Compiling ascii v1.0.0 Compiling webbrowser v0.5.5 Compiling difference v2.0.0 Compiling glob v0.3.0 Compiling ansi_term v0.12.1 Compiling smallbitvec v2.5.1 Compiling rustc-hash v1.1.0 Compiling lazy_static v1.4.0 Compiling tinyvec v1.1.1 Compiling unicode-bidi v0.3.4 Compiling libloading v0.7.0 Compiling html-escape v0.2.6 Compiling textwrap v0.11.0 Compiling walkdir v2.3.1 Compiling form_urlencoded v1.0.1 Compiling thread_local v1.1.3 Compiling aho-corasick v0.7.15 Compiling indexmap v1.6.1 Compiling num-traits v0.2.14 Compiling num-integer v0.1.44 Compiling quote v1.0.9 Compiling tree-sitter v0.20.5 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.5/lib) Compiling unicode-normalization v0.1.17 Compiling dirs-sys v0.3.5 Compiling time v0.1.43 Compiling atty v0.2.14 Compiling which v4.1.0 Compiling clap v2.33.3 Compiling dirs v3.0.1 Compiling chrono v0.4.19 Compiling idna v0.2.2 Compiling regex v1.4.3 Compiling url v2.2.1 Compiling tiny_http v0.8.0 Compiling thiserror-impl v1.0.25 Compiling thiserror v1.0.25 Compiling tree-sitter-tags v0.20.2 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.5/tags) Compiling tree-sitter-highlight v0.20.1 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.5/highlight) Compiling toml v0.5.8 Compiling tree-sitter-config v0.19.0 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.5/cli/config) Compiling tree-sitter-cli v0.20.5 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.5/cli) Finished release [optimized] target(s) in 2m 43s Compiling libc v0.2.86 Compiling proc-macro2 v1.0.24 Compiling unicode-xid v0.2.1 Compiling syn v1.0.67 Compiling autocfg v1.0.1 Compiling cfg-if v1.0.0 Compiling serde_derive v1.0.130 Compiling serde v1.0.130 Compiling memchr v2.3.4 Compiling cc v1.0.67 Compiling once_cell v1.7.0 Compiling matches v0.1.8 Compiling tinyvec_macros v0.1.0 Compiling getrandom v0.2.2 Compiling ryu v1.0.5 Compiling regex-syntax v0.6.22 Compiling hashbrown v0.9.1 Compiling anyhow v1.0.40 Compiling serde_json v1.0.63 Compiling percent-encoding v2.1.0 Compiling bitflags v1.2.1 Compiling log v0.4.14 Compiling itoa v0.4.7 Compiling unicode-width v0.1.8 Compiling ppv-lite86 v0.2.10 Compiling semver v1.0.5 Compiling tree-sitter-loader v0.20.0 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.5/cli/loader) Compiling either v1.6.1 Compiling chunked_transfer v1.4.0 Compiling utf8-width v0.1.4 Compiling ansi_term v0.11.0 Compiling ansi_term v0.12.1 Compiling strsim v0.8.0 Compiling ascii v1.0.0 Compiling same-file v1.0.6 Compiling vec_map v0.8.2 Compiling webbrowser v0.5.5 Compiling diff v0.1.12 Compiling glob v0.3.0 Compiling rustc-hash v1.1.0 Compiling lazy_static v1.4.0 Compiling smallbitvec v2.5.1 Compiling remove_dir_all v0.5.3 Compiling difference v2.0.0 Compiling libloading v0.7.0 Compiling tinyvec v1.1.1 Compiling unicode-bidi v0.3.4 Compiling html-escape v0.2.6 Compiling textwrap v0.11.0 Compiling walkdir v2.3.1 Compiling form_urlencoded v1.0.1 Compiling thread_local v1.1.3 Compiling pretty_assertions v0.7.2 Compiling aho-corasick v0.7.15 Compiling num-traits v0.2.14 Compiling indexmap v1.6.1 Compiling num-integer v0.1.44 Compiling quote v1.0.9 Compiling dirs-sys v0.3.5 Compiling time v0.1.43 Compiling atty v0.2.14 Compiling which v4.1.0 Compiling unicode-normalization v0.1.17 Compiling clap v2.33.3 Compiling dirs v3.0.1 Compiling tree-sitter v0.20.5 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.5/lib) Compiling rand_core v0.6.2 Compiling rand_chacha v0.3.0 Compiling rand v0.8.3 Compiling idna v0.2.2 Compiling chrono v0.4.19 Compiling tempfile v3.2.0 Compiling regex v1.4.3 Compiling url v2.2.1 Compiling tiny_http v0.8.0 Compiling thiserror-impl v1.0.25 Compiling ctor v0.1.20 Compiling thiserror v1.0.25 Compiling tree-sitter-highlight v0.20.1 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.5/highlight) Compiling tree-sitter-tags v0.20.2 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.5/tags) Compiling toml v0.5.8 Compiling tree-sitter-config v0.19.0 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.5/cli/config) Compiling tree-sitter-cli v0.20.5 (/home/buildozer/aports/community/tree-sitter/src/tree-sitter-0.20.5/cli) Finished test [unoptimized + debuginfo] target(s) in 1m 09s Running unittests (target/debug/deps/tree_sitter_cli-15e68123aac4143a) running 13 tests json example - corpus - main - Arrays embedded-template example - corpus - main - Directives Random seed: 1646277056 json example - corpus - main - String content embedded-template example - corpus - main - Escaped directive start strings json example - corpus - main - Top-level numbers json example - corpus - main - Top-level null embedded-template example - corpus - main - Comment directives json example - json_errors - top-level errors json example - json_errors - unexpected tokens json example - json_errors - errors inside arrays embedded-template example - corpus - main - Underscores in code json example - json_errors - errors inside objects embedded-template example - corpus - main - Empty comment json example - json_errors - errors inside nested objects test tests::corpus_test::test_embedded_template_corpus ... ok json example - json_errors - incomplete tokens at EOF test tests::corpus_test::test_json_corpus ... ok test language: "unicode_classes" example: "corpus - Uppercase words" example: "corpus - Lowercase words" example: "corpus - Math symbols" example: "corpus - Letterlike numeric characters" test language: "unused_rules" example: "corpus - the language" test language: "inverted_external_token" example: "corpus - Expressions on one line" example: "corpus - Line breaks followed by whitespace" javascript example - corpus - literals - Numbers javascript example - corpus - literals - Unicode identifiers javascript example - corpus - literals - Strings containing comment-like content javascript example - corpus - literals - Quote escaping test language: "inlined_aliased_rules" example: "corpus - Method calls" test language: "partially_resolved_conflict" javascript example - corpus - literals - Line continuations javascript example - corpus - literals - Non-standard unescaped newlines legal in TSX attributes javascript example - corpus - literals - JSX strings with unescaped newlines for TSX attributes javascript example - corpus - expressions - Strings javascript example - corpus - expressions - Template strings test language: "precedence_on_single_child_negative" example: "corpus - function calls with blocks" javascript example - corpus - expressions - Function calls with template strings javascript example - corpus - expressions - Numbers javascript example - corpus - expressions - Variables javascript example - corpus - expressions - Multi-line variable declarations javascript example - corpus - expressions - Booleans javascript example - corpus - expressions - Regexps javascript example - corpus - expressions - Comments take precedence over regexes javascript example - corpus - expressions - Objects javascript example - corpus - expressions - Objects with shorthand properties javascript example - corpus - expressions - Objects with method definitions test language: "aliased_rules" example: "corpus - Method calls" javascript example - corpus - expressions - Objects with reserved words for keys test language: "start_rule_is_blank" example: "corpus - the empty string" javascript example - corpus - expressions - Classes javascript example - corpus - expressions - Classes with reserved words as methods javascript example - corpus - expressions - Class Property Fields javascript example - corpus - expressions - Class Decorators javascript example - corpus - expressions - Arrays javascript example - corpus - expressions - Functions javascript example - corpus - expressions - Arrow functions test language: "aliased_unit_reductions" example: "corpus - Aliases on rules that are unit reductions" javascript example - corpus - expressions - Generator Functions javascript example - corpus - expressions - Function parameters with default values javascript example - corpus - expressions - Property access javascript example - corpus - expressions - Chained Property access javascript example - corpus - expressions - Chained callbacks javascript example - corpus - expressions - Function calls javascript example - corpus - expressions - Optional chaining property access html example - corpus - main - Tags javascript example - corpus - expressions - Optional chaining array access html example - corpus - main - Tags with attributes javascript example - corpus - expressions - Optional function calls html example - corpus - main - Nested tags html example - corpus - main - Void tags javascript example - corpus - expressions - Constructor calls test language: "inline_rules" example: "corpus - Expressions" html example - corpus - main - Void tags at EOF javascript example - corpus - expressions - Await Expressions go example - corpus - literals - Int literals html example - corpus - main - Custom tags javascript example - corpus - expressions - Async Functions and Methods html example - corpus - main - Comments html example - corpus - main - Raw text elements javascript example - corpus - expressions - Math operators go example - corpus - literals - Float literals html example - corpus - main - All-caps doctype html example - corpus - main - Lowercase doctype javascript example - corpus - expressions - Boolean operators html example - corpus - main - LI elements without close tags html example - corpus - main - DT and DL elements without close tags javascript example - corpus - expressions - The null-coalescing operator go example - corpus - literals - Rune literals html example - corpus - main - P elements without close tags javascript example - corpus - expressions - Bitwise operators html example - corpus - main - Ruby annotation elements without close tags c example - corpus - expressions - Number literals go example - corpus - literals - Imaginary literals html example - corpus - main - COLGROUP elements without end tags javascript example - corpus - expressions - Relational operators test language: "aliased_token_rules" example: "corpus - Aliased token rules" c example - corpus - expressions - Identifiers html example - corpus - main - TR, TD, and TH elements without end tags go example - corpus - literals - String literals javascript example - corpus - expressions - Assignments c example - corpus - expressions - Common constants test tests::corpus_test::test_html_corpus ... ok go example - corpus - literals - Slice literals javascript example - corpus - expressions - The comma operator c example - corpus - expressions - Function calls go example - corpus - literals - Array literals with implicit length javascript example - corpus - expressions - Ternaries c example - corpus - expressions - String literals go example - corpus - literals - Map literals c example - corpus - expressions - Character literals javascript example - corpus - expressions - Type operators go example - corpus - literals - Struct literals javascript example - corpus - expressions - The delete operator c example - corpus - expressions - Field access javascript example - corpus - expressions - The void operator c example - corpus - expressions - Boolean operators javascript example - corpus - expressions - Augmented assignments go example - corpus - literals - Function literals c example - corpus - expressions - Math operators go example - corpus - expressions - Call expressions javascript example - corpus - expressions - Operator precedence test language: "anonymous_tokens_with_escaped_chars" example: "corpus - anonymous tokens defined with character classes" example: "corpus - anonymous tokens defined with LF escape sequence" example: "corpus - anonymous tokens defined with CR escape sequence" example: "corpus - anonymous tokens with quotes" c example - corpus - expressions - The comma operator go example - corpus - expressions - Nested call expressions c example - corpus - expressions - Assignments javascript example - corpus - expressions - Simple JSX elements go example - corpus - expressions - Generic call expressions c example - corpus - expressions - Pointer operations javascript example - corpus - expressions - Anonymous JSX element test language: "conflicting_precedence" javascript example - corpus - expressions - Expressions within JSX elements c example - corpus - expressions - Type-casts go example - corpus - expressions - Calls to 'make' and 'new' c example - corpus - expressions - Sizeof expressions javascript example - corpus - expressions - Expressions with rest elements javascript example - corpus - expressions - Forward slashes after parenthesized expressions c example - corpus - expressions - Compound literals go example - corpus - expressions - Selector expressions go example - corpus - expressions - Indexing expressions javascript example - corpus - expressions - Non-breaking spaces as whitespace test language: "conflict_in_repeat_rule_after_external_token" test language: "precedence_on_single_child_missing" c example - corpus - expressions - Compound literals with trailing commas javascript example - corpus - expressions - Yield expressions c example - corpus - expressions - Comments with escaped newlines go example - corpus - expressions - Type assertion expressions javascript example - corpus - expressions - JSX c example - corpus - expressions - Comments with escaped chars and newlines c example - corpus - statements - If statements go example - corpus - expressions - Type conversion expressions c example - corpus - statements - For loops bash example - corpus - literals - Literal words go example - corpus - expressions - Unary expressions javascript example - corpus - semicolon_insertion - Automatic semicolon insertion bash example - corpus - literals - Words with special characters c example - corpus - statements - While loops test language: "nested_inlined_rules" example: "corpus - Statements" go example - corpus - source_files - Package clauses javascript example - corpus - semicolon_insertion - Semicolon insertion before update expressions bash example - corpus - literals - Simple variable expansions c example - corpus - statements - Labeled statements go example - corpus - source_files - Single import declarations bash example - corpus - literals - Special variable expansions javascript example - corpus - semicolon_insertion - property access across lines bash example - corpus - literals - Variable expansions c example - corpus - statements - Switch statements go example - corpus - source_files - Grouped import declarations javascript example - corpus - semicolon_insertion - indented code after blocks javascript example - corpus - semicolon_insertion - operator expressions split across lines go example - corpus - source_files - Block comments bash example - corpus - literals - Variable expansions with operators c example - corpus - statements - Case statements separate from switch statements go example - corpus - source_files - Comments with asterisks bash example - corpus - literals - Variable expansions in strings javascript example - corpus - semicolon_insertion - Alphabetical infix operators split across lines bash example - corpus - literals - Variable expansions with regexes go example - corpus - source_files - Non-ascii variable names c example - corpus - statements - Return statements javascript example - corpus - semicolon_insertion - Single-line if/else statements bash example - corpus - literals - Other variable expansion operators go example - corpus - statements - Declaration statements javascript example - corpus - semicolon_insertion - single-line blocks without semicolons c example - corpus - statements - Comments with asterisks bash example - corpus - literals - Words ending with '$' test language: "precedence_on_subsequence" example: "corpus - curly brace blocks with high precedence" example: "corpus - do blocks with low precedence" bash example - corpus - literals - Command substitutions javascript example - corpus - semicolon_insertion - Multi-line chained expressions in var declarations go example - corpus - statements - Expression statements c example - corpus - statements - Attributes go example - corpus - statements - Send statements javascript example - corpus - semicolon_insertion - if/for/while/do statements without semicolons bash example - corpus - literals - Process substitutions go example - corpus - statements - Increment/Decrement statements bash example - corpus - literals - Single quoted strings go example - corpus - statements - Assignment statements bash example - corpus - literals - Double quoted strings c example - corpus - preprocessor - Include directives javascript example - corpus - semicolon_insertion - Single-line declarations without semicolons bash example - corpus - literals - Strings containing command substitutions c example - corpus - preprocessor - Object-like macro definitions javascript example - corpus - semicolon_insertion - Comments after statements without semicolons bash example - corpus - literals - Strings containing escape sequence bash example - corpus - literals - Strings containing special characters go example - corpus - statements - Short var declarations c example - corpus - preprocessor - Function-like macro definitions javascript example - corpus - statements - Imports bash example - corpus - literals - Strings with ANSI-C quoting go example - corpus - statements - If statements bash example - corpus - literals - Arrays and array expansions c example - corpus - preprocessor - Ifdefs test language: "aliased_inlined_rules" example: "corpus - OK" bash example - corpus - literals - Escaped characters in strings c example - corpus - preprocessor - General if blocks bash example - corpus - literals - Words containing bare '#' go example - corpus - statements - For statements javascript example - corpus - statements - Exports c example - corpus - preprocessor - Preprocessor conditionals in functions bash example - corpus - statements - Pipelines bash example - corpus - statements - Lists bash example - corpus - statements - While statements c example - corpus - preprocessor - Preprocessor conditionals in struct/union bodies go example - corpus - statements - Switch statements bash example - corpus - statements - Until statements c example - corpus - preprocessor - Unknown preprocessor directives c example - corpus - preprocessor - Preprocessor expressions bash example - corpus - statements - While statements with IO redirects javascript example - corpus - statements - Decorators before exports javascript example - corpus - statements - If statements bash example - corpus - statements - For statements c example - corpus - ambiguities - pointer declarations vs multiplications go example - corpus - statements - Type switch statements test language: "readme_grammar" example: "corpus - the readme example" javascript example - corpus - statements - If-else statements bash example - corpus - statements - Select statements c example - corpus - ambiguities - casts vs multiplications javascript example - corpus - statements - For statements bash example - corpus - statements - C-style for statements c example - corpus - ambiguities - function-like type macros vs function calls bash example - corpus - statements - If statements c example - corpus - ambiguities - function calls vs parenthesized declarators vs macro types go example - corpus - statements - Select statements javascript example - corpus - statements - For-in statements bash example - corpus - statements - If statements with conditional expressions c example - corpus - ambiguities - Call expressions vs empty declarations w/ macros as types bash example - corpus - statements - Case statements go example - corpus - statements - Go and defer statements c example - corpus - ambiguities - Comments after for loops with ambiguities javascript example - corpus - statements - For loops beginning with an in-expression go example - corpus - statements - Nested statement blocks bash example - corpus - statements - Test commands c example - corpus - ambiguities - Top-level macro invocations javascript example - corpus - statements - For-of statements go example - corpus - statements - Labels at the ends of statement blocks bash example - corpus - statements - Test commands with ternary c example - corpus - declarations - Struct declarations javascript example - corpus - statements - For-await-of statements go example - corpus - statements - Empty statements bash example - corpus - statements - Test commands with regexes test language: "immediate_tokens" example: "corpus - prefix expressions as arguments" example: "corpus - infix expressions" c example - corpus - declarations - Union declarations go example - corpus - statements - Nested control statements javascript example - corpus - statements - While statements c example - corpus - declarations - Enum declarations javascript example - corpus - statements - Do statements c example - corpus - declarations - Struct declarations containing preprocessor directives javascript example - corpus - statements - Return statements bash example - corpus - statements - Subshells go example - corpus - statements - Top-level statements c example - corpus - declarations - Primitive-typed variable declarations bash example - corpus - statements - Function definitions javascript example - corpus - statements - Variable declarations go example - corpus - declarations - Single const declarations without types javascript example - corpus - statements - Comments c example - corpus - declarations - Variable storage classes go example - corpus - declarations - Single const declarations with types javascript example - corpus - statements - Comments between statements bash example - corpus - statements - Variable declaration: declare & typeset c example - corpus - declarations - Composite-typed variable declarations python example - corpus - literals - Integers bash example - corpus - statements - Variable declaration: readonly go example - corpus - declarations - Grouped const declarations c example - corpus - declarations - Pointer variable declarations bash example - corpus - statements - Variable declaration: local go example - corpus - declarations - Const declarations with implicit values javascript example - corpus - statements - Comments with asterisks bash example - corpus - statements - Variable declaration: export c example - corpus - declarations - Typedefs python example - corpus - literals - Floats bash example - corpus - statements - Variable declaration: command substitution with semi-colon go example - corpus - declarations - Var declarations without types javascript example - corpus - statements - Comments within expressions python example - corpus - literals - Scientific Notation Floats c example - corpus - declarations - Function declarations javascript example - corpus - statements - Switch statements bash example - corpus - statements - Expressions passed to declaration commands go example - corpus - declarations - Var declarations with types python example - corpus - literals - Strings c example - corpus - declarations - Function definitions bash example - corpus - statements - Unset commands go example - corpus - declarations - Var declarations with no expressions javascript example - corpus - statements - Throw statements bash example - corpus - statements - Compound statements c example - corpus - declarations - Function specifiers after types javascript example - corpus - statements - Throw statements with sequence expressions go example - corpus - declarations - Grouped var declarations test language: "external_and_internal_tokens" example: "corpus - single-line statements - internal tokens" example: "corpus - multi-line statements - internal tokens" example: "corpus - single-line statements - external tokens" example: "corpus - multi-line statements - external tokens" python example - corpus - literals - Raw strings c example - corpus - declarations - Linkage specifications javascript example - corpus - statements - Try catch finally statements go example - corpus - declarations - Function declarations bash example - corpus - zsh - Parameter Expansion Flags python example - corpus - literals - Raw strings with escaped quotes bash example - corpus - zsh - Parameter Expansion Flags Quotes c example - corpus - declarations - Type qualifiers python example - corpus - literals - Format strings javascript example - corpus - statements - Empty statements bash example - corpus - zsh - Parameter Expansion Invalid Flags c example - corpus - declarations - Local array declarations go example - corpus - declarations - Single-line function declarations javascript example - corpus - statements - Labeled statements bash example - corpus - crlf - Variables with CRLF line endings bash example - corpus - commands - Commands python example - corpus - literals - Format strings with format specifiers c example - corpus - declarations - Attributes bash example - corpus - commands - Commands with arguments go example - corpus - declarations - Variadic function declarations javascript example - corpus - statements - Debugger statements bash example - corpus - commands - Quoted command names python example - corpus - literals - Unicode escape sequences javascript example - corpus - statements - With statements bash example - corpus - commands - Commands with numeric arguments go example - corpus - declarations - Method declarations python example - corpus - literals - Other primitives bash example - corpus - commands - Commands with environment variables javascript example - corpus - statements - Hash bang lines python example - corpus - literals - Concatenated strings javascript example - corpus - destructuring - Object destructuring assignments bash example - corpus - commands - Empty environment variables python example - corpus - literals - Multi-line strings go example - corpus - declarations - Type declarations bash example - corpus - commands - File redirects go example - corpus - types - Qualified type names javascript example - corpus - destructuring - Object destructuring parameters bash example - corpus - commands - File redirects (noclobber override) go example - corpus - types - Array types c example - corpus - microsoft - declaration specs javascript example - corpus - destructuring - Array destructuring assignments bash example - corpus - commands - Heredoc redirects python example - corpus - literals - Lists go example - corpus - types - Slice types c example - corpus - microsoft - pointers bash example - corpus - commands - Heredocs with variables test language: "external_unicode_column_alignment" example: "corpus - Single list, no boxes" example: "corpus - Two lists, no boxes" go example - corpus - types - Struct types example: "corpus - List with boxes" example: "corpus - Multiple lists with boxes" bash example - corpus - commands - Heredocs with file redirects javascript example - corpus - destructuring - Object destructuring patterns w/ default values python example - corpus - literals - List comprehensions bash example - corpus - commands - Heredocs with pipes javascript example - javascript_errors - Missing default values for function parameters bash example - corpus - commands - Heredocs with escaped expansions bash example - corpus - commands - Quoted Heredocs c example - corpus - microsoft - call modifiers go example - corpus - types - Interface types javascript example - javascript_errors - Missing object-literal values python example - corpus - literals - Dictionaries bash example - corpus - commands - Heredocs with indented closing delimiters c example - corpus - types - Primitive types javascript example - javascript_errors - Extra identifiers in expressions bash example - corpus - programs - Comments bash example - corpus - programs - Escaped newlines python example - corpus - literals - Dictionary comprehensions go example - corpus - types - Map types c example - corpus - types - Type modifiers bash example - corpus - programs - escaped newline immediately after a char javascript example - javascript_errors - Extra complex literals in expressions go example - corpus - types - Pointer types python example - corpus - literals - Sets bash example - corpus - programs - Escaped whitespace go example - corpus - types - Channel types python example - corpus - literals - Set comprehensions bash example - corpus - programs - Files without trailing terminators c example - corpus - crlf - Line comments with escaped CRLF line endings test tests::corpus_test::test_bash_corpus ... ok javascript example - javascript_errors - Extra tokens at the end of the file c example - c_errors - Statements with missing semicolons python example - corpus - literals - Simple Tuples go example - corpus - types - Function types javascript example - javascript_errors - Errors after a sequence of function declarations c example - c_errors - Top-level declarations with missing semicolons test language: "epsilon_external_tokens" example: "corpus - A leading zero-width token" python example - corpus - literals - Generator expression go example - corpus - types - Type Aliases c example - c_errors - Partial declaration lists inside ifdefs javascript example - javascript_errors - Errors inside of a template string substitution python example - corpus - expressions - Identifiers with Greek letters test tests::corpus_test::test_go_corpus ... ok c example - c_errors - If statements with incomplete expressions python example - corpus - expressions - Subscript expressions javascript example - javascript_errors - Long sequences of invalid tokens python example - corpus - expressions - Subscript slice expressions c example - c_errors - Invalid characters in declarations test language: "named_rule_aliased_as_anonymous" example: "corpus - Named rules that are aliased as anonymous tokens" c example - c_errors - Extra values in parenthesized expressions python example - corpus - expressions - Attribute references python example - corpus - expressions - Await expressions c example - c_errors - Extra identifiers in declarations test tests::corpus_test::test_javascript_corpus ... ok python example - corpus - expressions - Call expressions c example - c_errors - Declarations with missing variable names python example - corpus - expressions - Print used as an identifier test tests::corpus_test::test_c_corpus ... ok python example - corpus - expressions - Print used as a parameter python example - corpus - expressions - Exec used as an identifier python example - corpus - expressions - Async / await used as identifiers python example - corpus - expressions - Calls with splats python example - corpus - expressions - Math operators test language: "extra_non_terminals" example: "corpus - No extras" example: "corpus - Extras" python example - corpus - expressions - Binary Addition / Subtraction With Floats python example - corpus - expressions - Power Operator Precedence python example - corpus - expressions - Operator precedence python example - corpus - expressions - Bitwise operators python example - corpus - expressions - Boolean operators python example - corpus - expressions - Comparison operators python example - corpus - expressions - Assignments python example - corpus - expressions - Assignments with type annotations python example - corpus - expressions - Augmented assignments python example - corpus - expressions - Named expressions python example - corpus - expressions - Yield expressions test language: "uses_current_column" example: "corpus - Simple blocks" example: "corpus - Nested blocks" example: "corpus - Blocks with leading newlines" example: "corpus - Unterminated blocks" python example - corpus - expressions - lambdas python example - corpus - expressions - Tuples with splats python example - corpus - expressions - Tuples with yield python example - corpus - expressions - Conditional if expressions test language: "conflict_in_repeat_rule" python example - corpus - expressions - Async context managers and iterators python example - corpus - statements - Import statements python example - corpus - statements - Import-from statements test language: "epsilon_rules" php example - corpus - class - Abstract class python example - corpus - statements - Future import statements php example - corpus - class - Anonymous classes python example - corpus - statements - Print statements python example - corpus - statements - Print statements with redirection python example - corpus - statements - Assert statements php example - corpus - class - Conditional class definition python example - corpus - statements - Expression statements php example - corpus - class - Class constant modifiers python example - corpus - statements - Delete statements python example - corpus - statements - Control-flow statements php example - corpus - class - Final class python example - corpus - statements - Return statements php example - corpus - class - Implicitly public properties and methods python example - corpus - statements - If statements python example - corpus - statements - If else statements php example - corpus - class - Property Types python example - corpus - statements - Nested if statements python example - corpus - statements - While statements php example - corpus - class - Constructor Property Promotion python example - corpus - statements - For statements php example - corpus - literals - Booleans python example - corpus - statements - Try statements php example - corpus - literals - Floats python example - corpus - statements - With statements php example - corpus - literals - Integers php example - corpus - literals - Testing string scanner confirmance python example - corpus - statements - Async Function definitions php example - corpus - literals - Shell command php example - corpus - literals - Heredocs python example - corpus - statements - Function definitions php example - corpus - literals - Nowdocs test language: "external_and_internal_anonymous_tokens" example: "corpus - single-line statements - internal tokens" example: "corpus - multi-line statements - internal tokens" example: "corpus - single-line statements - external tokens" example: "corpus - multi-line statements - external tokens" php example - corpus - literals - Unicode escape sequences python example - corpus - statements - Empty blocks php example - corpus - expressions - Dynamic variable names python example - corpus - statements - Class definitions php example - corpus - expressions - Exponentiation python example - corpus - statements - Class definitions with superclasses php example - corpus - expressions - Reserved Identifiers as Names python example - corpus - statements - Decorated definitions php example - corpus - expressions - Unary op with assignment expressions php example - corpus - expressions - Capitalized logical operators python example - corpus - statements - Raise statements php example - corpus - expressions - Cast expressions in assignments python example - corpus - statements - Comments python example - corpus - statements - Comments at different indentation levels test language: "dynamic_precedence" example: "corpus - Declarations" example: "corpus - Expressions" php example - corpus - expressions - Cast include python example - corpus - statements - Comments after dedents php example - corpus - expressions - Reserved words as function calls python example - corpus - statements - Comments at the ends of indented blocks python example - corpus - statements - Newline tokens followed by comments php example - corpus - expressions - Scoped self call expressions python example - corpus - statements - Global statements php example - corpus - expressions - Symmetric array destructuring python example - corpus - statements - Exec statements test language: "invisible_start_rule" python example - corpus - statements - Extra newlines python example - corpus - statements - Escaped newline python example - corpus - statements - Statements with semicolons php example - corpus - expressions - Precedence of assignment, `or`, `xor`, and `and` python example - corpus - pattern_matching - Matching specific values php example - corpus - expressions - Associativity of conditional php example - corpus - expressions - Associativity of null-coalescence python example - corpus - pattern_matching - Matching multiple values php example - corpus - expressions - Associativity of negation php example - corpus - expressions - Augmented assignment python example - corpus - pattern_matching - Adding a wild card php example - corpus - expressions - Nested assignemnts python example - corpus - pattern_matching - Or patterns php example - corpus - expressions - All binary op precedence levels python example - corpus - pattern_matching - As patterns test language: "precedence_on_token" example: "corpus - obvious tokens" example: "corpus - strings starting with double slashes" example: "corpus - comments that resemble regexes" php example - corpus - expressions - Concatenation precedence python example - corpus - pattern_matching - Actually not match php example - corpus - expressions - Arrays python example - corpus - pattern_matching - Match is match but not pattern matching php example - corpus - expressions - Anonymous functions python example - corpus - pattern_matching - Match kwargs python example - corpus - pattern_matching - Match kwargs 2 python example - corpus - pattern_matching - Case used as identifier php example - corpus - expressions - Throw expressions python example - corpus - pattern_matching - If guards cpp example - corpus - expressions - Scoped function calls python example - corpus - pattern_matching - Comma separated cases cpp example - corpus - expressions - Compound literals without parentheses python example - corpus - pattern_matching - case terminating in comma cpp example - corpus - expressions - Explicit destructor calls python example - corpus - pattern_matching - Multiple match patterns php example - corpus - expressions - Nullsafe operator test language: "external_extra_tokens" example: "corpus - extra external tokens" cpp example - corpus - expressions - New and Delete expressions python example - corpus - pattern_matching - Match match, case case php example - corpus - expressions - Match expressions python example - corpus - pattern_matching - Walrus match (Issue #150) python example - python_errors - errors in if statements cpp example - corpus - expressions - Initializer lists as arguments php example - corpus - expressions - Arrow functions test language: "start_rule_is_token" example: "corpus - the single token" cpp example - corpus - expressions - Lambda expressions python example - python_errors - errors in function definitions test tests::corpus_test::test_python_corpus ... ok php example - corpus - expressions - Functions with named arguments php example - corpus - expressions - Precedence between concatenation and shift cpp example - corpus - expressions - Nested template calls test language: "associativity_missing" php example - corpus - expressions - References cpp example - corpus - expressions - Comma expressions at the start of blocks php example - corpus - statements - If statements cpp example - corpus - expressions - Nullptr cpp example - corpus - expressions - Raw string literals php example - corpus - statements - Alternative if statements test language: "extra_non_terminals_with_shared_rules" example: "corpus - Extras" cpp example - corpus - expressions - Template calls php example - corpus - statements - Wordpress colon blocks php example - corpus - statements - While statements php example - corpus - statements - Alternative while statements cpp example - corpus - expressions - Parameter pack expansions php example - corpus - statements - For statements php example - corpus - statements - Switch statements php example - corpus - statements - Alternative switch statements php example - corpus - statements - Include statement php example - corpus - statements - Do-while statements cpp example - corpus - expressions - Concatenated string literals php example - corpus - statements - Try statements cpp example - corpus - expressions - User-defined literals test language: "external_tokens" example: "corpus - simple external tokens" example: "corpus - external tokens that require state" cpp example - corpus - expressions - Primitive types ctor php example - corpus - statements - Foreach statements cpp example - corpus - expressions - Array assignment expression cpp example - corpus - expressions - Coroutines php example - corpus - statements - Case insensitive keywords cpp example - corpus - expressions - Three-way comparison cpp example - corpus - expressions - Fold Expressions php example - corpus - statements - Accessing Constants php example - corpus - interpolation - no interpolated text php example - corpus - interpolation - interpolated text at beginning cpp example - corpus - statements - Returning braced initializer lists php example - corpus - interpolation - interpolated text at end cpp example - corpus - statements - Range-based for loops php example - corpus - interpolation - interpolated text in middle test language: "associativity_left" example: "corpus - chained operations" php example - corpus - interpolation - short open tag: On cpp example - corpus - statements - Constexpr if statements php example - corpus - interpolation - short open tag: Off cpp example - corpus - statements - If statements with declarations php example - corpus - interpolation - Single line php comment cpp example - corpus - statements - Try/catch statements php example - corpus - interpolation - Singel line comment without any content php example - corpus - interpolation - Closing tags before the first PHP tag cpp example - corpus - statements - Throw statements test language: "precedence_on_single_child_positive" example: "corpus - function calls with blocks" php example - corpus - declarations - Interface declarations cpp example - corpus - statements - Noexcept specifier php example - corpus - declarations - Use declarations cpp example - corpus - statements - Throw specifier cpp example - corpus - statements - Assignment php example - corpus - declarations - Namespace names in namespaces cpp example - corpus - statements - Attributes php example - corpus - declarations - Class declarations cpp example - corpus - statements - Coroutines php example - corpus - declarations - Class declarations with base classes test language: "lexical_conflicts_due_to_state_merging" example: "corpus - regexes" example: "corpus - conditionals" example: "corpus - quotients" cpp example - corpus - statements - Switch statements php example - corpus - declarations - Function parameters php example - corpus - declarations - Functions with default parameters cpp example - corpus - ambiguities - template functions vs relational expressions php example - corpus - declarations - Static variables in functions php example - corpus - declarations - Defining Constants cpp example - corpus - ambiguities - function declarations vs variable initializations php example - corpus - declarations - Attributes cpp example - corpus - ambiguities - template classes vs relational expressions cpp example - corpus - declarations - Namespace definitions cpp example - corpus - declarations - Namespace alias definitions test language: "associativity_right" example: "corpus - chained operations" test tests::corpus_test::test_feature_corpus_files ... ok cpp example - corpus - declarations - Using declarations php example - corpus - declarations - Enums cpp example - corpus - declarations - Reference declarations cpp example - corpus - declarations - R-value reference declarations php example - corpus - types - Type names cpp example - corpus - declarations - Inline method definitions php example - corpus - types - Primitive types cpp example - corpus - declarations - Inline method definitions with overrides php example - corpus - types - Optional types php example - corpus - types - Union types cpp example - corpus - declarations - Virtual method declarations php example - corpus - types - Mixed type php example - corpus - types - Static type cpp example - corpus - declarations - Constructor and destructor declarations php example - corpus - string - Complex: Variable access php example - corpus - string - Complex: Disallow space between { and $ cpp example - corpus - declarations - Classes with inheritance php example - corpus - string - Complex: PHP documentation tests cpp example - corpus - declarations - Classes with final virt specifier cpp example - corpus - declarations - Nested classes cpp example - corpus - declarations - Friend declarations cpp example - corpus - declarations - Default member initializers cpp example - corpus - declarations - Function parameters with default values php example - corpus - string - Simple: Variable access cpp example - corpus - declarations - Attributes php example - corpus - string - Simple: Member and array access php example - corpus - string - Corner cases cpp example - corpus - declarations - Operator overload declarations cpp example - corpus - declarations - Template declarations php example - corpus - string - Single quoted cpp example - corpus - declarations - Template template declarations php example - corpus - string - Bug: #113 test tests::corpus_test::test_php_corpus ... ok cpp example - corpus - declarations - Template specializations cpp example - corpus - declarations - Template methods cpp example - corpus - declarations - Templates with optional type parameters cpp example - corpus - declarations - Templates with optional anonymous parameters cpp example - corpus - declarations - Declarations with braced initializer lists cpp example - corpus - declarations - Empty function bodies cpp example - corpus - declarations - Explicit template instantiations cpp example - corpus - declarations - Structured binding declarations cpp example - corpus - declarations - Constexpr/constinit/consteval declarations cpp example - corpus - declarations - Variadic templates cpp example - corpus - declarations - Enums cpp example - corpus - declarations - static_assert declarations cpp example - corpus - declarations - Cast operator overload declarations cpp example - corpus - declarations - Class scope cast operator overload declarations rust example - corpus - literals - Integer literals cpp example - corpus - declarations - Function declarations cpp example - corpus - declarations - Variable storage classes rust example - corpus - literals - Floating-point literals rust example - corpus - literals - String literals cpp example - corpus - declarations - Ref-qualifiers ruby example - corpus - control-flow - empty while statement rust example - corpus - literals - Raw string literals ruby example - corpus - control-flow - while without do ruby example - corpus - control-flow - while statement with body rust example - corpus - literals - Raw byte string literals cpp example - corpus - declarations - Default comparison declarations ruby example - corpus - control-flow - empty until statement rust example - corpus - literals - Character literals ruby example - corpus - control-flow - until statement with body rust example - corpus - literals - Boolean literals cpp example - corpus - concepts - Concept definition rust example - corpus - expressions - Identifiers ruby example - corpus - control-flow - empty if statement rust example - corpus - expressions - Raw identifiers cpp example - corpus - concepts - Concept definition with requires expression ruby example - corpus - control-flow - empty if/else statement rust example - corpus - expressions - Unary operator expressions rust example - corpus - expressions - Reference expressions ruby example - corpus - control-flow - single-line if then else statement cpp example - corpus - concepts - Requires clauses and expressions rust example - corpus - expressions - Try expressions ruby example - corpus - control-flow - if elsif rust example - corpus - expressions - Binary operator expressions ruby example - corpus - control-flow - if elsif else rust example - corpus - expressions - Grouped expressions ruby example - corpus - control-flow - empty unless statement rust example - corpus - expressions - Range expressions ruby example - corpus - control-flow - empty unless statement with then ruby example - corpus - control-flow - empty unless statement with else rust example - corpus - expressions - Assignment expressions ruby example - corpus - control-flow - for rust example - corpus - expressions - Compound assignment expressions rust example - corpus - expressions - Type cast expressions cpp example - corpus - concepts - Compound requirements ruby example - corpus - control-flow - for without do rust example - corpus - expressions - Call expressions ruby example - corpus - control-flow - next rust example - corpus - expressions - Array expressions ruby example - corpus - control-flow - retry rust example - corpus - expressions - Tuple expressions ruby example - corpus - control-flow - break rust example - corpus - expressions - Struct expressions cpp example - corpus - concepts - Nested requirements ruby example - corpus - control-flow - redo ruby example - corpus - control-flow - empty begin rust example - corpus - expressions - Struct expressions with update initializers ruby example - corpus - control-flow - begin with body rust example - corpus - expressions - If expressions ruby example - corpus - control-flow - begin with else rust example - corpus - expressions - If let expressions ruby example - corpus - control-flow - begin with ensure rust example - corpus - expressions - While let expressions ruby example - corpus - control-flow - begin with empty rescue rust example - corpus - expressions - Match expressions ruby example - corpus - control-flow - begin with rescue with args cpp example - corpus - concepts - Constraints rust example - corpus - expressions - While expressions ruby example - corpus - control-flow - begin with rescue with splat args rust example - corpus - expressions - Loop expressions ruby example - corpus - control-flow - rescue modifier cpp example - corpus - definitions - Scoped function definitions rust example - corpus - expressions - For expressions ruby example - corpus - control-flow - begin with all the trimmings cpp example - corpus - definitions - Constructor definitions ruby example - corpus - control-flow - return rust example - corpus - expressions - Field expressions cpp example - corpus - definitions - Explicit constructor definitions ruby example - corpus - control-flow - return without value ruby example - corpus - control-flow - case rust example - corpus - expressions - Method call expressions cpp example - corpus - definitions - Explicit constructor declaration rust example - corpus - expressions - Index expressions ruby example - corpus - control-flow - case with else cpp example - corpus - definitions - Default and deleted methods rust example - corpus - expressions - Scoped functions ruby example - corpus - control-flow - case with multiple when blocks rust example - corpus - expressions - Scoped functions with fully qualified syntax ruby example - corpus - control-flow - case without line break rust example - corpus - expressions - Scoped functions with macros as types cpp example - corpus - definitions - Destructor definitions rust example - corpus - expressions - Generic functions ruby example - corpus - control-flow - case with splat parameter in when cpp example - corpus - microsoft - declaration specs rust example - corpus - expressions - Closures ruby example - corpus - control-flow - case with assignment cpp example - corpus - types - The auto type ruby example - corpus - control-flow - case with expression cpp example - corpus - types - Namespaced types rust example - corpus - expressions - Closures with typed parameteres cpp example - corpus - types - Dependent type names ruby example - corpus - literals - symbol rust example - corpus - expressions - Generators cpp example - corpus - types - Template types with empty argument lists rust example - corpus - expressions - Unsafe blocks ruby example - corpus - literals - symbol operators cpp example - corpus - types - Function types as template arguments rust example - corpus - expressions - Inline const or Const blocks as expression cpp example - corpus - types - Decltype ruby example - corpus - literals - single quoted symbol rust example - corpus - source_files - Block comments rust example - corpus - source_files - Nested block comments ruby example - corpus - literals - double quoted symbol cpp example - corpus - types - Trailing return type ruby example - corpus - literals - double quoted symbol with interpolation rust example - corpus - source_files - Line comments test tests::corpus_test::test_cpp_corpus ... ok rust example - corpus - source_files - Greek letters in identifiers ruby example - corpus - literals - interpolation with no content rust example - corpus - async - Async function ruby example - corpus - literals - percent symbol with unbalanced delimiters ruby example - corpus - literals - percent symbol with balanced delimiters rust example - corpus - async - Await expression ruby example - corpus - literals - global variables rust example - corpus - async - Async Block rust example - corpus - declarations - Modules rust example - corpus - declarations - Extern crate declarations ruby example - corpus - literals - integer rust example - corpus - declarations - Function declarations ruby example - corpus - literals - integer as object ruby example - corpus - literals - integer with underscore ruby example - corpus - literals - integer with decimal prefix ruby example - corpus - literals - integer with hexadecimal prefix rust example - corpus - declarations - Const function declarations ruby example - corpus - literals - integer with hexadecimal prefix capitalised rust example - corpus - declarations - Functions with abstract return types ruby example - corpus - literals - integer with octal prefix rust example - corpus - declarations - Diverging functions ruby example - corpus - literals - integer with binary prefix rust example - corpus - declarations - Extern function declarations ruby example - corpus - literals - float rust example - corpus - declarations - Use declarations ruby example - corpus - literals - complex ruby example - corpus - literals - rational rust example - corpus - declarations - Variable bindings ruby example - corpus - literals - boolean rust example - corpus - declarations - Structs ruby example - corpus - literals - nil ruby example - corpus - literals - single-quoted string rust example - corpus - declarations - Unions ruby example - corpus - literals - single-quoted strings with backslashes ruby example - corpus - literals - single-quoted string with pound and curly brace ruby example - corpus - literals - double-quoted string rust example - corpus - declarations - Generic structs ruby example - corpus - literals - double-quoted strings with escape sequences rust example - corpus - declarations - Enums ruby example - corpus - literals - double-quoted string with just pound ruby example - corpus - literals - interpolation rust example - corpus - declarations - Enums with values specified ruby example - corpus - literals - percent q string with unbalanced delimiters rust example - corpus - declarations - Generic functions ruby example - corpus - literals - percent q string with balanced delimiters ruby example - corpus - literals - percent string with unbalanced delimiters rust example - corpus - declarations - Functions with mutable parameters rust example - corpus - declarations - Functions with destructured parameters ruby example - corpus - literals - percent string with balanced delimiters ruby example - corpus - literals - percent Q string with unbalanced delimiters rust example - corpus - declarations - Functions with custom types for self ruby example - corpus - literals - percent Q string with balanced delimiters rust example - corpus - declarations - Constant items rust example - corpus - declarations - Static items ruby example - corpus - literals - string chaining rust example - corpus - declarations - Static 'ref' items using lazy_static ruby example - corpus - literals - newline-delimited strings rust example - corpus - declarations - Type aliases rust example - corpus - declarations - Empty statements ruby example - corpus - literals - % formatting that looks like a newline-delimited strings rust example - corpus - declarations - Attributes ruby example - corpus - literals - Single character string literals rust example - corpus - declarations - Inner attributes ruby example - corpus - literals - nested strings with different delimiters rust example - corpus - declarations - Attributes and Expressions ruby example - corpus - literals - basic heredocs rust example - corpus - declarations - Inherent Impls ruby example - corpus - literals - heredoc with interspersed end word rust example - corpus - declarations - Trait impls ruby example - corpus - literals - heredoc with end word in content ruby example - corpus - literals - heredocs in context starting with dot rust example - corpus - declarations - Unsafe impls rust example - corpus - declarations - Trait impl signature ruby example - corpus - literals - heredocs with method continuation rust example - corpus - declarations - Impls with default functions ruby example - corpus - literals - heredocs with suffix dot method continuation rust example - corpus - declarations - Trait declarations ruby example - corpus - literals - multiple heredocs with method continuation rust example - corpus - declarations - Trait declarations with optional type parameters ruby example - corpus - literals - heredocs with interpolation rust example - corpus - declarations - Unsized types in trait bounds rust example - corpus - declarations - Macro invocations inside trait declarations ruby example - corpus - literals - heredocs with in args, pairs, and arrays rust example - corpus - declarations - Associated Types rust example - corpus - declarations - Generic Associated Types ruby example - corpus - literals - heredocs with method calls and interpolation with method calls rust example - corpus - declarations - Higher-ranked types ruby example - corpus - literals - multiple heredocs rust example - corpus - declarations - Visibility modifiers ruby example - corpus - literals - heredoc content that starts with a dot rust example - corpus - declarations - Function parameter names that match built-in type names ruby example - corpus - literals - un-terminated heredocs ruby example - corpus - literals - backticks subshell rust example - corpus - declarations - Where clauses ruby example - corpus - literals - backticks subshell with escape ruby example - corpus - literals - empty array ruby example - corpus - literals - array ruby example - corpus - literals - array as object rust example - corpus - declarations - External Modules ruby example - corpus - literals - array with trailing comma rust example - corpus - declarations - Crate visibility ruby example - corpus - literals - empty percent w array rust example - corpus - declarations - Reserved keywords in path ruby example - corpus - literals - unbalanced percent w array ruby example - corpus - literals - percent w array rust example - corpus - macros - Macro invocation - no arguments ruby example - corpus - literals - percent W array with interpolations rust example - corpus - macros - Macro invocation - arbitrary tokens ruby example - corpus - literals - empty percent i array ruby example - corpus - literals - unbalanced percent i array rust example - corpus - macros - Macro invocation with comments ruby example - corpus - literals - percent i array rust example - corpus - macros - Macro definition ruby example - corpus - literals - percent I array with interpolations ruby example - corpus - literals - percent i array with spaces ruby example - corpus - literals - empty hash rust example - corpus - types - The unit type ruby example - corpus - literals - hash with no spaces rust example - corpus - types - Tuple types ruby example - corpus - literals - hash with expression keys rust example - corpus - types - Reference types rust example - corpus - types - Raw pointer types ruby example - corpus - literals - hash with reserved word key rust example - corpus - types - Generic types rust example - corpus - types - Scoped types rust example - corpus - types - Array types rust example - corpus - types - Function types ruby example - corpus - literals - hash with keyword keys rust example - corpus - types - Unsafe and extern function types ruby example - corpus - literals - hash with trailing comma ruby example - corpus - literals - hash initialization with hash splat rust example - corpus - types - Trait objects ruby example - corpus - literals - hash with line breaks and inline comments rust example - corpus - types - Type cast expressions with generics ruby example - corpus - literals - regular expression rust example - corpus - patterns - Tuple struct patterns ruby example - corpus - literals - regular expression with interpolation rust example - corpus - patterns - Reference patterns ruby example - corpus - literals - percent r regular expression with unbalanced delimiters rust example - corpus - patterns - Struct patterns ruby example - corpus - literals - percent r regular expression with balanced delimiters ruby example - corpus - literals - percent r regular expression with unbalanced delimiters and interpolation rust example - corpus - patterns - Ignored patterns ruby example - corpus - literals - percent r regular expression with balanced delimiters and interpolation ruby example - corpus - literals - empty function rust example - corpus - patterns - Captured patterns ruby example - corpus - literals - lambda literal with body ruby example - corpus - literals - lambda literal with an arg rust example - corpus - patterns - Or patterns ruby example - corpus - literals - lambda literal with multiple args ruby example - corpus - literals - lambda literal with do end rust example - corpus - patterns - Inline const or Const blocks as pattern ruby example - corpus - literals - non-ascii identifiers ruby example - corpus - expressions - scope resolution test tests::corpus_test::test_rust_corpus ... ok ruby example - corpus - expressions - element reference ruby example - corpus - expressions - element reference with string ruby example - corpus - expressions - element reference with symbol ruby example - corpus - expressions - element assignment ruby example - corpus - expressions - vacuous literal ruby example - corpus - expressions - empty statement ruby example - corpus - expressions - yield without value ruby example - corpus - expressions - yield ruby example - corpus - expressions - not ruby example - corpus - expressions - and ruby example - corpus - expressions - or ruby example - corpus - expressions - and or associativity ruby example - corpus - expressions - defined? ruby example - corpus - expressions - assignment ruby example - corpus - expressions - multiple assignment ruby example - corpus - expressions - multiple assignment with multiple right hand sides ruby example - corpus - expressions - destructured left hand side assignment ruby example - corpus - expressions - assignment from method call ruby example - corpus - expressions - math assignment ruby example - corpus - expressions - operator assignment ruby example - corpus - expressions - conditional ruby example - corpus - expressions - conditional and character literal ambiguity ruby example - corpus - expressions - conditional with reserved identifiers ruby example - corpus - expressions - inclusive range ruby example - corpus - expressions - exclusive range ruby example - corpus - expressions - boolean or ruby example - corpus - expressions - boolean and ruby example - corpus - expressions - relational ruby example - corpus - expressions - comparison ruby example - corpus - expressions - bitwise or ruby example - corpus - expressions - bitwise xor ruby example - corpus - expressions - bitwise and ruby example - corpus - expressions - shift ruby example - corpus - expressions - additive ruby example - corpus - expressions - multiplicative ruby example - corpus - expressions - binary operations ruby example - corpus - expressions - unary minus ruby example - corpus - expressions - binary minus ruby example - corpus - expressions - exponential ruby example - corpus - expressions - complement ruby example - corpus - expressions - method call ruby example - corpus - expressions - nested unparenthesized method calls ruby example - corpus - expressions - method call with arguments on multiple lines ruby example - corpus - expressions - method call with trailing comma ruby example - corpus - expressions - keyword arguments, no space, trailing comma ruby example - corpus - expressions - method call with receiver ruby example - corpus - expressions - implicit call ruby example - corpus - expressions - implicit call with block ruby example - corpus - expressions - call with operator method name ruby example - corpus - expressions - method call with safe navigation operator ruby example - corpus - expressions - calls to methods on negated literals ruby example - corpus - expressions - method call with hash args ruby example - corpus - expressions - method call with keyword args ruby example - corpus - expressions - method call with reserved keyword args ruby example - corpus - expressions - method call with paren args ruby example - corpus - expressions - method call with block argument ruby example - corpus - expressions - method call with splat argument ruby example - corpus - expressions - method call lambda argument ruby example - corpus - expressions - method call lambda argument and do block ruby example - corpus - expressions - chained method calls with blocks but no parens ruby example - corpus - expressions - method calls in binary expression ruby example - corpus - expressions - method calls in unary expression ruby example - corpus - expressions - method calls with splat argument ruby example - corpus - expressions - method call without parens ruby example - corpus - expressions - method call with line break ruby example - corpus - expressions - method call with block argument do end ruby example - corpus - expressions - method call with block argument curly ruby example - corpus - expressions - method call with block shadow arguments ruby example - corpus - expressions - method call with capitalized name ruby example - corpus - expressions - destructured parameters ruby example - corpus - expressions - element reference and method with array arguments ruby example - corpus - expressions - element reference on call expression ruby example - corpus - expressions - call with array and block ruby example - corpus - expressions - call with normal and keyword argument with value that looks like a block ruby example - corpus - expressions - empty lambda expression ruby example - corpus - expressions - lambda expressions ruby example - corpus - expressions - lambda expression with an arg ruby example - corpus - expressions - lambda expression with multiple args ruby example - corpus - expressions - lambda expression with trailing comma ruby example - corpus - expressions - lambda expression with optional arg ruby example - corpus - expressions - lambda expression with keyword arg ruby example - corpus - expressions - lambda expression with do end ruby example - corpus - expressions - lambda and proc as variables ruby example - corpus - expressions - backslash-newline as line continuation ruby example - corpus - expressions - basic division ruby example - corpus - expressions - division without spaces ruby example - corpus - expressions - regex as parameter ruby example - corpus - expressions - regex with opening space ruby example - corpus - expressions - forward slash operator as method ruby example - corpus - expressions - multiline regex ruby example - corpus - statements - conditional modifier ruby example - corpus - statements - while modifier ruby example - corpus - statements - unless modifier ruby example - corpus - statements - until modifier ruby example - corpus - statements - alias ruby example - corpus - statements - undef ruby example - corpus - comments - comments ruby example - corpus - comments - empty block comment ruby example - corpus - comments - one-line block comment ruby example - corpus - comments - block comment with comment after begin ruby example - corpus - comments - multi-line block comments ruby example - corpus - comments - multi-line block comments followed by standard comment ruby example - corpus - comments - multi-line block comments with almost end ruby example - corpus - errors - Heredocs with errors ruby example - corpus - errors - Heredocs ruby example - corpus - single-cr-as-whitespace - Single CR characters as whitespace ruby example - corpus - declarations - empty method ruby example - corpus - declarations - method with body ruby example - corpus - declarations - "end"-less method ruby example - corpus - declarations - method as attribute setter ruby example - corpus - declarations - method definition of operators ruby example - corpus - declarations - method with forward slash name and regex ambiguity ruby example - corpus - declarations - method with call to super ruby example - corpus - declarations - method with args ruby example - corpus - declarations - method with unparenthesized args ruby example - corpus - declarations - method with multiple args ruby example - corpus - declarations - method with multiple unparenthesized args ruby example - corpus - declarations - method with keyword parameters ruby example - corpus - declarations - method with default parameters ruby example - corpus - declarations - method with interesting params ruby example - corpus - declarations - singleton method ruby example - corpus - declarations - singleton method with body ruby example - corpus - declarations - singleton method with arg ruby example - corpus - declarations - singleton method with un-parenthesized arg ruby example - corpus - declarations - singleton method with args ruby example - corpus - declarations - singleton method with un-parenthesized args ruby example - corpus - declarations - empty class ruby example - corpus - declarations - empty subclass ruby example - corpus - declarations - empty subclass of namespaced class ruby example - corpus - declarations - unparenthesized call as superclass ruby example - corpus - declarations - class with body ruby example - corpus - declarations - class within dynamically-computed module ruby example - corpus - declarations - singleton class ruby example - corpus - declarations - empty module ruby example - corpus - declarations - module with body ruby example - corpus - declarations - module without semicolon ruby example - corpus - declarations - __END__ ruby example - corpus - declarations - module with class with methods ruby example - corpus - declarations - empty BEGIN block ruby example - corpus - declarations - BEGIN block ruby example - corpus - declarations - empty END block ruby example - corpus - declarations - END block ruby example - corpus - line-endings - CRLF line endings ruby example - corpus - line-endings - CRLF multiline comments ruby example - corpus - patterns - pattern matching ruby example - corpus - patterns - more pattern matching ruby example - corpus - patterns - array patterns ruby example - corpus - patterns - find patterns ruby example - corpus - patterns - hash patterns ruby example - ruby_errors - Heredocs with errors test tests::corpus_test::test_ruby_corpus ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 212 filtered out; finished in 15.25s Running unittests (target/debug/deps/tree_sitter-210a57dfa7a1a9be) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s >>> tree-sitter: Entering fakeroot... install -d '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib' install -m755 libtree-sitter.a '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib'/libtree-sitter.a install -m755 libtree-sitter.so.0.0 '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib'/libtree-sitter.so.0.0 ln -sf libtree-sitter.so.0.0 '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib'/libtree-sitter.so.0 ln -sf libtree-sitter.so.0.0 '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib'/libtree-sitter.so install -d '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/include'/tree_sitter install -m644 lib/include/tree_sitter/*.h '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/include'/tree_sitter/ install -d '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib/pkgconfig' sed -e 's|@LIBDIR@|/usr/lib|;s|@INCLUDEDIR@|/usr/include|;s|@VERSION@|0.6.3|' \ -e 's|=/usr|=${prefix}|' \ -e 's|@PREFIX@|/usr|' \ tree-sitter.pc.in > '/home/buildozer/aports/community/tree-sitter/pkg/tree-sitter/usr/lib/pkgconfig'/tree-sitter.pc >>> tree-sitter-static*: Running split function static... >>> tree-sitter-static*: Preparing subpackage tree-sitter-static... >>> tree-sitter-static*: Stripping binaries >>> tree-sitter-static*: Running postcheck for tree-sitter-static >>> tree-sitter-dev*: Running split function dev... >>> tree-sitter-dev*: Preparing subpackage tree-sitter-dev... >>> tree-sitter-dev*: Stripping binaries >>> tree-sitter-dev*: Running postcheck for tree-sitter-dev >>> tree-sitter-grammars*: Running split function grammars... >>> tree-sitter-grammars*: Preparing subpackage tree-sitter-grammars... >>> tree-sitter-grammars*: Running postcheck for tree-sitter-grammars >>> tree-sitter-cli*: Running split function cli... >>> tree-sitter-cli*: Preparing subpackage tree-sitter-cli... >>> tree-sitter-cli*: Stripping binaries >>> tree-sitter-cli*: Running postcheck for tree-sitter-cli >>> tree-sitter*: Running postcheck for tree-sitter >>> tree-sitter*: Preparing package tree-sitter... >>> tree-sitter*: Stripping binaries >>> tree-sitter-cli*: Scanning shared objects >>> tree-sitter-dev*: Scanning shared objects >>> tree-sitter-grammars*: Scanning shared objects >>> tree-sitter-static*: Scanning shared objects >>> tree-sitter*: Scanning shared objects >>> tree-sitter-cli*: Tracing dependencies... so:libc.musl-x86.so.1 so:libgcc_s.so.1 >>> tree-sitter-cli*: Package size: 9.1 MB >>> tree-sitter-cli*: Compressing data... >>> tree-sitter-cli*: Create checksum... >>> tree-sitter-cli*: Create tree-sitter-cli-0.20.5-r0.apk >>> tree-sitter-dev*: Tracing dependencies... jq pkgconfig tree-sitter=0.20.5-r0 >>> tree-sitter-dev*: Package size: 76.0 KB >>> tree-sitter-dev*: Compressing data... >>> tree-sitter-dev*: Create checksum... >>> tree-sitter-dev*: Create tree-sitter-dev-0.20.5-r0.apk >>> tree-sitter-grammars*: Tracing dependencies... >>> tree-sitter-grammars*: Package size: 4.0 KB >>> tree-sitter-grammars*: Compressing data... >>> tree-sitter-grammars*: Create checksum... >>> tree-sitter-grammars*: Create tree-sitter-grammars-0.20.5-r0.apk >>> tree-sitter-static*: Tracing dependencies... >>> tree-sitter-static*: Package size: 200.0 KB >>> tree-sitter-static*: Compressing data... >>> tree-sitter-static*: Create checksum... >>> tree-sitter-static*: Create tree-sitter-static-0.20.5-r0.apk >>> tree-sitter*: Tracing dependencies... so:libc.musl-x86.so.1 >>> tree-sitter*: Package size: 164.0 KB >>> tree-sitter*: Compressing data... >>> tree-sitter*: Create checksum... >>> tree-sitter*: Create tree-sitter-0.20.5-r0.apk >>> tree-sitter: Build complete at Thu, 03 Mar 2022 03:11:13 +0000 elapsed time 0h 4m 41s >>> tree-sitter: Cleaning up srcdir >>> tree-sitter: Cleaning up pkgdir >>> tree-sitter: Uninstalling dependencies... (1/10) Purging .makedepends-tree-sitter (20220303.030633) (2/10) Purging bash (5.1.16-r0) Executing bash-5.1.16-r0.pre-deinstall (3/10) Purging cargo (1.59.0-r0) (4/10) Purging rust (1.59.0-r0) (5/10) Purging rust-stdlib (1.59.0-r0) (6/10) Purging nodejs (16.13.2-r1) (7/10) Purging readline (8.1.2-r0) (8/10) Purging llvm12-libs (12.0.1-r2) (9/10) Purging libffi (3.4.2-r1) (10/10) Purging libxml2 (2.9.12-r3) Executing busybox-1.35.0-r4.trigger OK: 325 MiB in 99 packages >>> tree-sitter: Updating the community/x86 repository index... >>> tree-sitter: Signing the index...