mirror of
https://github.com/soconnor0919/tree-sitter-test-script.git
synced 2026-02-04 15:56:38 -05:00
Initial commit: Tree-sitter grammar for Test Script
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-test-script"
|
||||
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-test-script"
|
||||
description = "Test Script language 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", "test", "script", "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_test_script_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());
|
||||
*/
|
||||
}
|
||||
64
bindings/rust/lib.rs
Normal file
64
bindings/rust/lib.rs
Normal file
@@ -0,0 +1,64 @@
|
||||
//! This crate provides Test Script language 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#"
|
||||
//! // Test script example
|
||||
//! load CPU.hdl,
|
||||
//! output-file CPU.out,
|
||||
//! compare-to CPU.cmp,
|
||||
//!
|
||||
//! set instruction %B0011000000111001,
|
||||
//! tick, output, tock, output;
|
||||
//!
|
||||
//! repeat 10 {
|
||||
//! ticktock;
|
||||
//! }
|
||||
//! "#;
|
||||
//! let mut parser = tree_sitter::Parser::new();
|
||||
//! parser.set_language(tree_sitter_test_script::language()).expect("Error loading Test Script 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_test_script() -> 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_test_script() }
|
||||
}
|
||||
|
||||
/// 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 Test Script language");
|
||||
}
|
||||
}
|
||||
158
grammar.js
Normal file
158
grammar.js
Normal file
@@ -0,0 +1,158 @@
|
||||
module.exports = grammar({
|
||||
name: 'test_script',
|
||||
|
||||
rules: {
|
||||
source_file: $ => repeat($._item),
|
||||
|
||||
_item: $ => choice(
|
||||
$.command,
|
||||
$.comment,
|
||||
$._whitespace
|
||||
),
|
||||
|
||||
// Test script commands
|
||||
command: $ => choice(
|
||||
$.load_command,
|
||||
$.output_file_command,
|
||||
$.compare_to_command,
|
||||
$.output_list_command,
|
||||
$.set_command,
|
||||
$.eval_command,
|
||||
$.output_command,
|
||||
$.tick_command,
|
||||
$.tock_command,
|
||||
$.ticktock_command,
|
||||
$.repeat_command,
|
||||
$.while_command,
|
||||
$.echo_command
|
||||
),
|
||||
|
||||
// File operations
|
||||
load_command: $ => seq(
|
||||
'load',
|
||||
$.filename,
|
||||
','
|
||||
),
|
||||
|
||||
output_file_command: $ => seq(
|
||||
'output-file',
|
||||
$.filename,
|
||||
','
|
||||
),
|
||||
|
||||
compare_to_command: $ => seq(
|
||||
'compare-to',
|
||||
$.filename,
|
||||
','
|
||||
),
|
||||
|
||||
// Output commands
|
||||
output_list_command: $ => seq(
|
||||
'output-list',
|
||||
repeat1($.output_spec),
|
||||
';'
|
||||
),
|
||||
|
||||
output_command: $ => seq(
|
||||
'output',
|
||||
';'
|
||||
),
|
||||
|
||||
// Simulation control
|
||||
tick_command: $ => seq('tick', ','),
|
||||
tock_command: $ => seq('tock', ','),
|
||||
ticktock_command: $ => seq('ticktock', ';'),
|
||||
|
||||
eval_command: $ => seq('eval', ','),
|
||||
|
||||
// Variable assignment
|
||||
set_command: $ => seq(
|
||||
'set',
|
||||
$.variable_reference,
|
||||
$.value,
|
||||
','
|
||||
),
|
||||
|
||||
// Control flow
|
||||
repeat_command: $ => seq(
|
||||
'repeat',
|
||||
$.number,
|
||||
'{',
|
||||
repeat($._item),
|
||||
'}'
|
||||
),
|
||||
|
||||
while_command: $ => seq(
|
||||
'while',
|
||||
$.condition,
|
||||
'{',
|
||||
repeat($._item),
|
||||
'}'
|
||||
),
|
||||
|
||||
// Echo command for debugging
|
||||
echo_command: $ => seq(
|
||||
'echo',
|
||||
$.string,
|
||||
';'
|
||||
),
|
||||
|
||||
// Variable references (RAM[index], register names, etc.)
|
||||
variable_reference: $ => choice(
|
||||
$.memory_reference,
|
||||
$.register_reference,
|
||||
$.pin_reference
|
||||
),
|
||||
|
||||
memory_reference: $ => seq(
|
||||
'RAM',
|
||||
'[',
|
||||
$.index,
|
||||
']'
|
||||
),
|
||||
|
||||
register_reference: $ => choice(
|
||||
'DRegister[]',
|
||||
'ARegister[]',
|
||||
'PC[]',
|
||||
/[A-Z][a-zA-Z0-9_]*/
|
||||
),
|
||||
|
||||
pin_reference: $ => /[a-zA-Z][a-zA-Z0-9_]*/,
|
||||
|
||||
// Output format specifications
|
||||
output_spec: $ => seq(
|
||||
$.variable_reference,
|
||||
optional($.format_spec)
|
||||
),
|
||||
|
||||
format_spec: $ => /%[BDSX]\d+\.\d+\.\d+/,
|
||||
|
||||
// Values
|
||||
value: $ => choice(
|
||||
$.number,
|
||||
$.binary_value,
|
||||
$.string
|
||||
),
|
||||
|
||||
binary_value: $ => /%B[01]+/,
|
||||
|
||||
// Basic tokens
|
||||
number: $ => /\d+/,
|
||||
index: $ => /\d+/,
|
||||
filename: $ => /[a-zA-Z0-9_.-]+\.[a-zA-Z0-9]+/,
|
||||
string: $ => /"[^"]*"/,
|
||||
condition: $ => /[^{]+/,
|
||||
|
||||
// Comments
|
||||
comment: $ => token(seq('//', /.*/)),
|
||||
|
||||
// Whitespace
|
||||
_whitespace: $ => /\s+/
|
||||
},
|
||||
|
||||
extras: $ => [
|
||||
/\s/,
|
||||
$.comment
|
||||
]
|
||||
});
|
||||
52
package.json
Normal file
52
package.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"name": "tree-sitter-test-script",
|
||||
"version": "1.0.0",
|
||||
"description": "Tree-sitter grammar for Test Script language (nand2tetris)",
|
||||
"main": "bindings/node",
|
||||
"types": "bindings/node",
|
||||
"keywords": [
|
||||
"parser",
|
||||
"lexer",
|
||||
"test",
|
||||
"script",
|
||||
"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.test_script",
|
||||
"file-types": [
|
||||
"tst"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
66
queries/highlights.scm
Normal file
66
queries/highlights.scm
Normal file
@@ -0,0 +1,66 @@
|
||||
; Test script syntax highlighting queries based on actual node types
|
||||
|
||||
; Commands
|
||||
"load" @keyword
|
||||
"output-file" @keyword
|
||||
"compare-to" @keyword
|
||||
"output-list" @keyword
|
||||
"set" @keyword
|
||||
"eval" @keyword
|
||||
"output" @keyword
|
||||
"tick" @keyword
|
||||
"tock" @keyword
|
||||
"ticktock" @keyword
|
||||
"repeat" @keyword
|
||||
"while" @keyword
|
||||
"echo" @keyword
|
||||
|
||||
; Control flow keywords
|
||||
"repeat" @keyword.control
|
||||
"while" @keyword.control
|
||||
|
||||
; File operations
|
||||
(load_command "load" @keyword)
|
||||
(output_file_command "output-file" @keyword)
|
||||
(compare_to_command "compare-to" @keyword)
|
||||
|
||||
; Variable references
|
||||
(memory_reference "RAM" @type.builtin)
|
||||
(register_reference) @variable.builtin
|
||||
|
||||
; Pin references
|
||||
(pin_reference) @property
|
||||
|
||||
; Numbers and indices
|
||||
(number) @constant.numeric
|
||||
|
||||
; Binary values
|
||||
(binary_value) @constant.numeric
|
||||
|
||||
; Format specifications
|
||||
(format_spec) @string.special
|
||||
|
||||
; Filenames
|
||||
(filename) @string
|
||||
|
||||
; Strings
|
||||
(string) @string
|
||||
|
||||
; Comments
|
||||
(comment) @comment
|
||||
|
||||
; Punctuation
|
||||
"," @punctuation.delimiter
|
||||
";" @punctuation.delimiter
|
||||
"[" @punctuation.bracket
|
||||
"]" @punctuation.bracket
|
||||
"{" @punctuation.bracket
|
||||
"}" @punctuation.bracket
|
||||
|
||||
; Special memory references
|
||||
"DRegister[]" @variable.builtin
|
||||
"ARegister[]" @variable.builtin
|
||||
"PC[]" @variable.builtin
|
||||
|
||||
; Conditions in while loops
|
||||
(condition) @string.special
|
||||
482
src/grammar.json
Normal file
482
src/grammar.json
Normal file
@@ -0,0 +1,482 @@
|
||||
{
|
||||
"$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json",
|
||||
"name": "test_script",
|
||||
"rules": {
|
||||
"source_file": {
|
||||
"type": "REPEAT",
|
||||
"content": {
|
||||
"type": "SYMBOL",
|
||||
"name": "_item"
|
||||
}
|
||||
},
|
||||
"_item": {
|
||||
"type": "CHOICE",
|
||||
"members": [
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "comment"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "_whitespace"
|
||||
}
|
||||
]
|
||||
},
|
||||
"command": {
|
||||
"type": "CHOICE",
|
||||
"members": [
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "load_command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "output_file_command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "compare_to_command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "output_list_command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "set_command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "eval_command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "output_command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "tick_command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "tock_command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "ticktock_command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "repeat_command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "while_command"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "echo_command"
|
||||
}
|
||||
]
|
||||
},
|
||||
"load_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "load"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "filename"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ","
|
||||
}
|
||||
]
|
||||
},
|
||||
"output_file_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "output-file"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "filename"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ","
|
||||
}
|
||||
]
|
||||
},
|
||||
"compare_to_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "compare-to"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "filename"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ","
|
||||
}
|
||||
]
|
||||
},
|
||||
"output_list_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "output-list"
|
||||
},
|
||||
{
|
||||
"type": "REPEAT1",
|
||||
"content": {
|
||||
"type": "SYMBOL",
|
||||
"name": "output_spec"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ";"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "output"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ";"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tick_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "tick"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ","
|
||||
}
|
||||
]
|
||||
},
|
||||
"tock_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "tock"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ","
|
||||
}
|
||||
]
|
||||
},
|
||||
"ticktock_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "ticktock"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ";"
|
||||
}
|
||||
]
|
||||
},
|
||||
"eval_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "eval"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ","
|
||||
}
|
||||
]
|
||||
},
|
||||
"set_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "set"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "variable_reference"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "value"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ","
|
||||
}
|
||||
]
|
||||
},
|
||||
"repeat_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "repeat"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "number"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "{"
|
||||
},
|
||||
{
|
||||
"type": "REPEAT",
|
||||
"content": {
|
||||
"type": "SYMBOL",
|
||||
"name": "_item"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"while_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "while"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "condition"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "{"
|
||||
},
|
||||
{
|
||||
"type": "REPEAT",
|
||||
"content": {
|
||||
"type": "SYMBOL",
|
||||
"name": "_item"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"echo_command": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "echo"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "string"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": ";"
|
||||
}
|
||||
]
|
||||
},
|
||||
"variable_reference": {
|
||||
"type": "CHOICE",
|
||||
"members": [
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "memory_reference"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "register_reference"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "pin_reference"
|
||||
}
|
||||
]
|
||||
},
|
||||
"memory_reference": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "RAM"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "["
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "index"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "]"
|
||||
}
|
||||
]
|
||||
},
|
||||
"register_reference": {
|
||||
"type": "CHOICE",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "DRegister[]"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "ARegister[]"
|
||||
},
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "PC[]"
|
||||
},
|
||||
{
|
||||
"type": "PATTERN",
|
||||
"value": "[A-Z][a-zA-Z0-9_]*"
|
||||
}
|
||||
]
|
||||
},
|
||||
"pin_reference": {
|
||||
"type": "PATTERN",
|
||||
"value": "[a-zA-Z][a-zA-Z0-9_]*"
|
||||
},
|
||||
"output_spec": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "variable_reference"
|
||||
},
|
||||
{
|
||||
"type": "CHOICE",
|
||||
"members": [
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "format_spec"
|
||||
},
|
||||
{
|
||||
"type": "BLANK"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"format_spec": {
|
||||
"type": "PATTERN",
|
||||
"value": "%[BDSX]\\d+\\.\\d+\\.\\d+"
|
||||
},
|
||||
"value": {
|
||||
"type": "CHOICE",
|
||||
"members": [
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "number"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "binary_value"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"binary_value": {
|
||||
"type": "PATTERN",
|
||||
"value": "%B[01]+"
|
||||
},
|
||||
"number": {
|
||||
"type": "PATTERN",
|
||||
"value": "\\d+"
|
||||
},
|
||||
"index": {
|
||||
"type": "PATTERN",
|
||||
"value": "\\d+"
|
||||
},
|
||||
"filename": {
|
||||
"type": "PATTERN",
|
||||
"value": "[a-zA-Z0-9_.-]+\\.[a-zA-Z0-9]+"
|
||||
},
|
||||
"string": {
|
||||
"type": "PATTERN",
|
||||
"value": "\"[^\"]*\""
|
||||
},
|
||||
"condition": {
|
||||
"type": "PATTERN",
|
||||
"value": "[^{]+"
|
||||
},
|
||||
"comment": {
|
||||
"type": "TOKEN",
|
||||
"content": {
|
||||
"type": "SEQ",
|
||||
"members": [
|
||||
{
|
||||
"type": "STRING",
|
||||
"value": "//"
|
||||
},
|
||||
{
|
||||
"type": "PATTERN",
|
||||
"value": ".*"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"_whitespace": {
|
||||
"type": "PATTERN",
|
||||
"value": "\\s+"
|
||||
}
|
||||
},
|
||||
"extras": [
|
||||
{
|
||||
"type": "PATTERN",
|
||||
"value": "\\s"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "comment"
|
||||
}
|
||||
],
|
||||
"conflicts": [],
|
||||
"precedences": [],
|
||||
"externals": [],
|
||||
"inline": [],
|
||||
"supertypes": [],
|
||||
"reserved": {}
|
||||
}
|
||||
466
src/node-types.json
Normal file
466
src/node-types.json
Normal file
@@ -0,0 +1,466 @@
|
||||
[
|
||||
{
|
||||
"type": "command",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "compare_to_command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "echo_command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "eval_command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "load_command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "output_command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "output_file_command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "output_list_command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "repeat_command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "set_command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "tick_command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "ticktock_command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "tock_command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "while_command",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "compare_to_command",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "filename",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "echo_command",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "string",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "eval_command",
|
||||
"named": true,
|
||||
"fields": {}
|
||||
},
|
||||
{
|
||||
"type": "index",
|
||||
"named": true,
|
||||
"fields": {}
|
||||
},
|
||||
{
|
||||
"type": "load_command",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "filename",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "memory_reference",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "index",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"named": true,
|
||||
"fields": {}
|
||||
},
|
||||
{
|
||||
"type": "output_command",
|
||||
"named": true,
|
||||
"fields": {}
|
||||
},
|
||||
{
|
||||
"type": "output_file_command",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "filename",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "output_list_command",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": true,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "output_spec",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "output_spec",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": true,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "format_spec",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "variable_reference",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "register_reference",
|
||||
"named": true,
|
||||
"fields": {}
|
||||
},
|
||||
{
|
||||
"type": "repeat_command",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": true,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "comment",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "set_command",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": true,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "value",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "variable_reference",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "source_file",
|
||||
"named": true,
|
||||
"root": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": true,
|
||||
"required": false,
|
||||
"types": [
|
||||
{
|
||||
"type": "command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "comment",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "tick_command",
|
||||
"named": true,
|
||||
"fields": {}
|
||||
},
|
||||
{
|
||||
"type": "ticktock_command",
|
||||
"named": true,
|
||||
"fields": {}
|
||||
},
|
||||
{
|
||||
"type": "tock_command",
|
||||
"named": true,
|
||||
"fields": {}
|
||||
},
|
||||
{
|
||||
"type": "value",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "binary_value",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "variable_reference",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "memory_reference",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "pin_reference",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "register_reference",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "while_command",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": true,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "command",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "comment",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": ",",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": ";",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "ARegister[]",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "DRegister[]",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "PC[]",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "RAM",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "[",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "]",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "binary_value",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "comment",
|
||||
"named": true,
|
||||
"extra": true
|
||||
},
|
||||
{
|
||||
"type": "compare-to",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "condition",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "echo",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "eval",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "filename",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "format_spec",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "load",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "output",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "output-file",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "output-list",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "pin_reference",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "repeat",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "set",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "tick",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "ticktock",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "tock",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "while",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "{",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "}",
|
||||
"named": false
|
||||
}
|
||||
]
|
||||
2374
src/parser.c
Normal file
2374
src/parser.c
Normal file
File diff suppressed because it is too large
Load Diff
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":""}},"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}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
This file has an mtime of when this was started.
|
||||
@@ -0,0 +1 @@
|
||||
ba0613be3952ea6b
|
||||
@@ -0,0 +1 @@
|
||||
{"rustc":17575471286409424799,"features":"[]","declared_features":"[]","target":18075654292889257755,"profile":2330448797067240312,"path":12173251122716341842,"deps":[[2500451622461988341,"build_script_build",false,9708806444092971302],[15239743387783911605,"tree_sitter",false,7177391882046656325]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/tree-sitter-test-script-30a0eaecedb517a4/dep-lib-tree_sitter_test_script","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||
@@ -0,0 +1 @@
|
||||
26592f7d059cbc86
|
||||
@@ -0,0 +1 @@
|
||||
{"rustc":17575471286409424799,"features":"","declared_features":"","target":0,"profile":0,"path":0,"deps":[[2500451622461988341,"build_script_build",false,12647542576541896395]],"local":[{"RerunIfChanged":{"output":"debug/build/tree-sitter-test-script-45702426addf7919/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 @@
|
||||
e2545aab7ac946df
|
||||
@@ -0,0 +1 @@
|
||||
{"rustc":17575471286409424799,"features":"[]","declared_features":"[]","target":18075654292889257755,"profile":619605765252926426,"path":12173251122716341842,"deps":[[2500451622461988341,"build_script_build",false,9708806444092971302],[15239743387783911605,"tree_sitter",false,7177391882046656325]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/tree-sitter-test-script-726a9d4377dcc210/dep-test-lib-tree_sitter_test_script","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||
@@ -0,0 +1 @@
|
||||
cb8e68bcf61885af
|
||||
@@ -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-test-script-9975eff81b03fefb/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.
|
||||
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/test-script/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/test-script/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/test-script/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/test-script/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/test-script/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/test-script/target/debug/build/tree-sitter-92ae5a9847688efb/out
|
||||
@@ -0,0 +1 @@
|
||||
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/test-script/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/test-script/target/debug/build/tree-sitter-test-script-45702426addf7919/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/test-script/target/debug/build/tree-sitter-test-script-45702426addf7919/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/test-script/target/debug/build/tree-sitter-test-script-45702426addf7919/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/test-script/target/debug/build/tree-sitter-test-script-45702426addf7919/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/test-script/target/debug/build/tree-sitter-test-script-45702426addf7919/out
|
||||
cargo:rerun-if-changed=src/parser.c
|
||||
@@ -0,0 +1 @@
|
||||
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/test-script/target/debug/build/tree-sitter-test-script-45702426addf7919/out
|
||||
BIN
target/debug/build/tree-sitter-test-script-9975eff81b03fefb/build-script-build
Executable file
BIN
target/debug/build/tree-sitter-test-script-9975eff81b03fefb/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/test-script/target/debug/build/tree-sitter-test-script-9975eff81b03fefb/build_script_build-9975eff81b03fefb.d: bindings/rust/build.rs
|
||||
|
||||
/Users/soconnor/Documents/Projects/eceg431/nand2tetris-zed/grammars/test-script/target/debug/build/tree-sitter-test-script-9975eff81b03fefb/build_script_build-9975eff81b03fefb: 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/test-script/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/test-script/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/test-script/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/test-script/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/test-script/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