mirror of
https://github.com/soconnor0919/tree-sitter-compare-output.git
synced 2026-02-04 15:56:30 -05:00
Initial commit: Tree-sitter grammar for Compare Output language
This commit is contained in:
80
Cargo.lock
generated
Normal file
80
Cargo.lock
generated
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
# This file is automatically @generated by Cargo.
|
||||||
|
# It is not intended for manual editing.
|
||||||
|
version = 4
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "aho-corasick"
|
||||||
|
version = "1.1.3"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
|
||||||
|
dependencies = [
|
||||||
|
"memchr",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "cc"
|
||||||
|
version = "1.2.34"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "42bc4aea80032b7bf409b0bc7ccad88853858911b7713a8062fdc0623867bedc"
|
||||||
|
dependencies = [
|
||||||
|
"shlex",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "memchr"
|
||||||
|
version = "2.7.5"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "regex"
|
||||||
|
version = "1.11.2"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912"
|
||||||
|
dependencies = [
|
||||||
|
"aho-corasick",
|
||||||
|
"memchr",
|
||||||
|
"regex-automata",
|
||||||
|
"regex-syntax",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "regex-automata"
|
||||||
|
version = "0.4.10"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6"
|
||||||
|
dependencies = [
|
||||||
|
"aho-corasick",
|
||||||
|
"memchr",
|
||||||
|
"regex-syntax",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "regex-syntax"
|
||||||
|
version = "0.8.6"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "shlex"
|
||||||
|
version = "1.3.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "tree-sitter"
|
||||||
|
version = "0.20.10"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "e747b1f9b7b931ed39a548c1fae149101497de3c1fc8d9e18c62c1a66c683d3d"
|
||||||
|
dependencies = [
|
||||||
|
"cc",
|
||||||
|
"regex",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "tree-sitter-compare-output"
|
||||||
|
version = "1.0.0"
|
||||||
|
dependencies = [
|
||||||
|
"cc",
|
||||||
|
"tree-sitter",
|
||||||
|
]
|
||||||
23
Cargo.toml
Normal file
23
Cargo.toml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
[package]
|
||||||
|
name = "tree-sitter-compare-output"
|
||||||
|
description = "Compare/Output file grammar for the tree-sitter parsing library"
|
||||||
|
version = "1.0.0"
|
||||||
|
authors = ["Sean O'Connor <sean@soconnor.dev>"]
|
||||||
|
license = "MIT"
|
||||||
|
readme = "README.md"
|
||||||
|
keywords = ["incremental", "parsing", "compare", "output", "nand2tetris"]
|
||||||
|
categories = ["parsing", "text-editors"]
|
||||||
|
repository = "https://github.com/soconnor0919/nand2tetris-zed"
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
build = "bindings/rust/build.rs"
|
||||||
|
include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
path = "bindings/rust/lib.rs"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
tree-sitter = "~0.20"
|
||||||
|
|
||||||
|
[build-dependencies]
|
||||||
|
cc = "1.0"
|
||||||
32
binding.gyp
Normal file
32
binding.gyp
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"target_name": "tree_sitter_compare_output_binding",
|
||||||
|
"include_dirs": [
|
||||||
|
"<!(node -e \"console.log(require('node-addon-api').include)\")",
|
||||||
|
"src"
|
||||||
|
],
|
||||||
|
"sources": [
|
||||||
|
"bindings/node/binding.cc",
|
||||||
|
"src/parser.c"
|
||||||
|
],
|
||||||
|
"conditions": [
|
||||||
|
["OS!='win'", {
|
||||||
|
"cflags_c": [
|
||||||
|
"-std=c99",
|
||||||
|
]
|
||||||
|
}]
|
||||||
|
],
|
||||||
|
"dependencies": [
|
||||||
|
"<!(node -e \"console.log(require('node-addon-api').gyp)\")"
|
||||||
|
],
|
||||||
|
"cflags": [
|
||||||
|
"-Wall",
|
||||||
|
"-Wextra"
|
||||||
|
],
|
||||||
|
"defines": [
|
||||||
|
"NAPI_DISABLE_CPP_EXCEPTIONS"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
40
bindings/rust/build.rs
Normal file
40
bindings/rust/build.rs
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
fn main() {
|
||||||
|
let src_dir = std::path::Path::new("src");
|
||||||
|
|
||||||
|
let mut c_config = cc::Build::new();
|
||||||
|
c_config.include(&src_dir);
|
||||||
|
c_config
|
||||||
|
.flag_if_supported("-Wno-unused-parameter")
|
||||||
|
.flag_if_supported("-Wno-unused-but-set-variable")
|
||||||
|
.flag_if_supported("-Wno-trigraphs");
|
||||||
|
let parser_path = src_dir.join("parser.c");
|
||||||
|
c_config.file(&parser_path);
|
||||||
|
|
||||||
|
// If your language uses an external scanner written in C,
|
||||||
|
// then include this block of code:
|
||||||
|
|
||||||
|
/*
|
||||||
|
let scanner_path = src_dir.join("scanner.c");
|
||||||
|
c_config.file(&scanner_path);
|
||||||
|
println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap());
|
||||||
|
*/
|
||||||
|
|
||||||
|
c_config.compile("parser");
|
||||||
|
println!("cargo:rerun-if-changed={}", parser_path.to_str().unwrap());
|
||||||
|
|
||||||
|
// If your language uses an external scanner written in C++,
|
||||||
|
// then include this block of code:
|
||||||
|
|
||||||
|
/*
|
||||||
|
let mut cpp_config = cc::Build::new();
|
||||||
|
cpp_config.cpp(true);
|
||||||
|
cpp_config.include(&src_dir);
|
||||||
|
cpp_config
|
||||||
|
.flag_if_supported("-Wno-unused-parameter")
|
||||||
|
.flag_if_supported("-Wno-unused-but-set-variable");
|
||||||
|
let scanner_path = src_dir.join("scanner.cc");
|
||||||
|
cpp_config.file(&scanner_path);
|
||||||
|
cpp_config.compile("scanner");
|
||||||
|
println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap());
|
||||||
|
*/
|
||||||
|
}
|
||||||
58
bindings/rust/lib.rs
Normal file
58
bindings/rust/lib.rs
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
//! This crate provides Compare/Output file support for the [tree-sitter][] parsing library.
|
||||||
|
//!
|
||||||
|
//! Typically, you will use the [language][language func] function to add this language to a
|
||||||
|
//! tree-sitter [Parser][], and then use the parser to parse some code:
|
||||||
|
//!
|
||||||
|
//! ```
|
||||||
|
//! let code = r#"
|
||||||
|
//! | a | b | out |
|
||||||
|
//! | 0 | 0 | 0 |
|
||||||
|
//! | 0 | 1 | 0 |
|
||||||
|
//! | 1 | 0 | 0 |
|
||||||
|
//! | 1 | 1 | 1 |
|
||||||
|
//! "#;
|
||||||
|
//! let mut parser = tree_sitter::Parser::new();
|
||||||
|
//! parser.set_language(tree_sitter_compare_output::language()).expect("Error loading Compare Output grammar");
|
||||||
|
//! let tree = parser.parse(code, None).unwrap();
|
||||||
|
//! ```
|
||||||
|
//!
|
||||||
|
//! [Language]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Language.html
|
||||||
|
//! [language func]: fn.language.html
|
||||||
|
//! [Parser]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Parser.html
|
||||||
|
//! [tree-sitter]: https://tree-sitter.github.io/
|
||||||
|
|
||||||
|
use tree_sitter::Language;
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
fn tree_sitter_compare_output() -> Language;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Get the tree-sitter [Language][] for this grammar.
|
||||||
|
///
|
||||||
|
/// [Language]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Language.html
|
||||||
|
pub fn language() -> Language {
|
||||||
|
unsafe { tree_sitter_compare_output() }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// The content of the [`node-types.json`][] file for this grammar.
|
||||||
|
///
|
||||||
|
/// [`node-types.json`]: https://tree-sitter.github.io/tree-sitter/using-parsers#static-node-types
|
||||||
|
pub const NODE_TYPES: &'static str = include_str!("../../src/node-types.json");
|
||||||
|
|
||||||
|
// Uncomment these to include any queries that your language supports
|
||||||
|
|
||||||
|
// pub const HIGHLIGHTS_QUERY: &'static str = include_str!("../../queries/highlights.scm");
|
||||||
|
// pub const INJECTIONS_QUERY: &'static str = include_str!("../../queries/injections.scm");
|
||||||
|
// pub const LOCALS_QUERY: &'static str = include_str!("../../queries/locals.scm");
|
||||||
|
// pub const TAGS_QUERY: &'static str = include_str!("../../queries/tags.scm");
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
mod tests {
|
||||||
|
#[test]
|
||||||
|
fn test_can_load_grammar() {
|
||||||
|
let mut parser = tree_sitter::Parser::new();
|
||||||
|
parser
|
||||||
|
.set_language(super::language())
|
||||||
|
.expect("Error loading Compare Output language");
|
||||||
|
}
|
||||||
|
}
|
||||||
59
grammar.js
Normal file
59
grammar.js
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
module.exports = grammar({
|
||||||
|
name: "compare_output",
|
||||||
|
|
||||||
|
rules: {
|
||||||
|
source_file: ($) => repeat($._item),
|
||||||
|
|
||||||
|
_item: ($) =>
|
||||||
|
choice($.table_row, $.header_row, $.separator_row, $._whitespace),
|
||||||
|
|
||||||
|
// Header row with column names
|
||||||
|
header_row: ($) => seq("|", repeat1($.header_cell), "|"),
|
||||||
|
|
||||||
|
// Data row with values
|
||||||
|
table_row: ($) => seq("|", repeat1($.data_cell), "|"),
|
||||||
|
|
||||||
|
// Separator row (optional, sometimes used)
|
||||||
|
separator_row: ($) => seq("|", repeat1(seq(/[-=]+/, "|"))),
|
||||||
|
|
||||||
|
// Header cell (column name)
|
||||||
|
header_cell: ($) => seq(/\s*/, $.column_name, /\s*/, "|"),
|
||||||
|
|
||||||
|
// Data cell (value)
|
||||||
|
data_cell: ($) =>
|
||||||
|
seq(
|
||||||
|
/\s*/,
|
||||||
|
optional(
|
||||||
|
choice(
|
||||||
|
$.binary_value,
|
||||||
|
$.decimal_value,
|
||||||
|
$.register_reference,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
/\s*/,
|
||||||
|
"|",
|
||||||
|
),
|
||||||
|
|
||||||
|
// Column names in headers
|
||||||
|
column_name: ($) => choice($.register_name, $.pin_name, $.generic_name),
|
||||||
|
|
||||||
|
// Register references like RAM[0], RAM[256]
|
||||||
|
register_name: ($) => /RAM\[\d+\]/,
|
||||||
|
|
||||||
|
// Pin names like 'a', 'b', 'out', 'in'
|
||||||
|
pin_name: ($) => /[a-zA-Z][a-zA-Z0-9_]*/,
|
||||||
|
|
||||||
|
// Generic column names
|
||||||
|
generic_name: ($) => /[a-zA-Z][a-zA-Z0-9_\[\]]*/,
|
||||||
|
|
||||||
|
// Values in data cells
|
||||||
|
binary_value: ($) => /[01]+/,
|
||||||
|
decimal_value: ($) => /\d+/,
|
||||||
|
register_reference: ($) => /[A-Z][a-zA-Z0-9_\[\]]*/,
|
||||||
|
|
||||||
|
// Whitespace
|
||||||
|
_whitespace: ($) => /\s+/,
|
||||||
|
},
|
||||||
|
|
||||||
|
extras: ($) => [/[ \t]/],
|
||||||
|
});
|
||||||
53
package.json
Normal file
53
package.json
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
{
|
||||||
|
"name": "tree-sitter-compare-output",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Tree-sitter grammar for Compare/Output files (nand2tetris)",
|
||||||
|
"main": "bindings/node",
|
||||||
|
"types": "bindings/node",
|
||||||
|
"keywords": [
|
||||||
|
"parser",
|
||||||
|
"lexer",
|
||||||
|
"compare",
|
||||||
|
"output",
|
||||||
|
"nand2tetris",
|
||||||
|
"tree-sitter"
|
||||||
|
],
|
||||||
|
"files": [
|
||||||
|
"grammar.js",
|
||||||
|
"binding.gyp",
|
||||||
|
"prebuilds/**",
|
||||||
|
"bindings/node/*",
|
||||||
|
"queries/*",
|
||||||
|
"src/**"
|
||||||
|
],
|
||||||
|
"dependencies": {
|
||||||
|
"node-addon-api": "^7.0.0",
|
||||||
|
"node-gyp-build": "^4.6.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"tree-sitter-cli": "^0.20.8"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"tree-sitter": "^0.20.0"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"tree-sitter": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"install": "node-gyp-build",
|
||||||
|
"prestart": "tree-sitter build --wasm",
|
||||||
|
"start": "tree-sitter playground",
|
||||||
|
"test": "node --test bindings/node/*_test.js"
|
||||||
|
},
|
||||||
|
"tree-sitter": [
|
||||||
|
{
|
||||||
|
"scope": "source.compare_output",
|
||||||
|
"file-types": [
|
||||||
|
"cmp",
|
||||||
|
"out"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
40
queries/highlights.scm
Normal file
40
queries/highlights.scm
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
; Compare/Output file syntax highlighting queries based on actual node types
|
||||||
|
|
||||||
|
; Header row elements
|
||||||
|
(header_row) @markup.heading
|
||||||
|
|
||||||
|
; Column names in headers
|
||||||
|
(column_name) @property
|
||||||
|
|
||||||
|
; Register names in headers (RAM[0], RAM[256], etc.)
|
||||||
|
(register_name) @variable.builtin
|
||||||
|
|
||||||
|
; Pin names in headers
|
||||||
|
(pin_name) @property
|
||||||
|
|
||||||
|
; Generic names in headers
|
||||||
|
(generic_name) @property
|
||||||
|
|
||||||
|
; Data values
|
||||||
|
(binary_value) @constant.numeric
|
||||||
|
(decimal_value) @constant.numeric
|
||||||
|
(register_reference) @variable
|
||||||
|
|
||||||
|
; Table structure
|
||||||
|
"|" @punctuation.delimiter
|
||||||
|
|
||||||
|
; Separator rows
|
||||||
|
(separator_row) @comment
|
||||||
|
|
||||||
|
; Specific highlighting for common patterns
|
||||||
|
; Binary patterns (16-bit values)
|
||||||
|
(binary_value) @constant.numeric
|
||||||
|
|
||||||
|
; Decimal numbers
|
||||||
|
(decimal_value) @constant.numeric
|
||||||
|
|
||||||
|
; RAM references in headers
|
||||||
|
(register_name) @variable.builtin
|
||||||
|
|
||||||
|
; Common pin names
|
||||||
|
(pin_name) @property
|
||||||
219
src/grammar.json
Normal file
219
src/grammar.json
Normal file
@@ -0,0 +1,219 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
|
||||||
|
"name": "compare_output",
|
||||||
|
"rules": {
|
||||||
|
"source_file": {
|
||||||
|
"type": "REPEAT",
|
||||||
|
"content": {
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "_item"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"_item": {
|
||||||
|
"type": "CHOICE",
|
||||||
|
"members": [
|
||||||
|
{
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "table_row"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "header_row"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "separator_row"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "_whitespace"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"header_row": {
|
||||||
|
"type": "SEQ",
|
||||||
|
"members": [
|
||||||
|
{
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "|"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "REPEAT1",
|
||||||
|
"content": {
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "header_cell"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "|"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"table_row": {
|
||||||
|
"type": "SEQ",
|
||||||
|
"members": [
|
||||||
|
{
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "|"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "REPEAT1",
|
||||||
|
"content": {
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "data_cell"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "|"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"separator_row": {
|
||||||
|
"type": "SEQ",
|
||||||
|
"members": [
|
||||||
|
{
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "|"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "REPEAT1",
|
||||||
|
"content": {
|
||||||
|
"type": "SEQ",
|
||||||
|
"members": [
|
||||||
|
{
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "[-=]+"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "|"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"header_cell": {
|
||||||
|
"type": "SEQ",
|
||||||
|
"members": [
|
||||||
|
{
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "\\s*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "column_name"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "\\s*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "|"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"data_cell": {
|
||||||
|
"type": "SEQ",
|
||||||
|
"members": [
|
||||||
|
{
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "\\s*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "CHOICE",
|
||||||
|
"members": [
|
||||||
|
{
|
||||||
|
"type": "CHOICE",
|
||||||
|
"members": [
|
||||||
|
{
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "binary_value"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "decimal_value"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "register_reference"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "BLANK"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "\\s*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "|"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"column_name": {
|
||||||
|
"type": "CHOICE",
|
||||||
|
"members": [
|
||||||
|
{
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "register_name"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "pin_name"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "SYMBOL",
|
||||||
|
"name": "generic_name"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"register_name": {
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "RAM\\[\\d+\\]"
|
||||||
|
},
|
||||||
|
"pin_name": {
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "[a-zA-Z][a-zA-Z0-9_]*"
|
||||||
|
},
|
||||||
|
"generic_name": {
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "[a-zA-Z][a-zA-Z0-9_\\[\\]]*"
|
||||||
|
},
|
||||||
|
"binary_value": {
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "[01]+"
|
||||||
|
},
|
||||||
|
"decimal_value": {
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "\\d+"
|
||||||
|
},
|
||||||
|
"register_reference": {
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "[A-Z][a-zA-Z0-9_\\[\\]]*"
|
||||||
|
},
|
||||||
|
"_whitespace": {
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "\\s+"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"extras": [
|
||||||
|
{
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": "[ \\t]"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"conflicts": [],
|
||||||
|
"precedences": [],
|
||||||
|
"externals": [],
|
||||||
|
"inline": [],
|
||||||
|
"supertypes": [],
|
||||||
|
"reserved": {}
|
||||||
|
}
|
||||||
150
src/node-types.json
Normal file
150
src/node-types.json
Normal file
@@ -0,0 +1,150 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"type": "column_name",
|
||||||
|
"named": true,
|
||||||
|
"fields": {},
|
||||||
|
"children": {
|
||||||
|
"multiple": false,
|
||||||
|
"required": true,
|
||||||
|
"types": [
|
||||||
|
{
|
||||||
|
"type": "generic_name",
|
||||||
|
"named": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "pin_name",
|
||||||
|
"named": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "register_name",
|
||||||
|
"named": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "data_cell",
|
||||||
|
"named": true,
|
||||||
|
"fields": {},
|
||||||
|
"children": {
|
||||||
|
"multiple": false,
|
||||||
|
"required": false,
|
||||||
|
"types": [
|
||||||
|
{
|
||||||
|
"type": "binary_value",
|
||||||
|
"named": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "decimal_value",
|
||||||
|
"named": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "register_reference",
|
||||||
|
"named": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "header_cell",
|
||||||
|
"named": true,
|
||||||
|
"fields": {},
|
||||||
|
"children": {
|
||||||
|
"multiple": false,
|
||||||
|
"required": true,
|
||||||
|
"types": [
|
||||||
|
{
|
||||||
|
"type": "column_name",
|
||||||
|
"named": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "header_row",
|
||||||
|
"named": true,
|
||||||
|
"fields": {},
|
||||||
|
"children": {
|
||||||
|
"multiple": true,
|
||||||
|
"required": true,
|
||||||
|
"types": [
|
||||||
|
{
|
||||||
|
"type": "header_cell",
|
||||||
|
"named": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "separator_row",
|
||||||
|
"named": true,
|
||||||
|
"fields": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "source_file",
|
||||||
|
"named": true,
|
||||||
|
"root": true,
|
||||||
|
"fields": {},
|
||||||
|
"children": {
|
||||||
|
"multiple": true,
|
||||||
|
"required": false,
|
||||||
|
"types": [
|
||||||
|
{
|
||||||
|
"type": "header_row",
|
||||||
|
"named": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "separator_row",
|
||||||
|
"named": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "table_row",
|
||||||
|
"named": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "table_row",
|
||||||
|
"named": true,
|
||||||
|
"fields": {},
|
||||||
|
"children": {
|
||||||
|
"multiple": true,
|
||||||
|
"required": true,
|
||||||
|
"types": [
|
||||||
|
{
|
||||||
|
"type": "data_cell",
|
||||||
|
"named": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "binary_value",
|
||||||
|
"named": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "decimal_value",
|
||||||
|
"named": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "generic_name",
|
||||||
|
"named": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "pin_name",
|
||||||
|
"named": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "register_name",
|
||||||
|
"named": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "register_reference",
|
||||||
|
"named": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "|",
|
||||||
|
"named": false
|
||||||
|
}
|
||||||
|
]
|
||||||
731
src/parser.c
Normal file
731
src/parser.c
Normal file
@@ -0,0 +1,731 @@
|
|||||||
|
/* Automatically @generated by tree-sitter v0.25.8 */
|
||||||
|
|
||||||
|
#include "tree_sitter/parser.h"
|
||||||
|
|
||||||
|
#if defined(__GNUC__) || defined(__clang__)
|
||||||
|
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define LANGUAGE_VERSION 15
|
||||||
|
#define STATE_COUNT 28
|
||||||
|
#define LARGE_STATE_COUNT 2
|
||||||
|
#define SYMBOL_COUNT 23
|
||||||
|
#define ALIAS_COUNT 0
|
||||||
|
#define TOKEN_COUNT 11
|
||||||
|
#define EXTERNAL_TOKEN_COUNT 0
|
||||||
|
#define FIELD_COUNT 0
|
||||||
|
#define MAX_ALIAS_SEQUENCE_LENGTH 4
|
||||||
|
#define MAX_RESERVED_WORD_SET_SIZE 0
|
||||||
|
#define PRODUCTION_ID_COUNT 1
|
||||||
|
#define SUPERTYPE_COUNT 0
|
||||||
|
|
||||||
|
enum ts_symbol_identifiers {
|
||||||
|
anon_sym_PIPE = 1,
|
||||||
|
aux_sym_separator_row_token1 = 2,
|
||||||
|
aux_sym_header_cell_token1 = 3,
|
||||||
|
sym_register_name = 4,
|
||||||
|
sym_pin_name = 5,
|
||||||
|
sym_generic_name = 6,
|
||||||
|
sym_binary_value = 7,
|
||||||
|
sym_decimal_value = 8,
|
||||||
|
sym_register_reference = 9,
|
||||||
|
sym__whitespace = 10,
|
||||||
|
sym_source_file = 11,
|
||||||
|
sym__item = 12,
|
||||||
|
sym_header_row = 13,
|
||||||
|
sym_table_row = 14,
|
||||||
|
sym_separator_row = 15,
|
||||||
|
sym_header_cell = 16,
|
||||||
|
sym_data_cell = 17,
|
||||||
|
sym_column_name = 18,
|
||||||
|
aux_sym_source_file_repeat1 = 19,
|
||||||
|
aux_sym_header_row_repeat1 = 20,
|
||||||
|
aux_sym_table_row_repeat1 = 21,
|
||||||
|
aux_sym_separator_row_repeat1 = 22,
|
||||||
|
};
|
||||||
|
|
||||||
|
static const char * const ts_symbol_names[] = {
|
||||||
|
[ts_builtin_sym_end] = "end",
|
||||||
|
[anon_sym_PIPE] = "|",
|
||||||
|
[aux_sym_separator_row_token1] = "separator_row_token1",
|
||||||
|
[aux_sym_header_cell_token1] = "header_cell_token1",
|
||||||
|
[sym_register_name] = "register_name",
|
||||||
|
[sym_pin_name] = "pin_name",
|
||||||
|
[sym_generic_name] = "generic_name",
|
||||||
|
[sym_binary_value] = "binary_value",
|
||||||
|
[sym_decimal_value] = "decimal_value",
|
||||||
|
[sym_register_reference] = "register_reference",
|
||||||
|
[sym__whitespace] = "_whitespace",
|
||||||
|
[sym_source_file] = "source_file",
|
||||||
|
[sym__item] = "_item",
|
||||||
|
[sym_header_row] = "header_row",
|
||||||
|
[sym_table_row] = "table_row",
|
||||||
|
[sym_separator_row] = "separator_row",
|
||||||
|
[sym_header_cell] = "header_cell",
|
||||||
|
[sym_data_cell] = "data_cell",
|
||||||
|
[sym_column_name] = "column_name",
|
||||||
|
[aux_sym_source_file_repeat1] = "source_file_repeat1",
|
||||||
|
[aux_sym_header_row_repeat1] = "header_row_repeat1",
|
||||||
|
[aux_sym_table_row_repeat1] = "table_row_repeat1",
|
||||||
|
[aux_sym_separator_row_repeat1] = "separator_row_repeat1",
|
||||||
|
};
|
||||||
|
|
||||||
|
static const TSSymbol ts_symbol_map[] = {
|
||||||
|
[ts_builtin_sym_end] = ts_builtin_sym_end,
|
||||||
|
[anon_sym_PIPE] = anon_sym_PIPE,
|
||||||
|
[aux_sym_separator_row_token1] = aux_sym_separator_row_token1,
|
||||||
|
[aux_sym_header_cell_token1] = aux_sym_header_cell_token1,
|
||||||
|
[sym_register_name] = sym_register_name,
|
||||||
|
[sym_pin_name] = sym_pin_name,
|
||||||
|
[sym_generic_name] = sym_generic_name,
|
||||||
|
[sym_binary_value] = sym_binary_value,
|
||||||
|
[sym_decimal_value] = sym_decimal_value,
|
||||||
|
[sym_register_reference] = sym_register_reference,
|
||||||
|
[sym__whitespace] = sym__whitespace,
|
||||||
|
[sym_source_file] = sym_source_file,
|
||||||
|
[sym__item] = sym__item,
|
||||||
|
[sym_header_row] = sym_header_row,
|
||||||
|
[sym_table_row] = sym_table_row,
|
||||||
|
[sym_separator_row] = sym_separator_row,
|
||||||
|
[sym_header_cell] = sym_header_cell,
|
||||||
|
[sym_data_cell] = sym_data_cell,
|
||||||
|
[sym_column_name] = sym_column_name,
|
||||||
|
[aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1,
|
||||||
|
[aux_sym_header_row_repeat1] = aux_sym_header_row_repeat1,
|
||||||
|
[aux_sym_table_row_repeat1] = aux_sym_table_row_repeat1,
|
||||||
|
[aux_sym_separator_row_repeat1] = aux_sym_separator_row_repeat1,
|
||||||
|
};
|
||||||
|
|
||||||
|
static const TSSymbolMetadata ts_symbol_metadata[] = {
|
||||||
|
[ts_builtin_sym_end] = {
|
||||||
|
.visible = false,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[anon_sym_PIPE] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = false,
|
||||||
|
},
|
||||||
|
[aux_sym_separator_row_token1] = {
|
||||||
|
.visible = false,
|
||||||
|
.named = false,
|
||||||
|
},
|
||||||
|
[aux_sym_header_cell_token1] = {
|
||||||
|
.visible = false,
|
||||||
|
.named = false,
|
||||||
|
},
|
||||||
|
[sym_register_name] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym_pin_name] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym_generic_name] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym_binary_value] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym_decimal_value] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym_register_reference] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym__whitespace] = {
|
||||||
|
.visible = false,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym_source_file] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym__item] = {
|
||||||
|
.visible = false,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym_header_row] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym_table_row] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym_separator_row] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym_header_cell] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym_data_cell] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[sym_column_name] = {
|
||||||
|
.visible = true,
|
||||||
|
.named = true,
|
||||||
|
},
|
||||||
|
[aux_sym_source_file_repeat1] = {
|
||||||
|
.visible = false,
|
||||||
|
.named = false,
|
||||||
|
},
|
||||||
|
[aux_sym_header_row_repeat1] = {
|
||||||
|
.visible = false,
|
||||||
|
.named = false,
|
||||||
|
},
|
||||||
|
[aux_sym_table_row_repeat1] = {
|
||||||
|
.visible = false,
|
||||||
|
.named = false,
|
||||||
|
},
|
||||||
|
[aux_sym_separator_row_repeat1] = {
|
||||||
|
.visible = false,
|
||||||
|
.named = false,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
|
||||||
|
[0] = {0},
|
||||||
|
};
|
||||||
|
|
||||||
|
static const uint16_t ts_non_terminal_alias_map[] = {
|
||||||
|
0,
|
||||||
|
};
|
||||||
|
|
||||||
|
static const TSStateId ts_primary_state_ids[STATE_COUNT] = {
|
||||||
|
[0] = 0,
|
||||||
|
[1] = 1,
|
||||||
|
[2] = 2,
|
||||||
|
[3] = 3,
|
||||||
|
[4] = 4,
|
||||||
|
[5] = 5,
|
||||||
|
[6] = 6,
|
||||||
|
[7] = 7,
|
||||||
|
[8] = 8,
|
||||||
|
[9] = 9,
|
||||||
|
[10] = 10,
|
||||||
|
[11] = 11,
|
||||||
|
[12] = 12,
|
||||||
|
[13] = 13,
|
||||||
|
[14] = 14,
|
||||||
|
[15] = 15,
|
||||||
|
[16] = 16,
|
||||||
|
[17] = 17,
|
||||||
|
[18] = 18,
|
||||||
|
[19] = 19,
|
||||||
|
[20] = 20,
|
||||||
|
[21] = 21,
|
||||||
|
[22] = 22,
|
||||||
|
[23] = 23,
|
||||||
|
[24] = 24,
|
||||||
|
[25] = 25,
|
||||||
|
[26] = 26,
|
||||||
|
[27] = 27,
|
||||||
|
};
|
||||||
|
|
||||||
|
static bool ts_lex(TSLexer *lexer, TSStateId state) {
|
||||||
|
START_LEXER();
|
||||||
|
eof = lexer->eof(lexer);
|
||||||
|
switch (state) {
|
||||||
|
case 0:
|
||||||
|
ACCEPT_TOKEN(aux_sym_header_cell_token1);
|
||||||
|
if (eof) ADVANCE(3);
|
||||||
|
if (lookahead == '\t' ||
|
||||||
|
lookahead == ' ') ADVANCE(6);
|
||||||
|
if (('\n' <= lookahead && lookahead <= '\r')) ADVANCE(7);
|
||||||
|
END_STATE();
|
||||||
|
case 1:
|
||||||
|
if (lookahead == 'R') ADVANCE(9);
|
||||||
|
if (lookahead == '|') ADVANCE(4);
|
||||||
|
if (lookahead == '\t' ||
|
||||||
|
lookahead == ' ') SKIP(1);
|
||||||
|
if (('A' <= lookahead && lookahead <= 'Z') ||
|
||||||
|
('a' <= lookahead && lookahead <= 'z')) ADVANCE(12);
|
||||||
|
END_STATE();
|
||||||
|
case 2:
|
||||||
|
if (eof) ADVANCE(3);
|
||||||
|
if (lookahead == '|') ADVANCE(4);
|
||||||
|
if (lookahead == '\t' ||
|
||||||
|
lookahead == ' ') ADVANCE(16);
|
||||||
|
if (lookahead == '-' ||
|
||||||
|
lookahead == '=') ADVANCE(5);
|
||||||
|
if (('\n' <= lookahead && lookahead <= '\r')) ADVANCE(17);
|
||||||
|
END_STATE();
|
||||||
|
case 3:
|
||||||
|
ACCEPT_TOKEN(ts_builtin_sym_end);
|
||||||
|
END_STATE();
|
||||||
|
case 4:
|
||||||
|
ACCEPT_TOKEN(anon_sym_PIPE);
|
||||||
|
END_STATE();
|
||||||
|
case 5:
|
||||||
|
ACCEPT_TOKEN(aux_sym_separator_row_token1);
|
||||||
|
if (lookahead == '-' ||
|
||||||
|
lookahead == '=') ADVANCE(5);
|
||||||
|
END_STATE();
|
||||||
|
case 6:
|
||||||
|
ACCEPT_TOKEN(aux_sym_header_cell_token1);
|
||||||
|
if (lookahead == '\t' ||
|
||||||
|
lookahead == ' ') ADVANCE(6);
|
||||||
|
if (('\n' <= lookahead && lookahead <= '\r')) ADVANCE(7);
|
||||||
|
END_STATE();
|
||||||
|
case 7:
|
||||||
|
ACCEPT_TOKEN(aux_sym_header_cell_token1);
|
||||||
|
if (('\t' <= lookahead && lookahead <= '\r') ||
|
||||||
|
lookahead == ' ') ADVANCE(7);
|
||||||
|
END_STATE();
|
||||||
|
case 8:
|
||||||
|
ACCEPT_TOKEN(sym_register_name);
|
||||||
|
if (('0' <= lookahead && lookahead <= '9') ||
|
||||||
|
('A' <= lookahead && lookahead <= '[') ||
|
||||||
|
lookahead == ']' ||
|
||||||
|
lookahead == '_' ||
|
||||||
|
('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
|
||||||
|
END_STATE();
|
||||||
|
case 9:
|
||||||
|
ACCEPT_TOKEN(sym_pin_name);
|
||||||
|
if (lookahead == 'A') ADVANCE(10);
|
||||||
|
if (lookahead == '[' ||
|
||||||
|
lookahead == ']') ADVANCE(15);
|
||||||
|
if (('0' <= lookahead && lookahead <= '9') ||
|
||||||
|
('B' <= lookahead && lookahead <= 'Z') ||
|
||||||
|
lookahead == '_' ||
|
||||||
|
('a' <= lookahead && lookahead <= 'z')) ADVANCE(12);
|
||||||
|
END_STATE();
|
||||||
|
case 10:
|
||||||
|
ACCEPT_TOKEN(sym_pin_name);
|
||||||
|
if (lookahead == 'M') ADVANCE(11);
|
||||||
|
if (lookahead == '[' ||
|
||||||
|
lookahead == ']') ADVANCE(15);
|
||||||
|
if (('0' <= lookahead && lookahead <= '9') ||
|
||||||
|
('A' <= lookahead && lookahead <= 'Z') ||
|
||||||
|
lookahead == '_' ||
|
||||||
|
('a' <= lookahead && lookahead <= 'z')) ADVANCE(12);
|
||||||
|
END_STATE();
|
||||||
|
case 11:
|
||||||
|
ACCEPT_TOKEN(sym_pin_name);
|
||||||
|
if (lookahead == '[') ADVANCE(14);
|
||||||
|
if (lookahead == ']') ADVANCE(15);
|
||||||
|
if (('0' <= lookahead && lookahead <= '9') ||
|
||||||
|
('A' <= lookahead && lookahead <= 'Z') ||
|
||||||
|
lookahead == '_' ||
|
||||||
|
('a' <= lookahead && lookahead <= 'z')) ADVANCE(12);
|
||||||
|
END_STATE();
|
||||||
|
case 12:
|
||||||
|
ACCEPT_TOKEN(sym_pin_name);
|
||||||
|
if (lookahead == '[' ||
|
||||||
|
lookahead == ']') ADVANCE(15);
|
||||||
|
if (('0' <= lookahead && lookahead <= '9') ||
|
||||||
|
('A' <= lookahead && lookahead <= 'Z') ||
|
||||||
|
lookahead == '_' ||
|
||||||
|
('a' <= lookahead && lookahead <= 'z')) ADVANCE(12);
|
||||||
|
END_STATE();
|
||||||
|
case 13:
|
||||||
|
ACCEPT_TOKEN(sym_generic_name);
|
||||||
|
if (lookahead == ']') ADVANCE(8);
|
||||||
|
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(13);
|
||||||
|
if (('A' <= lookahead && lookahead <= '[') ||
|
||||||
|
lookahead == '_' ||
|
||||||
|
('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
|
||||||
|
END_STATE();
|
||||||
|
case 14:
|
||||||
|
ACCEPT_TOKEN(sym_generic_name);
|
||||||
|
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(13);
|
||||||
|
if (('A' <= lookahead && lookahead <= '[') ||
|
||||||
|
lookahead == ']' ||
|
||||||
|
lookahead == '_' ||
|
||||||
|
('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
|
||||||
|
END_STATE();
|
||||||
|
case 15:
|
||||||
|
ACCEPT_TOKEN(sym_generic_name);
|
||||||
|
if (('0' <= lookahead && lookahead <= '9') ||
|
||||||
|
('A' <= lookahead && lookahead <= '[') ||
|
||||||
|
lookahead == ']' ||
|
||||||
|
lookahead == '_' ||
|
||||||
|
('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
|
||||||
|
END_STATE();
|
||||||
|
case 16:
|
||||||
|
ACCEPT_TOKEN(sym__whitespace);
|
||||||
|
if (lookahead == '\t' ||
|
||||||
|
lookahead == ' ') ADVANCE(16);
|
||||||
|
if (('\n' <= lookahead && lookahead <= '\r')) ADVANCE(17);
|
||||||
|
END_STATE();
|
||||||
|
case 17:
|
||||||
|
ACCEPT_TOKEN(sym__whitespace);
|
||||||
|
if (('\t' <= lookahead && lookahead <= '\r') ||
|
||||||
|
lookahead == ' ') ADVANCE(17);
|
||||||
|
END_STATE();
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
|
||||||
|
[0] = {.lex_state = 0},
|
||||||
|
[1] = {.lex_state = 2},
|
||||||
|
[2] = {.lex_state = 2},
|
||||||
|
[3] = {.lex_state = 0},
|
||||||
|
[4] = {.lex_state = 2},
|
||||||
|
[5] = {.lex_state = 0},
|
||||||
|
[6] = {.lex_state = 2},
|
||||||
|
[7] = {.lex_state = 2},
|
||||||
|
[8] = {.lex_state = 2},
|
||||||
|
[9] = {.lex_state = 0},
|
||||||
|
[10] = {.lex_state = 0},
|
||||||
|
[11] = {.lex_state = 0},
|
||||||
|
[12] = {.lex_state = 1},
|
||||||
|
[13] = {.lex_state = 6},
|
||||||
|
[14] = {.lex_state = 0},
|
||||||
|
[15] = {.lex_state = 2},
|
||||||
|
[16] = {.lex_state = 2},
|
||||||
|
[17] = {.lex_state = 0},
|
||||||
|
[18] = {.lex_state = 0},
|
||||||
|
[19] = {.lex_state = 0},
|
||||||
|
[20] = {.lex_state = 0},
|
||||||
|
[21] = {.lex_state = 1},
|
||||||
|
[22] = {.lex_state = 1},
|
||||||
|
[23] = {.lex_state = 0},
|
||||||
|
[24] = {.lex_state = 0},
|
||||||
|
[25] = {.lex_state = 1},
|
||||||
|
[26] = {.lex_state = 1},
|
||||||
|
[27] = {.lex_state = 0},
|
||||||
|
};
|
||||||
|
|
||||||
|
static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
||||||
|
[STATE(0)] = {
|
||||||
|
[ts_builtin_sym_end] = ACTIONS(1),
|
||||||
|
[anon_sym_PIPE] = ACTIONS(1),
|
||||||
|
[aux_sym_separator_row_token1] = ACTIONS(1),
|
||||||
|
[aux_sym_header_cell_token1] = ACTIONS(1),
|
||||||
|
[sym_register_name] = ACTIONS(1),
|
||||||
|
[sym_pin_name] = ACTIONS(1),
|
||||||
|
[sym_generic_name] = ACTIONS(1),
|
||||||
|
[sym_binary_value] = ACTIONS(1),
|
||||||
|
[sym_decimal_value] = ACTIONS(1),
|
||||||
|
[sym_register_reference] = ACTIONS(1),
|
||||||
|
},
|
||||||
|
[STATE(1)] = {
|
||||||
|
[sym_source_file] = STATE(20),
|
||||||
|
[sym__item] = STATE(2),
|
||||||
|
[sym_header_row] = STATE(2),
|
||||||
|
[sym_table_row] = STATE(2),
|
||||||
|
[sym_separator_row] = STATE(2),
|
||||||
|
[aux_sym_source_file_repeat1] = STATE(2),
|
||||||
|
[ts_builtin_sym_end] = ACTIONS(3),
|
||||||
|
[anon_sym_PIPE] = ACTIONS(5),
|
||||||
|
[sym__whitespace] = ACTIONS(7),
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
static const uint16_t ts_small_parse_table[] = {
|
||||||
|
[0] = 4,
|
||||||
|
ACTIONS(5), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
ACTIONS(9), 1,
|
||||||
|
ts_builtin_sym_end,
|
||||||
|
ACTIONS(11), 1,
|
||||||
|
sym__whitespace,
|
||||||
|
STATE(4), 5,
|
||||||
|
sym__item,
|
||||||
|
sym_header_row,
|
||||||
|
sym_table_row,
|
||||||
|
sym_separator_row,
|
||||||
|
aux_sym_source_file_repeat1,
|
||||||
|
[17] = 4,
|
||||||
|
ACTIONS(13), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
STATE(24), 1,
|
||||||
|
sym_column_name,
|
||||||
|
ACTIONS(15), 3,
|
||||||
|
sym_register_name,
|
||||||
|
sym_pin_name,
|
||||||
|
sym_generic_name,
|
||||||
|
ACTIONS(17), 3,
|
||||||
|
sym_binary_value,
|
||||||
|
sym_decimal_value,
|
||||||
|
sym_register_reference,
|
||||||
|
[34] = 4,
|
||||||
|
ACTIONS(19), 1,
|
||||||
|
ts_builtin_sym_end,
|
||||||
|
ACTIONS(21), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
ACTIONS(24), 1,
|
||||||
|
sym__whitespace,
|
||||||
|
STATE(4), 5,
|
||||||
|
sym__item,
|
||||||
|
sym_header_row,
|
||||||
|
sym_table_row,
|
||||||
|
sym_separator_row,
|
||||||
|
aux_sym_source_file_repeat1,
|
||||||
|
[51] = 5,
|
||||||
|
ACTIONS(27), 1,
|
||||||
|
aux_sym_separator_row_token1,
|
||||||
|
ACTIONS(29), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
STATE(6), 1,
|
||||||
|
aux_sym_separator_row_repeat1,
|
||||||
|
STATE(9), 2,
|
||||||
|
sym_header_cell,
|
||||||
|
aux_sym_header_row_repeat1,
|
||||||
|
STATE(10), 2,
|
||||||
|
sym_data_cell,
|
||||||
|
aux_sym_table_row_repeat1,
|
||||||
|
[69] = 4,
|
||||||
|
ACTIONS(27), 1,
|
||||||
|
aux_sym_separator_row_token1,
|
||||||
|
ACTIONS(33), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
STATE(7), 1,
|
||||||
|
aux_sym_separator_row_repeat1,
|
||||||
|
ACTIONS(31), 2,
|
||||||
|
ts_builtin_sym_end,
|
||||||
|
sym__whitespace,
|
||||||
|
[83] = 4,
|
||||||
|
ACTIONS(37), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
ACTIONS(39), 1,
|
||||||
|
aux_sym_separator_row_token1,
|
||||||
|
STATE(7), 1,
|
||||||
|
aux_sym_separator_row_repeat1,
|
||||||
|
ACTIONS(35), 2,
|
||||||
|
ts_builtin_sym_end,
|
||||||
|
sym__whitespace,
|
||||||
|
[97] = 2,
|
||||||
|
ACTIONS(35), 2,
|
||||||
|
ts_builtin_sym_end,
|
||||||
|
sym__whitespace,
|
||||||
|
ACTIONS(37), 2,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
aux_sym_separator_row_token1,
|
||||||
|
[106] = 3,
|
||||||
|
ACTIONS(42), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
ACTIONS(44), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
STATE(11), 2,
|
||||||
|
sym_header_cell,
|
||||||
|
aux_sym_header_row_repeat1,
|
||||||
|
[117] = 3,
|
||||||
|
ACTIONS(46), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
ACTIONS(48), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
STATE(14), 2,
|
||||||
|
sym_data_cell,
|
||||||
|
aux_sym_table_row_repeat1,
|
||||||
|
[128] = 3,
|
||||||
|
ACTIONS(50), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
ACTIONS(52), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
STATE(11), 2,
|
||||||
|
sym_header_cell,
|
||||||
|
aux_sym_header_row_repeat1,
|
||||||
|
[139] = 2,
|
||||||
|
STATE(24), 1,
|
||||||
|
sym_column_name,
|
||||||
|
ACTIONS(15), 3,
|
||||||
|
sym_register_name,
|
||||||
|
sym_pin_name,
|
||||||
|
sym_generic_name,
|
||||||
|
[148] = 2,
|
||||||
|
ACTIONS(13), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
ACTIONS(17), 3,
|
||||||
|
sym_binary_value,
|
||||||
|
sym_decimal_value,
|
||||||
|
sym_register_reference,
|
||||||
|
[157] = 3,
|
||||||
|
ACTIONS(55), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
ACTIONS(57), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
STATE(14), 2,
|
||||||
|
sym_data_cell,
|
||||||
|
aux_sym_table_row_repeat1,
|
||||||
|
[168] = 2,
|
||||||
|
ACTIONS(62), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
ACTIONS(60), 2,
|
||||||
|
ts_builtin_sym_end,
|
||||||
|
sym__whitespace,
|
||||||
|
[176] = 2,
|
||||||
|
ACTIONS(66), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
ACTIONS(64), 2,
|
||||||
|
ts_builtin_sym_end,
|
||||||
|
sym__whitespace,
|
||||||
|
[184] = 2,
|
||||||
|
ACTIONS(68), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
ACTIONS(70), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
[191] = 2,
|
||||||
|
ACTIONS(72), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
ACTIONS(74), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
[198] = 2,
|
||||||
|
ACTIONS(76), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
ACTIONS(78), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
[205] = 1,
|
||||||
|
ACTIONS(80), 1,
|
||||||
|
ts_builtin_sym_end,
|
||||||
|
[209] = 1,
|
||||||
|
ACTIONS(82), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
[213] = 1,
|
||||||
|
ACTIONS(84), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
[217] = 1,
|
||||||
|
ACTIONS(86), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
[221] = 1,
|
||||||
|
ACTIONS(88), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
[225] = 1,
|
||||||
|
ACTIONS(90), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
[229] = 1,
|
||||||
|
ACTIONS(92), 1,
|
||||||
|
anon_sym_PIPE,
|
||||||
|
[233] = 1,
|
||||||
|
ACTIONS(94), 1,
|
||||||
|
aux_sym_header_cell_token1,
|
||||||
|
};
|
||||||
|
|
||||||
|
static const uint32_t ts_small_parse_table_map[] = {
|
||||||
|
[SMALL_STATE(2)] = 0,
|
||||||
|
[SMALL_STATE(3)] = 17,
|
||||||
|
[SMALL_STATE(4)] = 34,
|
||||||
|
[SMALL_STATE(5)] = 51,
|
||||||
|
[SMALL_STATE(6)] = 69,
|
||||||
|
[SMALL_STATE(7)] = 83,
|
||||||
|
[SMALL_STATE(8)] = 97,
|
||||||
|
[SMALL_STATE(9)] = 106,
|
||||||
|
[SMALL_STATE(10)] = 117,
|
||||||
|
[SMALL_STATE(11)] = 128,
|
||||||
|
[SMALL_STATE(12)] = 139,
|
||||||
|
[SMALL_STATE(13)] = 148,
|
||||||
|
[SMALL_STATE(14)] = 157,
|
||||||
|
[SMALL_STATE(15)] = 168,
|
||||||
|
[SMALL_STATE(16)] = 176,
|
||||||
|
[SMALL_STATE(17)] = 184,
|
||||||
|
[SMALL_STATE(18)] = 191,
|
||||||
|
[SMALL_STATE(19)] = 198,
|
||||||
|
[SMALL_STATE(20)] = 205,
|
||||||
|
[SMALL_STATE(21)] = 209,
|
||||||
|
[SMALL_STATE(22)] = 213,
|
||||||
|
[SMALL_STATE(23)] = 217,
|
||||||
|
[SMALL_STATE(24)] = 221,
|
||||||
|
[SMALL_STATE(25)] = 225,
|
||||||
|
[SMALL_STATE(26)] = 229,
|
||||||
|
[SMALL_STATE(27)] = 233,
|
||||||
|
};
|
||||||
|
|
||||||
|
static const TSParseActionEntry ts_parse_actions[] = {
|
||||||
|
[0] = {.entry = {.count = 0, .reusable = false}},
|
||||||
|
[1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
|
||||||
|
[3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0, 0, 0),
|
||||||
|
[5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(5),
|
||||||
|
[7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
|
||||||
|
[9] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0),
|
||||||
|
[11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
|
||||||
|
[13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
|
||||||
|
[15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23),
|
||||||
|
[17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27),
|
||||||
|
[19] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0),
|
||||||
|
[21] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(5),
|
||||||
|
[24] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(4),
|
||||||
|
[27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21),
|
||||||
|
[29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
|
||||||
|
[31] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_separator_row, 2, 0, 0),
|
||||||
|
[33] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_separator_row, 2, 0, 0),
|
||||||
|
[35] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_separator_row_repeat1, 2, 0, 0),
|
||||||
|
[37] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_separator_row_repeat1, 2, 0, 0),
|
||||||
|
[39] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_separator_row_repeat1, 2, 0, 0), SHIFT_REPEAT(21),
|
||||||
|
[42] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16),
|
||||||
|
[44] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
|
||||||
|
[46] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15),
|
||||||
|
[48] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
|
||||||
|
[50] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_header_row_repeat1, 2, 0, 0),
|
||||||
|
[52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_header_row_repeat1, 2, 0, 0), SHIFT_REPEAT(12),
|
||||||
|
[55] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_table_row_repeat1, 2, 0, 0),
|
||||||
|
[57] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_row_repeat1, 2, 0, 0), SHIFT_REPEAT(13),
|
||||||
|
[60] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_row, 3, 0, 0),
|
||||||
|
[62] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_row, 3, 0, 0),
|
||||||
|
[64] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_header_row, 3, 0, 0),
|
||||||
|
[66] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_header_row, 3, 0, 0),
|
||||||
|
[68] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_data_cell, 3, 0, 0),
|
||||||
|
[70] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_data_cell, 3, 0, 0),
|
||||||
|
[72] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_data_cell, 4, 0, 0),
|
||||||
|
[74] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_data_cell, 4, 0, 0),
|
||||||
|
[76] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_header_cell, 4, 0, 0),
|
||||||
|
[78] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_header_cell, 4, 0, 0),
|
||||||
|
[80] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
|
||||||
|
[82] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
|
||||||
|
[84] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
|
||||||
|
[86] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_name, 1, 0, 0),
|
||||||
|
[88] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
|
||||||
|
[90] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
|
||||||
|
[92] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
|
||||||
|
[94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
|
||||||
|
};
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
#ifdef TREE_SITTER_HIDE_SYMBOLS
|
||||||
|
#define TS_PUBLIC
|
||||||
|
#elif defined(_WIN32)
|
||||||
|
#define TS_PUBLIC __declspec(dllexport)
|
||||||
|
#else
|
||||||
|
#define TS_PUBLIC __attribute__((visibility("default")))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
TS_PUBLIC const TSLanguage *tree_sitter_compare_output(void) {
|
||||||
|
static const TSLanguage language = {
|
||||||
|
.abi_version = LANGUAGE_VERSION,
|
||||||
|
.symbol_count = SYMBOL_COUNT,
|
||||||
|
.alias_count = ALIAS_COUNT,
|
||||||
|
.token_count = TOKEN_COUNT,
|
||||||
|
.external_token_count = EXTERNAL_TOKEN_COUNT,
|
||||||
|
.state_count = STATE_COUNT,
|
||||||
|
.large_state_count = LARGE_STATE_COUNT,
|
||||||
|
.production_id_count = PRODUCTION_ID_COUNT,
|
||||||
|
.supertype_count = SUPERTYPE_COUNT,
|
||||||
|
.field_count = FIELD_COUNT,
|
||||||
|
.max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
|
||||||
|
.parse_table = &ts_parse_table[0][0],
|
||||||
|
.small_parse_table = ts_small_parse_table,
|
||||||
|
.small_parse_table_map = ts_small_parse_table_map,
|
||||||
|
.parse_actions = ts_parse_actions,
|
||||||
|
.symbol_names = ts_symbol_names,
|
||||||
|
.symbol_metadata = ts_symbol_metadata,
|
||||||
|
.public_symbol_map = ts_symbol_map,
|
||||||
|
.alias_map = ts_non_terminal_alias_map,
|
||||||
|
.alias_sequences = &ts_alias_sequences[0][0],
|
||||||
|
.lex_modes = (const void*)ts_lex_modes,
|
||||||
|
.lex_fn = ts_lex,
|
||||||
|
.primary_state_ids = ts_primary_state_ids,
|
||||||
|
.name = "compare_output",
|
||||||
|
.max_reserved_word_set_size = 0,
|
||||||
|
.metadata = {
|
||||||
|
.major_version = 1,
|
||||||
|
.minor_version = 0,
|
||||||
|
.patch_version = 0,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
return &language;
|
||||||
|
}
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
54
src/tree_sitter/alloc.h
Normal file
54
src/tree_sitter/alloc.h
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
#ifndef TREE_SITTER_ALLOC_H_
|
||||||
|
#define TREE_SITTER_ALLOC_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
// Allow clients to override allocation functions
|
||||||
|
#ifdef TREE_SITTER_REUSE_ALLOCATOR
|
||||||
|
|
||||||
|
extern void *(*ts_current_malloc)(size_t size);
|
||||||
|
extern void *(*ts_current_calloc)(size_t count, size_t size);
|
||||||
|
extern void *(*ts_current_realloc)(void *ptr, size_t size);
|
||||||
|
extern void (*ts_current_free)(void *ptr);
|
||||||
|
|
||||||
|
#ifndef ts_malloc
|
||||||
|
#define ts_malloc ts_current_malloc
|
||||||
|
#endif
|
||||||
|
#ifndef ts_calloc
|
||||||
|
#define ts_calloc ts_current_calloc
|
||||||
|
#endif
|
||||||
|
#ifndef ts_realloc
|
||||||
|
#define ts_realloc ts_current_realloc
|
||||||
|
#endif
|
||||||
|
#ifndef ts_free
|
||||||
|
#define ts_free ts_current_free
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#ifndef ts_malloc
|
||||||
|
#define ts_malloc malloc
|
||||||
|
#endif
|
||||||
|
#ifndef ts_calloc
|
||||||
|
#define ts_calloc calloc
|
||||||
|
#endif
|
||||||
|
#ifndef ts_realloc
|
||||||
|
#define ts_realloc realloc
|
||||||
|
#endif
|
||||||
|
#ifndef ts_free
|
||||||
|
#define ts_free free
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // TREE_SITTER_ALLOC_H_
|
||||||
291
src/tree_sitter/array.h
Normal file
291
src/tree_sitter/array.h
Normal file
@@ -0,0 +1,291 @@
|
|||||||
|
#ifndef TREE_SITTER_ARRAY_H_
|
||||||
|
#define TREE_SITTER_ARRAY_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "./alloc.h"
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable : 4101)
|
||||||
|
#elif defined(__GNUC__) || defined(__clang__)
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define Array(T) \
|
||||||
|
struct { \
|
||||||
|
T *contents; \
|
||||||
|
uint32_t size; \
|
||||||
|
uint32_t capacity; \
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Initialize an array.
|
||||||
|
#define array_init(self) \
|
||||||
|
((self)->size = 0, (self)->capacity = 0, (self)->contents = NULL)
|
||||||
|
|
||||||
|
/// Create an empty array.
|
||||||
|
#define array_new() \
|
||||||
|
{ NULL, 0, 0 }
|
||||||
|
|
||||||
|
/// Get a pointer to the element at a given `index` in the array.
|
||||||
|
#define array_get(self, _index) \
|
||||||
|
(assert((uint32_t)(_index) < (self)->size), &(self)->contents[_index])
|
||||||
|
|
||||||
|
/// Get a pointer to the first element in the array.
|
||||||
|
#define array_front(self) array_get(self, 0)
|
||||||
|
|
||||||
|
/// Get a pointer to the last element in the array.
|
||||||
|
#define array_back(self) array_get(self, (self)->size - 1)
|
||||||
|
|
||||||
|
/// Clear the array, setting its size to zero. Note that this does not free any
|
||||||
|
/// memory allocated for the array's contents.
|
||||||
|
#define array_clear(self) ((self)->size = 0)
|
||||||
|
|
||||||
|
/// Reserve `new_capacity` elements of space in the array. If `new_capacity` is
|
||||||
|
/// less than the array's current capacity, this function has no effect.
|
||||||
|
#define array_reserve(self, new_capacity) \
|
||||||
|
_array__reserve((Array *)(self), array_elem_size(self), new_capacity)
|
||||||
|
|
||||||
|
/// Free any memory allocated for this array. Note that this does not free any
|
||||||
|
/// memory allocated for the array's contents.
|
||||||
|
#define array_delete(self) _array__delete((Array *)(self))
|
||||||
|
|
||||||
|
/// Push a new `element` onto the end of the array.
|
||||||
|
#define array_push(self, element) \
|
||||||
|
(_array__grow((Array *)(self), 1, array_elem_size(self)), \
|
||||||
|
(self)->contents[(self)->size++] = (element))
|
||||||
|
|
||||||
|
/// Increase the array's size by `count` elements.
|
||||||
|
/// New elements are zero-initialized.
|
||||||
|
#define array_grow_by(self, count) \
|
||||||
|
do { \
|
||||||
|
if ((count) == 0) break; \
|
||||||
|
_array__grow((Array *)(self), count, array_elem_size(self)); \
|
||||||
|
memset((self)->contents + (self)->size, 0, (count) * array_elem_size(self)); \
|
||||||
|
(self)->size += (count); \
|
||||||
|
} while (0)
|
||||||
|
|
||||||
|
/// Append all elements from one array to the end of another.
|
||||||
|
#define array_push_all(self, other) \
|
||||||
|
array_extend((self), (other)->size, (other)->contents)
|
||||||
|
|
||||||
|
/// Append `count` elements to the end of the array, reading their values from the
|
||||||
|
/// `contents` pointer.
|
||||||
|
#define array_extend(self, count, contents) \
|
||||||
|
_array__splice( \
|
||||||
|
(Array *)(self), array_elem_size(self), (self)->size, \
|
||||||
|
0, count, contents \
|
||||||
|
)
|
||||||
|
|
||||||
|
/// Remove `old_count` elements from the array starting at the given `index`. At
|
||||||
|
/// the same index, insert `new_count` new elements, reading their values from the
|
||||||
|
/// `new_contents` pointer.
|
||||||
|
#define array_splice(self, _index, old_count, new_count, new_contents) \
|
||||||
|
_array__splice( \
|
||||||
|
(Array *)(self), array_elem_size(self), _index, \
|
||||||
|
old_count, new_count, new_contents \
|
||||||
|
)
|
||||||
|
|
||||||
|
/// Insert one `element` into the array at the given `index`.
|
||||||
|
#define array_insert(self, _index, element) \
|
||||||
|
_array__splice((Array *)(self), array_elem_size(self), _index, 0, 1, &(element))
|
||||||
|
|
||||||
|
/// Remove one element from the array at the given `index`.
|
||||||
|
#define array_erase(self, _index) \
|
||||||
|
_array__erase((Array *)(self), array_elem_size(self), _index)
|
||||||
|
|
||||||
|
/// Pop the last element off the array, returning the element by value.
|
||||||
|
#define array_pop(self) ((self)->contents[--(self)->size])
|
||||||
|
|
||||||
|
/// Assign the contents of one array to another, reallocating if necessary.
|
||||||
|
#define array_assign(self, other) \
|
||||||
|
_array__assign((Array *)(self), (const Array *)(other), array_elem_size(self))
|
||||||
|
|
||||||
|
/// Swap one array with another
|
||||||
|
#define array_swap(self, other) \
|
||||||
|
_array__swap((Array *)(self), (Array *)(other))
|
||||||
|
|
||||||
|
/// Get the size of the array contents
|
||||||
|
#define array_elem_size(self) (sizeof *(self)->contents)
|
||||||
|
|
||||||
|
/// Search a sorted array for a given `needle` value, using the given `compare`
|
||||||
|
/// callback to determine the order.
|
||||||
|
///
|
||||||
|
/// If an existing element is found to be equal to `needle`, then the `index`
|
||||||
|
/// out-parameter is set to the existing value's index, and the `exists`
|
||||||
|
/// out-parameter is set to true. Otherwise, `index` is set to an index where
|
||||||
|
/// `needle` should be inserted in order to preserve the sorting, and `exists`
|
||||||
|
/// is set to false.
|
||||||
|
#define array_search_sorted_with(self, compare, needle, _index, _exists) \
|
||||||
|
_array__search_sorted(self, 0, compare, , needle, _index, _exists)
|
||||||
|
|
||||||
|
/// Search a sorted array for a given `needle` value, using integer comparisons
|
||||||
|
/// of a given struct field (specified with a leading dot) to determine the order.
|
||||||
|
///
|
||||||
|
/// See also `array_search_sorted_with`.
|
||||||
|
#define array_search_sorted_by(self, field, needle, _index, _exists) \
|
||||||
|
_array__search_sorted(self, 0, _compare_int, field, needle, _index, _exists)
|
||||||
|
|
||||||
|
/// Insert a given `value` into a sorted array, using the given `compare`
|
||||||
|
/// callback to determine the order.
|
||||||
|
#define array_insert_sorted_with(self, compare, value) \
|
||||||
|
do { \
|
||||||
|
unsigned _index, _exists; \
|
||||||
|
array_search_sorted_with(self, compare, &(value), &_index, &_exists); \
|
||||||
|
if (!_exists) array_insert(self, _index, value); \
|
||||||
|
} while (0)
|
||||||
|
|
||||||
|
/// Insert a given `value` into a sorted array, using integer comparisons of
|
||||||
|
/// a given struct field (specified with a leading dot) to determine the order.
|
||||||
|
///
|
||||||
|
/// See also `array_search_sorted_by`.
|
||||||
|
#define array_insert_sorted_by(self, field, value) \
|
||||||
|
do { \
|
||||||
|
unsigned _index, _exists; \
|
||||||
|
array_search_sorted_by(self, field, (value) field, &_index, &_exists); \
|
||||||
|
if (!_exists) array_insert(self, _index, value); \
|
||||||
|
} while (0)
|
||||||
|
|
||||||
|
// Private
|
||||||
|
|
||||||
|
typedef Array(void) Array;
|
||||||
|
|
||||||
|
/// This is not what you're looking for, see `array_delete`.
|
||||||
|
static inline void _array__delete(Array *self) {
|
||||||
|
if (self->contents) {
|
||||||
|
ts_free(self->contents);
|
||||||
|
self->contents = NULL;
|
||||||
|
self->size = 0;
|
||||||
|
self->capacity = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// This is not what you're looking for, see `array_erase`.
|
||||||
|
static inline void _array__erase(Array *self, size_t element_size,
|
||||||
|
uint32_t index) {
|
||||||
|
assert(index < self->size);
|
||||||
|
char *contents = (char *)self->contents;
|
||||||
|
memmove(contents + index * element_size, contents + (index + 1) * element_size,
|
||||||
|
(self->size - index - 1) * element_size);
|
||||||
|
self->size--;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// This is not what you're looking for, see `array_reserve`.
|
||||||
|
static inline void _array__reserve(Array *self, size_t element_size, uint32_t new_capacity) {
|
||||||
|
if (new_capacity > self->capacity) {
|
||||||
|
if (self->contents) {
|
||||||
|
self->contents = ts_realloc(self->contents, new_capacity * element_size);
|
||||||
|
} else {
|
||||||
|
self->contents = ts_malloc(new_capacity * element_size);
|
||||||
|
}
|
||||||
|
self->capacity = new_capacity;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// This is not what you're looking for, see `array_assign`.
|
||||||
|
static inline void _array__assign(Array *self, const Array *other, size_t element_size) {
|
||||||
|
_array__reserve(self, element_size, other->size);
|
||||||
|
self->size = other->size;
|
||||||
|
memcpy(self->contents, other->contents, self->size * element_size);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// This is not what you're looking for, see `array_swap`.
|
||||||
|
static inline void _array__swap(Array *self, Array *other) {
|
||||||
|
Array swap = *other;
|
||||||
|
*other = *self;
|
||||||
|
*self = swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// This is not what you're looking for, see `array_push` or `array_grow_by`.
|
||||||
|
static inline void _array__grow(Array *self, uint32_t count, size_t element_size) {
|
||||||
|
uint32_t new_size = self->size + count;
|
||||||
|
if (new_size > self->capacity) {
|
||||||
|
uint32_t new_capacity = self->capacity * 2;
|
||||||
|
if (new_capacity < 8) new_capacity = 8;
|
||||||
|
if (new_capacity < new_size) new_capacity = new_size;
|
||||||
|
_array__reserve(self, element_size, new_capacity);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// This is not what you're looking for, see `array_splice`.
|
||||||
|
static inline void _array__splice(Array *self, size_t element_size,
|
||||||
|
uint32_t index, uint32_t old_count,
|
||||||
|
uint32_t new_count, const void *elements) {
|
||||||
|
uint32_t new_size = self->size + new_count - old_count;
|
||||||
|
uint32_t old_end = index + old_count;
|
||||||
|
uint32_t new_end = index + new_count;
|
||||||
|
assert(old_end <= self->size);
|
||||||
|
|
||||||
|
_array__reserve(self, element_size, new_size);
|
||||||
|
|
||||||
|
char *contents = (char *)self->contents;
|
||||||
|
if (self->size > old_end) {
|
||||||
|
memmove(
|
||||||
|
contents + new_end * element_size,
|
||||||
|
contents + old_end * element_size,
|
||||||
|
(self->size - old_end) * element_size
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (new_count > 0) {
|
||||||
|
if (elements) {
|
||||||
|
memcpy(
|
||||||
|
(contents + index * element_size),
|
||||||
|
elements,
|
||||||
|
new_count * element_size
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
memset(
|
||||||
|
(contents + index * element_size),
|
||||||
|
0,
|
||||||
|
new_count * element_size
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
self->size += new_count - old_count;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// A binary search routine, based on Rust's `std::slice::binary_search_by`.
|
||||||
|
/// This is not what you're looking for, see `array_search_sorted_with` or `array_search_sorted_by`.
|
||||||
|
#define _array__search_sorted(self, start, compare, suffix, needle, _index, _exists) \
|
||||||
|
do { \
|
||||||
|
*(_index) = start; \
|
||||||
|
*(_exists) = false; \
|
||||||
|
uint32_t size = (self)->size - *(_index); \
|
||||||
|
if (size == 0) break; \
|
||||||
|
int comparison; \
|
||||||
|
while (size > 1) { \
|
||||||
|
uint32_t half_size = size / 2; \
|
||||||
|
uint32_t mid_index = *(_index) + half_size; \
|
||||||
|
comparison = compare(&((self)->contents[mid_index] suffix), (needle)); \
|
||||||
|
if (comparison <= 0) *(_index) = mid_index; \
|
||||||
|
size -= half_size; \
|
||||||
|
} \
|
||||||
|
comparison = compare(&((self)->contents[*(_index)] suffix), (needle)); \
|
||||||
|
if (comparison == 0) *(_exists) = true; \
|
||||||
|
else if (comparison < 0) *(_index) += 1; \
|
||||||
|
} while (0)
|
||||||
|
|
||||||
|
/// Helper macro for the `_sorted_by` routines below. This takes the left (existing)
|
||||||
|
/// parameter by reference in order to work with the generic sorting function above.
|
||||||
|
#define _compare_int(a, b) ((int)*(a) - (int)(b))
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(pop)
|
||||||
|
#elif defined(__GNUC__) || defined(__clang__)
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // TREE_SITTER_ARRAY_H_
|
||||||
286
src/tree_sitter/parser.h
Normal file
286
src/tree_sitter/parser.h
Normal file
@@ -0,0 +1,286 @@
|
|||||||
|
#ifndef TREE_SITTER_PARSER_H_
|
||||||
|
#define TREE_SITTER_PARSER_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#define ts_builtin_sym_error ((TSSymbol)-1)
|
||||||
|
#define ts_builtin_sym_end 0
|
||||||
|
#define TREE_SITTER_SERIALIZATION_BUFFER_SIZE 1024
|
||||||
|
|
||||||
|
#ifndef TREE_SITTER_API_H_
|
||||||
|
typedef uint16_t TSStateId;
|
||||||
|
typedef uint16_t TSSymbol;
|
||||||
|
typedef uint16_t TSFieldId;
|
||||||
|
typedef struct TSLanguage TSLanguage;
|
||||||
|
typedef struct TSLanguageMetadata {
|
||||||
|
uint8_t major_version;
|
||||||
|
uint8_t minor_version;
|
||||||
|
uint8_t patch_version;
|
||||||
|
} TSLanguageMetadata;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
TSFieldId field_id;
|
||||||
|
uint8_t child_index;
|
||||||
|
bool inherited;
|
||||||
|
} TSFieldMapEntry;
|
||||||
|
|
||||||
|
// Used to index the field and supertype maps.
|
||||||
|
typedef struct {
|
||||||
|
uint16_t index;
|
||||||
|
uint16_t length;
|
||||||
|
} TSMapSlice;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
bool visible;
|
||||||
|
bool named;
|
||||||
|
bool supertype;
|
||||||
|
} TSSymbolMetadata;
|
||||||
|
|
||||||
|
typedef struct TSLexer TSLexer;
|
||||||
|
|
||||||
|
struct TSLexer {
|
||||||
|
int32_t lookahead;
|
||||||
|
TSSymbol result_symbol;
|
||||||
|
void (*advance)(TSLexer *, bool);
|
||||||
|
void (*mark_end)(TSLexer *);
|
||||||
|
uint32_t (*get_column)(TSLexer *);
|
||||||
|
bool (*is_at_included_range_start)(const TSLexer *);
|
||||||
|
bool (*eof)(const TSLexer *);
|
||||||
|
void (*log)(const TSLexer *, const char *, ...);
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
TSParseActionTypeShift,
|
||||||
|
TSParseActionTypeReduce,
|
||||||
|
TSParseActionTypeAccept,
|
||||||
|
TSParseActionTypeRecover,
|
||||||
|
} TSParseActionType;
|
||||||
|
|
||||||
|
typedef union {
|
||||||
|
struct {
|
||||||
|
uint8_t type;
|
||||||
|
TSStateId state;
|
||||||
|
bool extra;
|
||||||
|
bool repetition;
|
||||||
|
} shift;
|
||||||
|
struct {
|
||||||
|
uint8_t type;
|
||||||
|
uint8_t child_count;
|
||||||
|
TSSymbol symbol;
|
||||||
|
int16_t dynamic_precedence;
|
||||||
|
uint16_t production_id;
|
||||||
|
} reduce;
|
||||||
|
uint8_t type;
|
||||||
|
} TSParseAction;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
uint16_t lex_state;
|
||||||
|
uint16_t external_lex_state;
|
||||||
|
} TSLexMode;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
uint16_t lex_state;
|
||||||
|
uint16_t external_lex_state;
|
||||||
|
uint16_t reserved_word_set_id;
|
||||||
|
} TSLexerMode;
|
||||||
|
|
||||||
|
typedef union {
|
||||||
|
TSParseAction action;
|
||||||
|
struct {
|
||||||
|
uint8_t count;
|
||||||
|
bool reusable;
|
||||||
|
} entry;
|
||||||
|
} TSParseActionEntry;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
int32_t start;
|
||||||
|
int32_t end;
|
||||||
|
} TSCharacterRange;
|
||||||
|
|
||||||
|
struct TSLanguage {
|
||||||
|
uint32_t abi_version;
|
||||||
|
uint32_t symbol_count;
|
||||||
|
uint32_t alias_count;
|
||||||
|
uint32_t token_count;
|
||||||
|
uint32_t external_token_count;
|
||||||
|
uint32_t state_count;
|
||||||
|
uint32_t large_state_count;
|
||||||
|
uint32_t production_id_count;
|
||||||
|
uint32_t field_count;
|
||||||
|
uint16_t max_alias_sequence_length;
|
||||||
|
const uint16_t *parse_table;
|
||||||
|
const uint16_t *small_parse_table;
|
||||||
|
const uint32_t *small_parse_table_map;
|
||||||
|
const TSParseActionEntry *parse_actions;
|
||||||
|
const char * const *symbol_names;
|
||||||
|
const char * const *field_names;
|
||||||
|
const TSMapSlice *field_map_slices;
|
||||||
|
const TSFieldMapEntry *field_map_entries;
|
||||||
|
const TSSymbolMetadata *symbol_metadata;
|
||||||
|
const TSSymbol *public_symbol_map;
|
||||||
|
const uint16_t *alias_map;
|
||||||
|
const TSSymbol *alias_sequences;
|
||||||
|
const TSLexerMode *lex_modes;
|
||||||
|
bool (*lex_fn)(TSLexer *, TSStateId);
|
||||||
|
bool (*keyword_lex_fn)(TSLexer *, TSStateId);
|
||||||
|
TSSymbol keyword_capture_token;
|
||||||
|
struct {
|
||||||
|
const bool *states;
|
||||||
|
const TSSymbol *symbol_map;
|
||||||
|
void *(*create)(void);
|
||||||
|
void (*destroy)(void *);
|
||||||
|
bool (*scan)(void *, TSLexer *, const bool *symbol_whitelist);
|
||||||
|
unsigned (*serialize)(void *, char *);
|
||||||
|
void (*deserialize)(void *, const char *, unsigned);
|
||||||
|
} external_scanner;
|
||||||
|
const TSStateId *primary_state_ids;
|
||||||
|
const char *name;
|
||||||
|
const TSSymbol *reserved_words;
|
||||||
|
uint16_t max_reserved_word_set_size;
|
||||||
|
uint32_t supertype_count;
|
||||||
|
const TSSymbol *supertype_symbols;
|
||||||
|
const TSMapSlice *supertype_map_slices;
|
||||||
|
const TSSymbol *supertype_map_entries;
|
||||||
|
TSLanguageMetadata metadata;
|
||||||
|
};
|
||||||
|
|
||||||
|
static inline bool set_contains(const TSCharacterRange *ranges, uint32_t len, int32_t lookahead) {
|
||||||
|
uint32_t index = 0;
|
||||||
|
uint32_t size = len - index;
|
||||||
|
while (size > 1) {
|
||||||
|
uint32_t half_size = size / 2;
|
||||||
|
uint32_t mid_index = index + half_size;
|
||||||
|
const TSCharacterRange *range = &ranges[mid_index];
|
||||||
|
if (lookahead >= range->start && lookahead <= range->end) {
|
||||||
|
return true;
|
||||||
|
} else if (lookahead > range->end) {
|
||||||
|
index = mid_index;
|
||||||
|
}
|
||||||
|
size -= half_size;
|
||||||
|
}
|
||||||
|
const TSCharacterRange *range = &ranges[index];
|
||||||
|
return (lookahead >= range->start && lookahead <= range->end);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Lexer Macros
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#define UNUSED __pragma(warning(suppress : 4101))
|
||||||
|
#else
|
||||||
|
#define UNUSED __attribute__((unused))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define START_LEXER() \
|
||||||
|
bool result = false; \
|
||||||
|
bool skip = false; \
|
||||||
|
UNUSED \
|
||||||
|
bool eof = false; \
|
||||||
|
int32_t lookahead; \
|
||||||
|
goto start; \
|
||||||
|
next_state: \
|
||||||
|
lexer->advance(lexer, skip); \
|
||||||
|
start: \
|
||||||
|
skip = false; \
|
||||||
|
lookahead = lexer->lookahead;
|
||||||
|
|
||||||
|
#define ADVANCE(state_value) \
|
||||||
|
{ \
|
||||||
|
state = state_value; \
|
||||||
|
goto next_state; \
|
||||||
|
}
|
||||||
|
|
||||||
|
#define ADVANCE_MAP(...) \
|
||||||
|
{ \
|
||||||
|
static const uint16_t map[] = { __VA_ARGS__ }; \
|
||||||
|
for (uint32_t i = 0; i < sizeof(map) / sizeof(map[0]); i += 2) { \
|
||||||
|
if (map[i] == lookahead) { \
|
||||||
|
state = map[i + 1]; \
|
||||||
|
goto next_state; \
|
||||||
|
} \
|
||||||
|
} \
|
||||||
|
}
|
||||||
|
|
||||||
|
#define SKIP(state_value) \
|
||||||
|
{ \
|
||||||
|
skip = true; \
|
||||||
|
state = state_value; \
|
||||||
|
goto next_state; \
|
||||||
|
}
|
||||||
|
|
||||||
|
#define ACCEPT_TOKEN(symbol_value) \
|
||||||
|
result = true; \
|
||||||
|
lexer->result_symbol = symbol_value; \
|
||||||
|
lexer->mark_end(lexer);
|
||||||
|
|
||||||
|
#define END_STATE() return result;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Parse Table Macros
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define SMALL_STATE(id) ((id) - LARGE_STATE_COUNT)
|
||||||
|
|
||||||
|
#define STATE(id) id
|
||||||
|
|
||||||
|
#define ACTIONS(id) id
|
||||||
|
|
||||||
|
#define SHIFT(state_value) \
|
||||||
|
{{ \
|
||||||
|
.shift = { \
|
||||||
|
.type = TSParseActionTypeShift, \
|
||||||
|
.state = (state_value) \
|
||||||
|
} \
|
||||||
|
}}
|
||||||
|
|
||||||
|
#define SHIFT_REPEAT(state_value) \
|
||||||
|
{{ \
|
||||||
|
.shift = { \
|
||||||
|
.type = TSParseActionTypeShift, \
|
||||||
|
.state = (state_value), \
|
||||||
|
.repetition = true \
|
||||||
|
} \
|
||||||
|
}}
|
||||||
|
|
||||||
|
#define SHIFT_EXTRA() \
|
||||||
|
{{ \
|
||||||
|
.shift = { \
|
||||||
|
.type = TSParseActionTypeShift, \
|
||||||
|
.extra = true \
|
||||||
|
} \
|
||||||
|
}}
|
||||||
|
|
||||||
|
#define REDUCE(symbol_name, children, precedence, prod_id) \
|
||||||
|
{{ \
|
||||||
|
.reduce = { \
|
||||||
|
.type = TSParseActionTypeReduce, \
|
||||||
|
.symbol = symbol_name, \
|
||||||
|
.child_count = children, \
|
||||||
|
.dynamic_precedence = precedence, \
|
||||||
|
.production_id = prod_id \
|
||||||
|
}, \
|
||||||
|
}}
|
||||||
|
|
||||||
|
#define RECOVER() \
|
||||||
|
{{ \
|
||||||
|
.type = TSParseActionTypeRecover \
|
||||||
|
}}
|
||||||
|
|
||||||
|
#define ACCEPT_INPUT() \
|
||||||
|
{{ \
|
||||||
|
.type = TSParseActionTypeAccept \
|
||||||
|
}}
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // TREE_SITTER_PARSER_H_
|
||||||
1
target/.rustc_info.json
Normal file
1
target/.rustc_info.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"rustc_fingerprint":12650542516822567378,"outputs":{"7971740275564407648":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/Users/soconnor/.rustup/toolchains/stable-aarch64-apple-darwin\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"aarch64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"aes\"\ntarget_feature=\"crc\"\ntarget_feature=\"dit\"\ntarget_feature=\"dotprod\"\ntarget_feature=\"dpb\"\ntarget_feature=\"dpb2\"\ntarget_feature=\"fcma\"\ntarget_feature=\"fhm\"\ntarget_feature=\"flagm\"\ntarget_feature=\"fp16\"\ntarget_feature=\"frintts\"\ntarget_feature=\"jsconv\"\ntarget_feature=\"lor\"\ntarget_feature=\"lse\"\ntarget_feature=\"neon\"\ntarget_feature=\"paca\"\ntarget_feature=\"pacg\"\ntarget_feature=\"pan\"\ntarget_feature=\"pmuv3\"\ntarget_feature=\"ras\"\ntarget_feature=\"rcpc\"\ntarget_feature=\"rcpc2\"\ntarget_feature=\"rdm\"\ntarget_feature=\"sb\"\ntarget_feature=\"sha2\"\ntarget_feature=\"sha3\"\ntarget_feature=\"ssbs\"\ntarget_feature=\"vh\"\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n","stderr":""},"17747080675513052775":{"success":true,"status":"","code":0,"stdout":"rustc 1.89.0 (29483883e 2025-08-04)\nbinary: rustc\ncommit-hash: 29483883eed69d5fb4db01964cdf2af4d86e9cb2\ncommit-date: 2025-08-04\nhost: aarch64-apple-darwin\nrelease: 1.89.0\nLLVM version: 20.1.7\n","stderr":""},"6432102384495711296":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/Users/soconnor/.rustup/toolchains/stable-aarch64-apple-darwin\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"aarch64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"aes\"\ntarget_feature=\"crc\"\ntarget_feature=\"dit\"\ntarget_feature=\"dotprod\"\ntarget_feature=\"dpb\"\ntarget_feature=\"dpb2\"\ntarget_feature=\"fcma\"\ntarget_feature=\"fhm\"\ntarget_feature=\"flagm\"\ntarget_feature=\"fp16\"\ntarget_feature=\"frintts\"\ntarget_feature=\"jsconv\"\ntarget_feature=\"lor\"\ntarget_feature=\"lse\"\ntarget_feature=\"neon\"\ntarget_feature=\"paca\"\ntarget_feature=\"pacg\"\ntarget_feature=\"pan\"\ntarget_feature=\"pmuv3\"\ntarget_feature=\"ras\"\ntarget_feature=\"rcpc\"\ntarget_feature=\"rcpc2\"\ntarget_feature=\"rdm\"\ntarget_feature=\"sb\"\ntarget_feature=\"sha2\"\ntarget_feature=\"sha3\"\ntarget_feature=\"ssbs\"\ntarget_feature=\"vh\"\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n","stderr":""}},"successes":{}}
|
||||||
3
target/CACHEDIR.TAG
Normal file
3
target/CACHEDIR.TAG
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
Signature: 8a477f597d28d172789f06886806bc55
|
||||||
|
# This file is a cache directory tag created by cargo.
|
||||||
|
# For information about cache directory tags see https://bford.info/cachedir/
|
||||||
0
target/debug/.cargo-lock
Normal file
0
target/debug/.cargo-lock
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
65950787afeee3f1
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"[\"perf-literal\", \"std\"]","declared_features":"[\"default\", \"logging\", \"perf-literal\", \"std\"]","target":7534583537114156500,"profile":8276155916380437441,"path":3529295736126249487,"deps":[[15932120279885307830,"memchr",false,13500683104559289371]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/aho-corasick-01209486507f69e4/dep-lib-aho_corasick","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||||
BIN
target/debug/.fingerprint/cc-54de4b52343e2031/dep-lib-cc
Normal file
BIN
target/debug/.fingerprint/cc-54de4b52343e2031/dep-lib-cc
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
1
target/debug/.fingerprint/cc-54de4b52343e2031/lib-cc
Normal file
1
target/debug/.fingerprint/cc-54de4b52343e2031/lib-cc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
97bce2364f07f0ad
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"[]","declared_features":"[\"jobserver\", \"parallel\"]","target":11042037588551934598,"profile":3033921117576893,"path":5215041692022329175,"deps":[[8410525223747752176,"shlex",false,6430713783690900078]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/cc-54de4b52343e2031/dep-lib-cc","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||||
BIN
target/debug/.fingerprint/memchr-5e642798c1af1c21/dep-lib-memchr
Normal file
BIN
target/debug/.fingerprint/memchr-5e642798c1af1c21/dep-lib-memchr
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
1bd45f00c10f5cbb
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"[\"alloc\", \"std\"]","declared_features":"[\"alloc\", \"core\", \"default\", \"libc\", \"logging\", \"rustc-dep-of-std\", \"std\", \"use_std\"]","target":11745930252914242013,"profile":8276155916380437441,"path":3233188880688064886,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/memchr-5e642798c1af1c21/dep-lib-memchr","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||||
BIN
target/debug/.fingerprint/regex-aa553921986b208f/dep-lib-regex
Normal file
BIN
target/debug/.fingerprint/regex-aa553921986b208f/dep-lib-regex
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
e99b70af5770f7bb
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"[\"default\", \"perf\", \"perf-backtrack\", \"perf-cache\", \"perf-dfa\", \"perf-inline\", \"perf-literal\", \"perf-onepass\", \"std\", \"unicode\", \"unicode-age\", \"unicode-bool\", \"unicode-case\", \"unicode-gencat\", \"unicode-perl\", \"unicode-script\", \"unicode-segment\"]","declared_features":"[\"default\", \"logging\", \"pattern\", \"perf\", \"perf-backtrack\", \"perf-cache\", \"perf-dfa\", \"perf-dfa-full\", \"perf-inline\", \"perf-literal\", \"perf-onepass\", \"std\", \"unicode\", \"unicode-age\", \"unicode-bool\", \"unicode-case\", \"unicode-gencat\", \"unicode-perl\", \"unicode-script\", \"unicode-segment\", \"unstable\", \"use_std\"]","target":5796931310894148030,"profile":8276155916380437441,"path":3473566847423016332,"deps":[[2779309023524819297,"aho_corasick",false,17430037420506060133],[7507008215594894126,"regex_syntax",false,7709909526304528363],[15932120279885307830,"memchr",false,13500683104559289371],[16311927252525485886,"regex_automata",false,5060253187912467632]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/regex-aa553921986b208f/dep-lib-regex","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
b0840fcb76a13946
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"[\"alloc\", \"dfa-onepass\", \"hybrid\", \"meta\", \"nfa-backtrack\", \"nfa-pikevm\", \"nfa-thompson\", \"perf-inline\", \"perf-literal\", \"perf-literal-multisubstring\", \"perf-literal-substring\", \"std\", \"syntax\", \"unicode\", \"unicode-age\", \"unicode-bool\", \"unicode-case\", \"unicode-gencat\", \"unicode-perl\", \"unicode-script\", \"unicode-segment\", \"unicode-word-boundary\"]","declared_features":"[\"alloc\", \"default\", \"dfa\", \"dfa-build\", \"dfa-onepass\", \"dfa-search\", \"hybrid\", \"internal-instrument\", \"internal-instrument-pikevm\", \"logging\", \"meta\", \"nfa\", \"nfa-backtrack\", \"nfa-pikevm\", \"nfa-thompson\", \"perf\", \"perf-inline\", \"perf-literal\", \"perf-literal-multisubstring\", \"perf-literal-substring\", \"std\", \"syntax\", \"unicode\", \"unicode-age\", \"unicode-bool\", \"unicode-case\", \"unicode-gencat\", \"unicode-perl\", \"unicode-script\", \"unicode-segment\", \"unicode-word-boundary\"]","target":4726246767843925232,"profile":8276155916380437441,"path":16210748174594729467,"deps":[[2779309023524819297,"aho_corasick",false,17430037420506060133],[7507008215594894126,"regex_syntax",false,7709909526304528363],[15932120279885307830,"memchr",false,13500683104559289371]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/regex-automata-9ea3e35eb2a1d709/dep-lib-regex_automata","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
eb17c885dd19ff6a
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"[\"default\", \"std\", \"unicode\", \"unicode-age\", \"unicode-bool\", \"unicode-case\", \"unicode-gencat\", \"unicode-perl\", \"unicode-script\", \"unicode-segment\"]","declared_features":"[\"arbitrary\", \"default\", \"std\", \"unicode\", \"unicode-age\", \"unicode-bool\", \"unicode-case\", \"unicode-gencat\", \"unicode-perl\", \"unicode-script\", \"unicode-segment\"]","target":742186494246220192,"profile":8276155916380437441,"path":11437606135691677350,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/regex-syntax-f06fb658cecbc256/dep-lib-regex_syntax","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||||
BIN
target/debug/.fingerprint/shlex-cefd43bddef2ebb5/dep-lib-shlex
Normal file
BIN
target/debug/.fingerprint/shlex-cefd43bddef2ebb5/dep-lib-shlex
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
6eb21a691d7c3e59
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"[\"default\", \"std\"]","declared_features":"[\"default\", \"std\"]","target":929485496544747924,"profile":3033921117576893,"path":9059885265415581055,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/shlex-cefd43bddef2ebb5/dep-lib-shlex","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
8726389814edb1e5
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"[]","declared_features":"[\"lazy_static\"]","target":5408242616063297496,"profile":3033921117576893,"path":9122077805780398287,"deps":[[5910293999756944703,"cc",false,12533525799776730263]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/tree-sitter-461e5912186a5428/dep-build-script-build-script-build","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
4e68ab004cfe04dd
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"","declared_features":"","target":0,"profile":0,"path":0,"deps":[[15239743387783911605,"build_script_build",false,16551270778272228999]],"local":[{"RerunIfChanged":{"output":"debug/build/tree-sitter-92ae5a9847688efb/output","paths":["src/error_costs.h","src/lib.c","src/subtree.h","src/reusable_node.h","src/host.h","src/point.h","src/unicode","src/stack.c","src/tree_cursor.h","src/language.h","src/lexer.c","src/tree.h","src/get_changed_ranges.c","src/alloc.c","src/unicode.h","src/array.h","src/query.c","src/stack.h","src/subtree.c","src/length.h","src/lexer.h","src/language.c","src/reduce_action.h","src/tree_cursor.c","src/parser.c","src/clock.h","src/alloc.h","src/node.c","src/get_changed_ranges.h","src/tree.c","src/atomic.h"]}},{"RerunIfEnvChanged":{"var":"TREE_SITTER_STATIC_ANALYSIS","val":null}},{"RerunIfEnvChanged":{"var":"CC_aarch64-apple-darwin","val":null}},{"RerunIfEnvChanged":{"var":"CC_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"HOST_CC","val":null}},{"RerunIfEnvChanged":{"var":"CC","val":null}},{"RerunIfEnvChanged":{"var":"CC_ENABLE_DEBUG_OUTPUT","val":null}},{"RerunIfEnvChanged":{"var":"CRATE_CC_NO_DEFAULTS","val":null}},{"RerunIfEnvChanged":{"var":"MACOSX_DEPLOYMENT_TARGET","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"HOST_CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64-apple-darwin","val":null}},{"RerunIfEnvChanged":{"var":"CC_ENABLE_DEBUG_OUTPUT","val":null}},{"RerunIfEnvChanged":{"var":"CRATE_CC_NO_DEFAULTS","val":null}},{"RerunIfEnvChanged":{"var":"MACOSX_DEPLOYMENT_TARGET","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"HOST_CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64-apple-darwin","val":null}},{"RerunIfEnvChanged":{"var":"CC_ENABLE_DEBUG_OUTPUT","val":null}},{"RerunIfEnvChanged":{"var":"CRATE_CC_NO_DEFAULTS","val":null}},{"RerunIfEnvChanged":{"var":"MACOSX_DEPLOYMENT_TARGET","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"HOST_CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64-apple-darwin","val":null}},{"RerunIfEnvChanged":{"var":"AR_aarch64-apple-darwin","val":null}},{"RerunIfEnvChanged":{"var":"AR_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"HOST_AR","val":null}},{"RerunIfEnvChanged":{"var":"AR","val":null}},{"RerunIfEnvChanged":{"var":"ARFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"HOST_ARFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"ARFLAGS_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"ARFLAGS_aarch64-apple-darwin","val":null}}],"rustflags":[],"config":0,"compile_kind":0}
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
45cf29a7e3379b63
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"[]","declared_features":"[\"lazy_static\"]","target":13544975343383046445,"profile":8276155916380437441,"path":6962218728452513937,"deps":[[503635761244294217,"regex",false,13544417926247914473],[15239743387783911605,"build_script_build",false,15926133784671119438]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/tree-sitter-b932e3a10b99c519/dep-lib-tree_sitter","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
b65ef5c018faf56c
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"","declared_features":"","target":0,"profile":0,"path":0,"deps":[[6368013299364152729,"build_script_build",false,6449836117121756497]],"local":[{"RerunIfChanged":{"output":"debug/build/tree-sitter-compare-output-651f79cebee1a223/output","paths":["src/parser.c"]}},{"RerunIfEnvChanged":{"var":"CC_aarch64-apple-darwin","val":null}},{"RerunIfEnvChanged":{"var":"CC_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"HOST_CC","val":null}},{"RerunIfEnvChanged":{"var":"CC","val":null}},{"RerunIfEnvChanged":{"var":"CC_ENABLE_DEBUG_OUTPUT","val":null}},{"RerunIfEnvChanged":{"var":"CRATE_CC_NO_DEFAULTS","val":null}},{"RerunIfEnvChanged":{"var":"MACOSX_DEPLOYMENT_TARGET","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"HOST_CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64-apple-darwin","val":null}},{"RerunIfEnvChanged":{"var":"CC_ENABLE_DEBUG_OUTPUT","val":null}},{"RerunIfEnvChanged":{"var":"CRATE_CC_NO_DEFAULTS","val":null}},{"RerunIfEnvChanged":{"var":"MACOSX_DEPLOYMENT_TARGET","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"HOST_CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64-apple-darwin","val":null}},{"RerunIfEnvChanged":{"var":"CC_ENABLE_DEBUG_OUTPUT","val":null}},{"RerunIfEnvChanged":{"var":"CRATE_CC_NO_DEFAULTS","val":null}},{"RerunIfEnvChanged":{"var":"MACOSX_DEPLOYMENT_TARGET","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"HOST_CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64-apple-darwin","val":null}},{"RerunIfEnvChanged":{"var":"CC_ENABLE_DEBUG_OUTPUT","val":null}},{"RerunIfEnvChanged":{"var":"CRATE_CC_NO_DEFAULTS","val":null}},{"RerunIfEnvChanged":{"var":"MACOSX_DEPLOYMENT_TARGET","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"HOST_CFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"CFLAGS_aarch64-apple-darwin","val":null}},{"RerunIfEnvChanged":{"var":"AR_aarch64-apple-darwin","val":null}},{"RerunIfEnvChanged":{"var":"AR_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"HOST_AR","val":null}},{"RerunIfEnvChanged":{"var":"AR","val":null}},{"RerunIfEnvChanged":{"var":"ARFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"HOST_ARFLAGS","val":null}},{"RerunIfEnvChanged":{"var":"ARFLAGS_aarch64_apple_darwin","val":null}},{"RerunIfEnvChanged":{"var":"ARFLAGS_aarch64-apple-darwin","val":null}}],"rustflags":[],"config":0,"compile_kind":0}
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
cbef30e173398e09
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"[]","declared_features":"[]","target":12770955512581352301,"profile":619605765252926426,"path":12173251122716341842,"deps":[[6368013299364152729,"build_script_build",false,7851456509613792950],[15239743387783911605,"tree_sitter",false,7177391882046656325]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/tree-sitter-compare-output-b028fdec0d2c3a2b/dep-test-lib-tree_sitter_compare_output","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
51ed869cc66b8259
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"[]","declared_features":"[]","target":17883862002600103897,"profile":502103643719580362,"path":7850386633374859351,"deps":[[5910293999756944703,"cc",false,12533525799776730263]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/tree-sitter-compare-output-b4e0d1000cf22633/dep-build-script-build-script-build","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
b1b078493dce8f86
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"rustc":17575471286409424799,"features":"[]","declared_features":"[]","target":12770955512581352301,"profile":2330448797067240312,"path":12173251122716341842,"deps":[[6368013299364152729,"build_script_build",false,7851456509613792950],[15239743387783911605,"tree_sitter",false,7177391882046656325]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/tree-sitter-compare-output-c955f8c2363ec43f/dep-lib-tree_sitter_compare_output","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||||
BIN
target/debug/build/tree-sitter-461e5912186a5428/build-script-build
Executable file
BIN
target/debug/build/tree-sitter-461e5912186a5428/build-script-build
Executable file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
|
|||||||
|
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-461e5912186a5428/build_script_build-461e5912186a5428.d: /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.20.10/binding_rust/build.rs
|
||||||
|
|
||||||
|
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-461e5912186a5428/build_script_build-461e5912186a5428: /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.20.10/binding_rust/build.rs
|
||||||
|
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.20.10/binding_rust/build.rs:
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
Binary file not shown.
BIN
target/debug/build/tree-sitter-92ae5a9847688efb/out/flag_check
Normal file
BIN
target/debug/build/tree-sitter-92ae5a9847688efb/out/flag_check
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
int main(void) { return 0; }
|
||||||
Binary file not shown.
110
target/debug/build/tree-sitter-92ae5a9847688efb/output
Normal file
110
target/debug/build/tree-sitter-92ae5a9847688efb/output
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
cargo:rerun-if-env-changed=TREE_SITTER_STATIC_ANALYSIS
|
||||||
|
cargo:rerun-if-changed=src/error_costs.h
|
||||||
|
cargo:rerun-if-changed=src/lib.c
|
||||||
|
cargo:rerun-if-changed=src/subtree.h
|
||||||
|
cargo:rerun-if-changed=src/reusable_node.h
|
||||||
|
cargo:rerun-if-changed=src/host.h
|
||||||
|
cargo:rerun-if-changed=src/point.h
|
||||||
|
cargo:rerun-if-changed=src/unicode
|
||||||
|
cargo:rerun-if-changed=src/stack.c
|
||||||
|
cargo:rerun-if-changed=src/tree_cursor.h
|
||||||
|
cargo:rerun-if-changed=src/language.h
|
||||||
|
cargo:rerun-if-changed=src/lexer.c
|
||||||
|
cargo:rerun-if-changed=src/tree.h
|
||||||
|
cargo:rerun-if-changed=src/get_changed_ranges.c
|
||||||
|
cargo:rerun-if-changed=src/alloc.c
|
||||||
|
cargo:rerun-if-changed=src/unicode.h
|
||||||
|
cargo:rerun-if-changed=src/array.h
|
||||||
|
cargo:rerun-if-changed=src/query.c
|
||||||
|
cargo:rerun-if-changed=src/stack.h
|
||||||
|
cargo:rerun-if-changed=src/subtree.c
|
||||||
|
cargo:rerun-if-changed=src/length.h
|
||||||
|
cargo:rerun-if-changed=src/lexer.h
|
||||||
|
cargo:rerun-if-changed=src/language.c
|
||||||
|
cargo:rerun-if-changed=src/reduce_action.h
|
||||||
|
cargo:rerun-if-changed=src/tree_cursor.c
|
||||||
|
cargo:rerun-if-changed=src/parser.c
|
||||||
|
cargo:rerun-if-changed=src/clock.h
|
||||||
|
cargo:rerun-if-changed=src/alloc.h
|
||||||
|
cargo:rerun-if-changed=src/node.c
|
||||||
|
cargo:rerun-if-changed=src/get_changed_ranges.h
|
||||||
|
cargo:rerun-if-changed=src/tree.c
|
||||||
|
cargo:rerun-if-changed=src/atomic.h
|
||||||
|
OUT_DIR = Some(/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-92ae5a9847688efb/out)
|
||||||
|
OPT_LEVEL = Some(0)
|
||||||
|
TARGET = Some(aarch64-apple-darwin)
|
||||||
|
HOST = Some(aarch64-apple-darwin)
|
||||||
|
cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
|
||||||
|
CC_aarch64-apple-darwin = None
|
||||||
|
cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
|
||||||
|
CC_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_CC
|
||||||
|
HOST_CC = None
|
||||||
|
cargo:rerun-if-env-changed=CC
|
||||||
|
CC = None
|
||||||
|
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
|
||||||
|
RUSTC_WRAPPER = None
|
||||||
|
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
|
||||||
|
CRATE_CC_NO_DEFAULTS = None
|
||||||
|
DEBUG = Some(true)
|
||||||
|
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
|
||||||
|
MACOSX_DEPLOYMENT_TARGET = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS
|
||||||
|
CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_CFLAGS
|
||||||
|
HOST_CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
|
||||||
|
CFLAGS_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
|
||||||
|
CFLAGS_aarch64-apple-darwin = None
|
||||||
|
CARGO_ENCODED_RUSTFLAGS = Some()
|
||||||
|
OUT_DIR = Some(/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-92ae5a9847688efb/out)
|
||||||
|
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
|
||||||
|
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
|
||||||
|
CRATE_CC_NO_DEFAULTS = None
|
||||||
|
TARGET = Some(aarch64-apple-darwin)
|
||||||
|
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
|
||||||
|
MACOSX_DEPLOYMENT_TARGET = None
|
||||||
|
HOST = Some(aarch64-apple-darwin)
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS
|
||||||
|
CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_CFLAGS
|
||||||
|
HOST_CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
|
||||||
|
CFLAGS_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
|
||||||
|
CFLAGS_aarch64-apple-darwin = None
|
||||||
|
OUT_DIR = Some(/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-92ae5a9847688efb/out)
|
||||||
|
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
|
||||||
|
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
|
||||||
|
CRATE_CC_NO_DEFAULTS = None
|
||||||
|
TARGET = Some(aarch64-apple-darwin)
|
||||||
|
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
|
||||||
|
MACOSX_DEPLOYMENT_TARGET = None
|
||||||
|
HOST = Some(aarch64-apple-darwin)
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS
|
||||||
|
CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_CFLAGS
|
||||||
|
HOST_CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
|
||||||
|
CFLAGS_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
|
||||||
|
CFLAGS_aarch64-apple-darwin = None
|
||||||
|
cargo:rerun-if-env-changed=AR_aarch64-apple-darwin
|
||||||
|
AR_aarch64-apple-darwin = None
|
||||||
|
cargo:rerun-if-env-changed=AR_aarch64_apple_darwin
|
||||||
|
AR_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_AR
|
||||||
|
HOST_AR = None
|
||||||
|
cargo:rerun-if-env-changed=AR
|
||||||
|
AR = None
|
||||||
|
cargo:rerun-if-env-changed=ARFLAGS
|
||||||
|
ARFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_ARFLAGS
|
||||||
|
HOST_ARFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=ARFLAGS_aarch64_apple_darwin
|
||||||
|
ARFLAGS_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=ARFLAGS_aarch64-apple-darwin
|
||||||
|
ARFLAGS_aarch64-apple-darwin = None
|
||||||
|
cargo:rustc-link-lib=static=tree-sitter
|
||||||
|
cargo:rustc-link-search=native=/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-92ae5a9847688efb/out
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-92ae5a9847688efb/out
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
This file has an mtime of when this was started.
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
int main(void) { return 0; }
|
||||||
Binary file not shown.
@@ -0,0 +1,95 @@
|
|||||||
|
OUT_DIR = Some(/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-compare-output-651f79cebee1a223/out)
|
||||||
|
OPT_LEVEL = Some(0)
|
||||||
|
TARGET = Some(aarch64-apple-darwin)
|
||||||
|
HOST = Some(aarch64-apple-darwin)
|
||||||
|
cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
|
||||||
|
CC_aarch64-apple-darwin = None
|
||||||
|
cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
|
||||||
|
CC_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_CC
|
||||||
|
HOST_CC = None
|
||||||
|
cargo:rerun-if-env-changed=CC
|
||||||
|
CC = None
|
||||||
|
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
|
||||||
|
RUSTC_WRAPPER = None
|
||||||
|
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
|
||||||
|
CRATE_CC_NO_DEFAULTS = None
|
||||||
|
DEBUG = Some(true)
|
||||||
|
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
|
||||||
|
MACOSX_DEPLOYMENT_TARGET = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS
|
||||||
|
CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_CFLAGS
|
||||||
|
HOST_CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
|
||||||
|
CFLAGS_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
|
||||||
|
CFLAGS_aarch64-apple-darwin = None
|
||||||
|
CARGO_ENCODED_RUSTFLAGS = Some()
|
||||||
|
OUT_DIR = Some(/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-compare-output-651f79cebee1a223/out)
|
||||||
|
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
|
||||||
|
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
|
||||||
|
CRATE_CC_NO_DEFAULTS = None
|
||||||
|
TARGET = Some(aarch64-apple-darwin)
|
||||||
|
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
|
||||||
|
MACOSX_DEPLOYMENT_TARGET = None
|
||||||
|
HOST = Some(aarch64-apple-darwin)
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS
|
||||||
|
CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_CFLAGS
|
||||||
|
HOST_CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
|
||||||
|
CFLAGS_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
|
||||||
|
CFLAGS_aarch64-apple-darwin = None
|
||||||
|
OUT_DIR = Some(/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-compare-output-651f79cebee1a223/out)
|
||||||
|
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
|
||||||
|
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
|
||||||
|
CRATE_CC_NO_DEFAULTS = None
|
||||||
|
TARGET = Some(aarch64-apple-darwin)
|
||||||
|
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
|
||||||
|
MACOSX_DEPLOYMENT_TARGET = None
|
||||||
|
HOST = Some(aarch64-apple-darwin)
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS
|
||||||
|
CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_CFLAGS
|
||||||
|
HOST_CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
|
||||||
|
CFLAGS_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
|
||||||
|
CFLAGS_aarch64-apple-darwin = None
|
||||||
|
OUT_DIR = Some(/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-compare-output-651f79cebee1a223/out)
|
||||||
|
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
|
||||||
|
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
|
||||||
|
CRATE_CC_NO_DEFAULTS = None
|
||||||
|
TARGET = Some(aarch64-apple-darwin)
|
||||||
|
cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
|
||||||
|
MACOSX_DEPLOYMENT_TARGET = None
|
||||||
|
HOST = Some(aarch64-apple-darwin)
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS
|
||||||
|
CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_CFLAGS
|
||||||
|
HOST_CFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
|
||||||
|
CFLAGS_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
|
||||||
|
CFLAGS_aarch64-apple-darwin = None
|
||||||
|
cargo:rerun-if-env-changed=AR_aarch64-apple-darwin
|
||||||
|
AR_aarch64-apple-darwin = None
|
||||||
|
cargo:rerun-if-env-changed=AR_aarch64_apple_darwin
|
||||||
|
AR_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_AR
|
||||||
|
HOST_AR = None
|
||||||
|
cargo:rerun-if-env-changed=AR
|
||||||
|
AR = None
|
||||||
|
cargo:rerun-if-env-changed=ARFLAGS
|
||||||
|
ARFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=HOST_ARFLAGS
|
||||||
|
HOST_ARFLAGS = None
|
||||||
|
cargo:rerun-if-env-changed=ARFLAGS_aarch64_apple_darwin
|
||||||
|
ARFLAGS_aarch64_apple_darwin = None
|
||||||
|
cargo:rerun-if-env-changed=ARFLAGS_aarch64-apple-darwin
|
||||||
|
ARFLAGS_aarch64-apple-darwin = None
|
||||||
|
cargo:rustc-link-lib=static=parser
|
||||||
|
cargo:rustc-link-search=native=/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-compare-output-651f79cebee1a223/out
|
||||||
|
cargo:rerun-if-changed=src/parser.c
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-compare-output-651f79cebee1a223/out
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
|
|||||||
|
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-compare-output-b4e0d1000cf22633/build_script_build-b4e0d1000cf22633.d: bindings/rust/build.rs
|
||||||
|
|
||||||
|
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/build/tree-sitter-compare-output-b4e0d1000cf22633/build_script_build-b4e0d1000cf22633: bindings/rust/build.rs
|
||||||
|
|
||||||
|
bindings/rust/build.rs:
|
||||||
33
target/debug/deps/aho_corasick-01209486507f69e4.d
Normal file
33
target/debug/deps/aho_corasick-01209486507f69e4.d
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/deps/aho_corasick-01209486507f69e4.d: /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/lib.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/macros.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/ahocorasick.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/automaton.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/dfa.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/nfa/mod.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/nfa/contiguous.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/nfa/noncontiguous.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/mod.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/api.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/ext.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/pattern.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/rabinkarp.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/teddy/mod.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/teddy/builder.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/teddy/generic.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/vector.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/mod.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/alphabet.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/buffer.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/byte_frequencies.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/debug.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/error.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/int.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/prefilter.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/primitives.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/remapper.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/search.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/special.rs
|
||||||
|
|
||||||
|
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/deps/libaho_corasick-01209486507f69e4.rmeta: /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/lib.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/macros.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/ahocorasick.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/automaton.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/dfa.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/nfa/mod.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/nfa/contiguous.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/nfa/noncontiguous.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/mod.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/api.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/ext.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/pattern.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/rabinkarp.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/teddy/mod.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/teddy/builder.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/teddy/generic.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/vector.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/mod.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/alphabet.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/buffer.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/byte_frequencies.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/debug.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/error.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/int.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/prefilter.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/primitives.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/remapper.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/search.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/special.rs
|
||||||
|
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/lib.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/macros.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/ahocorasick.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/automaton.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/dfa.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/nfa/mod.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/nfa/contiguous.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/nfa/noncontiguous.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/mod.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/api.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/ext.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/pattern.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/rabinkarp.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/teddy/mod.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/teddy/builder.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/teddy/generic.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/packed/vector.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/mod.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/alphabet.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/buffer.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/byte_frequencies.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/debug.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/error.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/int.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/prefilter.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/primitives.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/remapper.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/search.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.3/src/util/special.rs:
|
||||||
20
target/debug/deps/cc-54de4b52343e2031.d
Normal file
20
target/debug/deps/cc-54de4b52343e2031.d
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/deps/cc-54de4b52343e2031.d: /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/lib.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/apple.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/generated.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/llvm.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/parser.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/windows/mod.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/windows/find_tools.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/command_helpers.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/tool.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/tempfile.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/utilities.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/flags.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/detect_compiler_family.c
|
||||||
|
|
||||||
|
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/deps/libcc-54de4b52343e2031.rlib: /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/lib.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/apple.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/generated.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/llvm.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/parser.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/windows/mod.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/windows/find_tools.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/command_helpers.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/tool.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/tempfile.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/utilities.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/flags.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/detect_compiler_family.c
|
||||||
|
|
||||||
|
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/compare-output/target/debug/deps/libcc-54de4b52343e2031.rmeta: /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/lib.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/apple.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/generated.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/llvm.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/parser.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/windows/mod.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/windows/find_tools.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/command_helpers.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/tool.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/tempfile.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/utilities.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/flags.rs /Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/detect_compiler_family.c
|
||||||
|
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/lib.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/apple.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/generated.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/llvm.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/target/parser.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/windows/mod.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/windows/find_tools.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/command_helpers.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/tool.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/tempfile.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/utilities.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/flags.rs:
|
||||||
|
/Users/soconnor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.34/src/detect_compiler_family.c:
|
||||||
BIN
target/debug/deps/libaho_corasick-01209486507f69e4.rmeta
Normal file
BIN
target/debug/deps/libaho_corasick-01209486507f69e4.rmeta
Normal file
Binary file not shown.
BIN
target/debug/deps/libcc-54de4b52343e2031.rlib
Normal file
BIN
target/debug/deps/libcc-54de4b52343e2031.rlib
Normal file
Binary file not shown.
BIN
target/debug/deps/libcc-54de4b52343e2031.rmeta
Normal file
BIN
target/debug/deps/libcc-54de4b52343e2031.rmeta
Normal file
Binary file not shown.
BIN
target/debug/deps/libmemchr-5e642798c1af1c21.rmeta
Normal file
BIN
target/debug/deps/libmemchr-5e642798c1af1c21.rmeta
Normal file
Binary file not shown.
BIN
target/debug/deps/libregex-aa553921986b208f.rmeta
Normal file
BIN
target/debug/deps/libregex-aa553921986b208f.rmeta
Normal file
Binary file not shown.
BIN
target/debug/deps/libregex_automata-9ea3e35eb2a1d709.rmeta
Normal file
BIN
target/debug/deps/libregex_automata-9ea3e35eb2a1d709.rmeta
Normal file
Binary file not shown.
BIN
target/debug/deps/libregex_syntax-f06fb658cecbc256.rmeta
Normal file
BIN
target/debug/deps/libregex_syntax-f06fb658cecbc256.rmeta
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user