diff --git a/.gitignore b/.gitignore index 7852578e..d1705523 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ .idea spec/run.out* -*.xcodeproj/project.xcworkspace -*.xcodeproj/xcuserdata +*.xcodeproj +*.xcodeproj diff --git a/tree_sitter.gyp b/tree_sitter.gyp new file mode 100644 index 00000000..f77b4476 --- /dev/null +++ b/tree_sitter.gyp @@ -0,0 +1,56 @@ +{ + 'targets': [ + { + 'target_name': 'tree_sitter', + 'type': 'static_library', + 'include_dirs': [ + 'include', + 'src/compiler', + 'src/runtime', + ], + 'sources': [ + '"; }; - 12130604182C348F00FCF928 /* character_set.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = character_set.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; - 12130609182C389100FCF928 /* symbol.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = symbol.cpp; sourceTree = ""; }; - 1213060A182C389100FCF928 /* symbol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = symbol.h; sourceTree = ""; }; - 1213060C182C398300FCF928 /* choice.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = choice.cpp; sourceTree = ""; }; - 1213060D182C398300FCF928 /* choice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = choice.h; sourceTree = ""; }; - 1213060F182C3A1100FCF928 /* blank.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = blank.cpp; sourceTree = ""; }; - 12130610182C3A1100FCF928 /* blank.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = blank.h; sourceTree = ""; }; - 12130612182C3A1700FCF928 /* seq.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = seq.cpp; sourceTree = ""; }; - 12130613182C3A1700FCF928 /* seq.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = seq.h; sourceTree = ""; }; - 12130615182C3D2900FCF928 /* string.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = string.cpp; sourceTree = ""; }; - 12130616182C3D2900FCF928 /* string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = string.h; sourceTree = ""; }; - 121492E9181E200B008E9BDA /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = spec/main.cpp; sourceTree = SOURCE_ROOT; }; - 121492EA181E200B008E9BDA /* rules_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = rules_spec.cpp; path = spec/compiler/rules/rules_spec.cpp; sourceTree = SOURCE_ROOT; }; - 121D8B3018795CC0003CF44B /* parser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = parser.h; sourceTree = ""; }; - 122587AD18BDD28B00A68B84 /* built_in_symbols.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = built_in_symbols.cpp; sourceTree = ""; }; - 122587AE18BDD28B00A68B84 /* built_in_symbols.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = built_in_symbols.h; sourceTree = ""; }; - 122587B018BDD79600A68B84 /* follow_sets_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = follow_sets_spec.cpp; sourceTree = ""; }; - 122587B218BEE2C600A68B84 /* helpers.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = helpers.cpp; sourceTree = ""; }; - 122587B318BEE2C600A68B84 /* helpers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = helpers.h; sourceTree = ""; }; - 122587B518BF19CA00A68B84 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README.md; sourceTree = ""; }; - 1225CC6318765693000D4723 /* prepare_grammar_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = prepare_grammar_spec.cpp; sourceTree = ""; }; - 1236A7C318B287DC00593ABB /* character_range.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = character_range.cpp; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 1236A7C918B2A79F00593ABB /* rule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = rule.h; sourceTree = ""; }; - 1236A7CA18B2ABB900593ABB /* equals_pointer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = equals_pointer.h; sourceTree = ""; }; - 1236A7CC18B2B4F000593ABB /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = ""; }; - 1236A7CE18B3CC4800593ABB /* .travis.yml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .travis.yml; sourceTree = ""; }; - 1236A7D018B554C800593ABB /* prepared_grammar.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = prepared_grammar.cpp; sourceTree = ""; }; - 1236A7D118B554C800593ABB /* prepared_grammar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = prepared_grammar.h; sourceTree = ""; }; - 1236A7D418B72EB400593ABB /* character_range.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = character_range.h; sourceTree = ""; }; - 123E84FD18C31596002BF4FB /* libtree_sitter.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libtree_sitter.a; sourceTree = BUILT_PRODUCTS_DIR; }; - 1251209A1830145300C9B56A /* rule.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = rule.cpp; sourceTree = ""; }; - 125120A3183083BD00C9B56A /* arithmetic.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; lineEnding = 0; path = arithmetic.hpp; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 12661BF318A1505A00A259FB /* character_set_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = character_set_spec.cpp; path = spec/compiler/rules/character_set_spec.cpp; sourceTree = SOURCE_ROOT; }; - 127528AF18A6F9C6006B682B /* merge_transitions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = merge_transitions.h; sourceTree = ""; }; - 127528B118AACAAA006B682B /* rule_can_be_blank.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = rule_can_be_blank.cpp; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 127528B218AACAAA006B682B /* rule_can_be_blank.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = rule_can_be_blank.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; - 127528B418AACB70006B682B /* rule_can_be_blank_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = rule_can_be_blank_spec.cpp; sourceTree = ""; }; - 127528B918B041B6006B682B /* runtime.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = runtime.h; sourceTree = ""; }; - 12AB465D188BD03E00DE79DF /* follow_sets.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = follow_sets.cpp; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 12AB465E188BD03E00DE79DF /* follow_sets.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = follow_sets.h; sourceTree = ""; }; - 12AB4660188CB3A300DE79DF /* item_set_closure_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = item_set_closure_spec.cpp; sourceTree = ""; }; - 12AB4663188DCB9800DE79DF /* stream_methods.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = stream_methods.h; sourceTree = ""; }; - 12BC470618830BC5005AC502 /* first_set_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = first_set_spec.cpp; sourceTree = ""; }; - 12D1369E18342088005F3369 /* todo.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = todo.md; sourceTree = ""; }; - 12D136A0183570F5005F3369 /* pattern_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = pattern_spec.cpp; path = spec/compiler/rules/pattern_spec.cpp; sourceTree = SOURCE_ROOT; }; - 12D136A2183678A2005F3369 /* repeat.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = repeat.cpp; sourceTree = ""; }; - 12D136A3183678A2005F3369 /* repeat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = repeat.h; sourceTree = ""; }; - 12E71794181D02A80051A649 /* compiler_specs */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = compiler_specs; sourceTree = BUILT_PRODUCTS_DIR; }; - 12E71852181D081C0051A649 /* compiler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = compiler.h; path = include/tree_sitter/compiler.h; sourceTree = SOURCE_ROOT; }; - 12E75A961891BD32001B8F10 /* json.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; lineEnding = 0; path = json.hpp; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 12E75A981891BF3B001B8F10 /* json.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = json.c; sourceTree = ""; }; - 12E75A9B1891C17D001B8F10 /* json_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = json_spec.cpp; sourceTree = ""; }; - 12E75AA018930931001B8F10 /* expand_repeats.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = expand_repeats.cpp; path = src/compiler/prepare_grammar/expand_repeats.cpp; sourceTree = SOURCE_ROOT; }; - 12E75AA118930931001B8F10 /* expand_repeats.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; name = expand_repeats.h; path = src/compiler/prepare_grammar/expand_repeats.h; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; - 12EDCF89187B498C005A7A07 /* tree_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = tree_spec.cpp; sourceTree = ""; }; - 12EDCF8C187C6282005A7A07 /* document.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = document.cpp; sourceTree = ""; }; - 12EDCF8F1881FCCA005A7A07 /* extract_tokens.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; name = extract_tokens.cpp; path = src/compiler/prepare_grammar/extract_tokens.cpp; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 12EDCF901881FCCA005A7A07 /* extract_tokens.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = extract_tokens.h; path = src/compiler/prepare_grammar/extract_tokens.h; sourceTree = SOURCE_ROOT; }; - 12EDCF911881FCCA005A7A07 /* prepare_grammar.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = prepare_grammar.cpp; path = src/compiler/prepare_grammar/prepare_grammar.cpp; sourceTree = SOURCE_ROOT; }; - 12EDCF921881FCCA005A7A07 /* prepare_grammar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = prepare_grammar.h; path = src/compiler/prepare_grammar/prepare_grammar.h; sourceTree = SOURCE_ROOT; }; - 12EDCF9C18820116005A7A07 /* lex_table.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lex_table.h; sourceTree = ""; }; - 12EDCF9D18820116005A7A07 /* parse_table.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = parse_table.cpp; sourceTree = ""; }; - 12EDCF9E18820116005A7A07 /* parse_table.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = parse_table.h; sourceTree = ""; }; - 12EDCFA218820137005A7A07 /* item.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; name = item.cpp; path = src/compiler/build_tables/item.cpp; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 12EDCFA318820137005A7A07 /* item.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = item.h; path = src/compiler/build_tables/item.h; sourceTree = SOURCE_ROOT; }; - 12EDCFA418820137005A7A07 /* build_tables.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; name = build_tables.cpp; path = src/compiler/build_tables/build_tables.cpp; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 12EDCFA518820137005A7A07 /* build_tables.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = build_tables.h; path = src/compiler/build_tables/build_tables.h; sourceTree = SOURCE_ROOT; }; - 12EDCFA618820137005A7A07 /* rule_transitions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = rule_transitions.cpp; path = src/compiler/build_tables/rule_transitions.cpp; sourceTree = SOURCE_ROOT; }; - 12EDCFA718820137005A7A07 /* rule_transitions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = rule_transitions.h; path = src/compiler/build_tables/rule_transitions.h; sourceTree = SOURCE_ROOT; }; - 12EDCFAC18820181005A7A07 /* compile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = compile.cpp; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 12EDCFB6188205BA005A7A07 /* rule_transitions_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = rule_transitions_spec.cpp; sourceTree = ""; }; - 12EDCFB7188205BA005A7A07 /* build_tables_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = build_tables_spec.cpp; sourceTree = ""; }; - 12EDCFBE18820880005A7A07 /* item_set_closure.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = item_set_closure.cpp; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 12EDCFBF18820880005A7A07 /* item_set_closure.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = item_set_closure.h; sourceTree = ""; }; - 12EDCFC118820A70005A7A07 /* item_set_transitions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = item_set_transitions.cpp; sourceTree = ""; }; - 12EDCFC218820A70005A7A07 /* item_set_transitions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = item_set_transitions.h; sourceTree = ""; }; - 12EDCFC41882153D005A7A07 /* first_set.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = first_set.cpp; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 12EDCFC51882153D005A7A07 /* first_set.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = first_set.h; sourceTree = ""; }; - 12F9A64C182DD5FD00FAF50C /* spec_helper.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = spec_helper.cpp; path = spec/spec_helper.cpp; sourceTree = SOURCE_ROOT; }; - 12F9A64D182DD5FD00FAF50C /* spec_helper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; name = spec_helper.h; path = spec/spec_helper.h; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; - 12F9A64F182DD6BC00FAF50C /* grammar.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; name = grammar.cpp; path = src/compiler/grammar.cpp; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 12FD405F185E68470041A84E /* c_code.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = c_code.cpp; path = src/compiler/generate_code/c_code.cpp; sourceTree = SOURCE_ROOT; }; - 12FD4060185E68470041A84E /* c_code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; name = c_code.h; path = src/compiler/generate_code/c_code.h; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; - 12FD4063185E75290041A84E /* compile_examples.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; name = compile_examples.cpp; path = spec/compiler/compile_examples.cpp; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 12FD4065185E7C2F0041A84E /* arithmetic.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = arithmetic.c; sourceTree = ""; }; - 12FD40D1185EEB5E0041A84E /* runtime_specs */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = runtime_specs; sourceTree = BUILT_PRODUCTS_DIR; }; - 12FD40DA185FEF0D0041A84E /* arithmetic_spec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = arithmetic_spec.cpp; sourceTree = ""; }; - 12FD40DE1860064C0041A84E /* tree.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = tree.cpp; sourceTree = ""; }; - 12FD40E41862B3530041A84E /* visitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = visitor.h; sourceTree = ""; }; - 12FD40E618639B910041A84E /* visitor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = visitor.cpp; sourceTree = ""; }; - 12FD40E818641FB70041A84E /* rules.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; lineEnding = 0; path = rules.cpp; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.cpp; }; - 12FD40F5186A16020041A84E /* lex_table.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lex_table.cpp; sourceTree = ""; }; - 27A340F3EEB184C040521323 /* pattern.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = pattern.cpp; sourceTree = ""; }; - 27A3438C4FA59A3882E8493B /* pattern.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pattern.h; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 123E84FA18C31596002BF4FB /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 12E71791181D02A80051A649 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 123E852218C3193A002BF4FB /* libtree_sitter.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 12FD40CC185EEB5E0041A84E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 123E852518C319B9002BF4FB /* libtree_sitter.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 12130602182C344400FCF928 /* rules */ = { - isa = PBXGroup; - children = ( - 1213060F182C3A1100FCF928 /* blank.cpp */, - 12130610182C3A1100FCF928 /* blank.h */, - 1236A7C318B287DC00593ABB /* character_range.cpp */, - 1236A7D418B72EB400593ABB /* character_range.h */, - 12130603182C348F00FCF928 /* character_set.cpp */, - 12130604182C348F00FCF928 /* character_set.h */, - 1213060C182C398300FCF928 /* choice.cpp */, - 1213060D182C398300FCF928 /* choice.h */, - 122587AD18BDD28B00A68B84 /* built_in_symbols.cpp */, - 122587AE18BDD28B00A68B84 /* built_in_symbols.h */, - 27A340F3EEB184C040521323 /* pattern.cpp */, - 27A3438C4FA59A3882E8493B /* pattern.h */, - 12D136A2183678A2005F3369 /* repeat.cpp */, - 12D136A3183678A2005F3369 /* repeat.h */, - 1251209A1830145300C9B56A /* rule.cpp */, - 1236A7C918B2A79F00593ABB /* rule.h */, - 12FD40E818641FB70041A84E /* rules.cpp */, - 12130612182C3A1700FCF928 /* seq.cpp */, - 12130613182C3A1700FCF928 /* seq.h */, - 12130615182C3D2900FCF928 /* string.cpp */, - 12130616182C3D2900FCF928 /* string.h */, - 12130609182C389100FCF928 /* symbol.cpp */, - 1213060A182C389100FCF928 /* symbol.h */, - 12FD40E618639B910041A84E /* visitor.cpp */, - 12FD40E41862B3530041A84E /* visitor.h */, - ); - path = rules; - sourceTree = ""; - }; - 12130618182C84B700FCF928 /* build_tables */ = { - isa = PBXGroup; - children = ( - 12EDCFC41882153D005A7A07 /* first_set.cpp */, - 12EDCFC51882153D005A7A07 /* first_set.h */, - 12AB465D188BD03E00DE79DF /* follow_sets.cpp */, - 12AB465E188BD03E00DE79DF /* follow_sets.h */, - 12EDCFA218820137005A7A07 /* item.cpp */, - 12EDCFA318820137005A7A07 /* item.h */, - 12EDCFBE18820880005A7A07 /* item_set_closure.cpp */, - 12EDCFBF18820880005A7A07 /* item_set_closure.h */, - 12EDCFC118820A70005A7A07 /* item_set_transitions.cpp */, - 12EDCFC218820A70005A7A07 /* item_set_transitions.h */, - 127528AF18A6F9C6006B682B /* merge_transitions.h */, - 12EDCFA418820137005A7A07 /* build_tables.cpp */, - 12EDCFA518820137005A7A07 /* build_tables.h */, - 127528B118AACAAA006B682B /* rule_can_be_blank.cpp */, - 127528B218AACAAA006B682B /* rule_can_be_blank.h */, - 12EDCFA618820137005A7A07 /* rule_transitions.cpp */, - 12EDCFA718820137005A7A07 /* rule_transitions.h */, - ); - path = build_tables; - sourceTree = ""; - }; - 1213061C182C854F00FCF928 /* build_tables */ = { - isa = PBXGroup; - children = ( - 12BC470618830BC5005AC502 /* first_set_spec.cpp */, - 122587B018BDD79600A68B84 /* follow_sets_spec.cpp */, - 12AB4660188CB3A300DE79DF /* item_set_closure_spec.cpp */, - 12EDCFB7188205BA005A7A07 /* build_tables_spec.cpp */, - 127528B418AACB70006B682B /* rule_can_be_blank_spec.cpp */, - 12EDCFB6188205BA005A7A07 /* rule_transitions_spec.cpp */, - ); - path = build_tables; - sourceTree = ""; - }; - 1236A7CB18B2ACA700593ABB /* tree_sitter */ = { - isa = PBXGroup; - children = ( - 12E71852181D081C0051A649 /* compiler.h */, - 121D8B3018795CC0003CF44B /* parser.h */, - 127528B918B041B6006B682B /* runtime.h */, - ); - path = tree_sitter; - sourceTree = ""; - }; - 125120A118307FCA00C9B56A /* grammars */ = { - isa = PBXGroup; - children = ( - 125120A3183083BD00C9B56A /* arithmetic.hpp */, - 12E75A961891BD32001B8F10 /* json.hpp */, - ); - path = grammars; - sourceTree = ""; - }; - 12AB4662188DCB7B00DE79DF /* helpers */ = { - isa = PBXGroup; - children = ( - 1236A7CA18B2ABB900593ABB /* equals_pointer.h */, - 12AB4663188DCB9800DE79DF /* stream_methods.h */, - ); - path = helpers; - sourceTree = ""; - }; - 12D1369F18357066005F3369 /* rules */ = { - isa = PBXGroup; - children = ( - 12661BF318A1505A00A259FB /* character_set_spec.cpp */, - 12D136A0183570F5005F3369 /* pattern_spec.cpp */, - 121492EA181E200B008E9BDA /* rules_spec.cpp */, - ); - name = rules; - path = compiler/rules; - sourceTree = ""; - }; - 12E716F9181D010E0051A649 = { - isa = PBXGroup; - children = ( - 1236A7CE18B3CC4800593ABB /* .travis.yml */, - 12FD40AF185EE81D0041A84E /* examples */, - 12FD40D3185FED630041A84E /* include */, - 1236A7CC18B2B4F000593ABB /* Makefile */, - 12E71795181D02A80051A649 /* Products */, - 122587B518BF19CA00A68B84 /* README.md */, - 12E71796181D02A80051A649 /* spec */, - 12E71701181D01890051A649 /* src */, - 12D1369E18342088005F3369 /* todo.md */, - ); - sourceTree = ""; - }; - 12E71701181D01890051A649 /* src */ = { - isa = PBXGroup; - children = ( - 12FD40AD185EE5440041A84E /* runtime */, - 12FD40AC185EE4C00041A84E /* compiler */, - ); - path = src; - sourceTree = ""; - }; - 12E71795181D02A80051A649 /* Products */ = { - isa = PBXGroup; - children = ( - 12E71794181D02A80051A649 /* compiler_specs */, - 12FD40D1185EEB5E0041A84E /* runtime_specs */, - 123E84FD18C31596002BF4FB /* libtree_sitter.a */, - ); - name = Products; - sourceTree = ""; - }; - 12E71796181D02A80051A649 /* spec */ = { - isa = PBXGroup; - children = ( - 12FD40AE185EE6610041A84E /* compiler */, - 12AB4662188DCB7B00DE79DF /* helpers */, - 121492E9181E200B008E9BDA /* main.cpp */, - 12FD40B0185EE97E0041A84E /* runtime */, - 12F9A64C182DD5FD00FAF50C /* spec_helper.cpp */, - 12F9A64D182DD5FD00FAF50C /* spec_helper.h */, - ); - path = spec; - sourceTree = ""; - }; - 12ED72A5186FC6D90089229B /* prepare_grammar */ = { - isa = PBXGroup; - children = ( - 12E75AA018930931001B8F10 /* expand_repeats.cpp */, - 12E75AA118930931001B8F10 /* expand_repeats.h */, - 12EDCF8F1881FCCA005A7A07 /* extract_tokens.cpp */, - 12EDCF901881FCCA005A7A07 /* extract_tokens.h */, - 12EDCF911881FCCA005A7A07 /* prepare_grammar.cpp */, - 12EDCF921881FCCA005A7A07 /* prepare_grammar.h */, - ); - name = prepare_grammar; - path = grammar; - sourceTree = ""; - }; - 12FD4062185E74DF0041A84E /* parsers */ = { - isa = PBXGroup; - children = ( - 12FD4065185E7C2F0041A84E /* arithmetic.c */, - 12E75A981891BF3B001B8F10 /* json.c */, - ); - path = parsers; - sourceTree = ""; - }; - 12FD4067185E8AF40041A84E /* generate_code */ = { - isa = PBXGroup; - children = ( - 12FD405F185E68470041A84E /* c_code.cpp */, - 12FD4060185E68470041A84E /* c_code.h */, - 122587B218BEE2C600A68B84 /* helpers.cpp */, - 122587B318BEE2C600A68B84 /* helpers.h */, - ); - path = generate_code; - sourceTree = ""; - }; - 12FD40AC185EE4C00041A84E /* compiler */ = { - isa = PBXGroup; - children = ( - 12130618182C84B700FCF928 /* build_tables */, - 12EDCFAC18820181005A7A07 /* compile.cpp */, - 12FD4067185E8AF40041A84E /* generate_code */, - 12F9A64F182DD6BC00FAF50C /* grammar.cpp */, - 12FD40F5186A16020041A84E /* lex_table.cpp */, - 12EDCF9C18820116005A7A07 /* lex_table.h */, - 12EDCF9D18820116005A7A07 /* parse_table.cpp */, - 12EDCF9E18820116005A7A07 /* parse_table.h */, - 12ED72A5186FC6D90089229B /* prepare_grammar */, - 1236A7D018B554C800593ABB /* prepared_grammar.cpp */, - 1236A7D118B554C800593ABB /* prepared_grammar.h */, - 12130602182C344400FCF928 /* rules */, - ); - path = compiler; - sourceTree = ""; - }; - 12FD40AD185EE5440041A84E /* runtime */ = { - isa = PBXGroup; - children = ( - 12EDCF8C187C6282005A7A07 /* document.cpp */, - 12FD40DE1860064C0041A84E /* tree.cpp */, - ); - path = runtime; - sourceTree = ""; - }; - 12FD40AE185EE6610041A84E /* compiler */ = { - isa = PBXGroup; - children = ( - 1213061C182C854F00FCF928 /* build_tables */, - 12FD4063185E75290041A84E /* compile_examples.cpp */, - 1225CC6318765693000D4723 /* prepare_grammar_spec.cpp */, - 12D1369F18357066005F3369 /* rules */, - ); - path = compiler; - sourceTree = ""; - }; - 12FD40AF185EE81D0041A84E /* examples */ = { - isa = PBXGroup; - children = ( - 125120A118307FCA00C9B56A /* grammars */, - 12FD4062185E74DF0041A84E /* parsers */, - ); - path = examples; - sourceTree = ""; - }; - 12FD40B0185EE97E0041A84E /* runtime */ = { - isa = PBXGroup; - children = ( - 12FD40DA185FEF0D0041A84E /* arithmetic_spec.cpp */, - 12E75A9B1891C17D001B8F10 /* json_spec.cpp */, - 12EDCF89187B498C005A7A07 /* tree_spec.cpp */, - ); - path = runtime; - sourceTree = ""; - }; - 12FD40D3185FED630041A84E /* include */ = { - isa = PBXGroup; - children = ( - 1236A7CB18B2ACA700593ABB /* tree_sitter */, - ); - path = include; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 123E84FB18C31596002BF4FB /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 123E84FC18C31596002BF4FB /* tree_sitter */ = { - isa = PBXNativeTarget; - buildConfigurationList = 123E850018C31597002BF4FB /* Build configuration list for PBXNativeTarget "tree_sitter" */; - buildPhases = ( - 123E84F918C31596002BF4FB /* Sources */, - 123E84FA18C31596002BF4FB /* Frameworks */, - 123E84FB18C31596002BF4FB /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = tree_sitter; - productName = libtree_sitter; - productReference = 123E84FD18C31596002BF4FB /* libtree_sitter.a */; - productType = "com.apple.product-type.library.static"; - }; - 12E71793181D02A80051A649 /* compiler_specs */ = { - isa = PBXNativeTarget; - buildConfigurationList = 12E7179B181D02A80051A649 /* Build configuration list for PBXNativeTarget "compiler_specs" */; - buildPhases = ( - 12E71790181D02A80051A649 /* Sources */, - 12E71791181D02A80051A649 /* Frameworks */, - 12E71792181D02A80051A649 /* CopyFiles */, - ); - buildRules = ( - ); - dependencies = ( - 123E852918C319D0002BF4FB /* PBXTargetDependency */, - ); - name = compiler_specs; - productName = Specs; - productReference = 12E71794181D02A80051A649 /* compiler_specs */; - productType = "com.apple.product-type.tool"; - }; - 12FD40B1185EEB5E0041A84E /* runtime_specs */ = { - isa = PBXNativeTarget; - buildConfigurationList = 12FD40CE185EEB5E0041A84E /* Build configuration list for PBXNativeTarget "runtime_specs" */; - buildPhases = ( - 12FD40B2185EEB5E0041A84E /* Sources */, - 12FD40CC185EEB5E0041A84E /* Frameworks */, - 12FD40CD185EEB5E0041A84E /* CopyFiles */, - ); - buildRules = ( - ); - dependencies = ( - 123E852718C319CA002BF4FB /* PBXTargetDependency */, - ); - name = runtime_specs; - productName = Specs; - productReference = 12FD40D1185EEB5E0041A84E /* runtime_specs */; - productType = "com.apple.product-type.tool"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 12E716FA181D010E0051A649 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0500; - }; - buildConfigurationList = 12E716FD181D010E0051A649 /* Build configuration list for PBXProject "tree_sitter" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 12E716F9181D010E0051A649; - productRefGroup = 12E71795181D02A80051A649 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 123E84FC18C31596002BF4FB /* tree_sitter */, - 12E71793181D02A80051A649 /* compiler_specs */, - 12FD40B1185EEB5E0041A84E /* runtime_specs */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXSourcesBuildPhase section */ - 123E84F918C31596002BF4FB /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 123E850918C315D2002BF4FB /* rule_can_be_blank.cpp in Sources */, - 123E850318C315BE002BF4FB /* first_set.cpp in Sources */, - 123E852118C315F0002BF4FB /* visitor.cpp in Sources */, - 123E851518C315F0002BF4FB /* blank.cpp in Sources */, - 123E851018C315F0002BF4FB /* parse_table.cpp in Sources */, - 123E851218C315F0002BF4FB /* extract_tokens.cpp in Sources */, - 123E851F18C315F0002BF4FB /* string.cpp in Sources */, - 123E850D18C315F0002BF4FB /* helpers.cpp in Sources */, - 123E851318C315F0002BF4FB /* prepare_grammar.cpp in Sources */, - 123E850A18C315D2002BF4FB /* rule_transitions.cpp in Sources */, - 123E850418C315C2002BF4FB /* follow_sets.cpp in Sources */, - 123E850C18C315F0002BF4FB /* c_code.cpp in Sources */, - 123E850118C315AB002BF4FB /* document.cpp in Sources */, - 123E851718C315F0002BF4FB /* character_set.cpp in Sources */, - 123E850E18C315F0002BF4FB /* grammar.cpp in Sources */, - 123E851C18C315F0002BF4FB /* rule.cpp in Sources */, - 123E850B18C315D2002BF4FB /* compile.cpp in Sources */, - 123E851E18C315F0002BF4FB /* seq.cpp in Sources */, - 123E852018C315F0002BF4FB /* symbol.cpp in Sources */, - 123E851A18C315F0002BF4FB /* pattern.cpp in Sources */, - 123E851818C315F0002BF4FB /* choice.cpp in Sources */, - 123E850718C315D2002BF4FB /* item_set_transitions.cpp in Sources */, - 123E850F18C315F0002BF4FB /* lex_table.cpp in Sources */, - 123E851B18C315F0002BF4FB /* repeat.cpp in Sources */, - 123E851418C315F0002BF4FB /* prepared_grammar.cpp in Sources */, - 123E850518C315D2002BF4FB /* item.cpp in Sources */, - 123E851618C315F0002BF4FB /* character_range.cpp in Sources */, - 123E851D18C315F0002BF4FB /* rules.cpp in Sources */, - 123E850218C315AB002BF4FB /* tree.cpp in Sources */, - 123E851918C315F0002BF4FB /* built_in_symbols.cpp in Sources */, - 123E850618C315D2002BF4FB /* item_set_closure.cpp in Sources */, - 123E850818C315D2002BF4FB /* build_tables.cpp in Sources */, - 123E851118C315F0002BF4FB /* expand_repeats.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 12E71790181D02A80051A649 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 12FD40D9185FEEDF0041A84E /* pattern_spec.cpp in Sources */, - 12EDCFBD188205BF005A7A07 /* build_tables_spec.cpp in Sources */, - 122587B118BDD79600A68B84 /* follow_sets_spec.cpp in Sources */, - 12F9A64E182DD5FD00FAF50C /* spec_helper.cpp in Sources */, - 12AB4661188CB3A300DE79DF /* item_set_closure_spec.cpp in Sources */, - 12661BF418A1505A00A259FB /* character_set_spec.cpp in Sources */, - 12FD40D8185FEEDF0041A84E /* rules_spec.cpp in Sources */, - 12FD4064185E75290041A84E /* compile_examples.cpp in Sources */, - 1214930E181E200B008E9BDA /* main.cpp in Sources */, - 1225CC6418765693000D4723 /* prepare_grammar_spec.cpp in Sources */, - 12EDCFBC188205BF005A7A07 /* rule_transitions_spec.cpp in Sources */, - 12BC470718830BC5005AC502 /* first_set_spec.cpp in Sources */, - 127528B518AACB70006B682B /* rule_can_be_blank_spec.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 12FD40B2185EEB5E0041A84E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 12EDCF8A187B498C005A7A07 /* tree_spec.cpp in Sources */, - 12E75A9A1891BF57001B8F10 /* json.c in Sources */, - 12FD40D2185EEB970041A84E /* arithmetic.c in Sources */, - 12E75A9C1891C17D001B8F10 /* json_spec.cpp in Sources */, - 12FD40DB185FEF0D0041A84E /* arithmetic_spec.cpp in Sources */, - 12FD40C2185EEB5E0041A84E /* main.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 123E852718C319CA002BF4FB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 123E84FC18C31596002BF4FB /* tree_sitter */; - targetProxy = 123E852618C319CA002BF4FB /* PBXContainerItemProxy */; - }; - 123E852918C319D0002BF4FB /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 123E84FC18C31596002BF4FB /* tree_sitter */; - targetProxy = 123E852818C319D0002BF4FB /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 123E84FE18C31597002BF4FB /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - EXECUTABLE_PREFIX = lib; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_INLINES_ARE_PRIVATE_EXTERN = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - ); - MACOSX_DEPLOYMENT_TARGET = 10.9; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - USER_HEADER_SEARCH_PATHS = ""; - }; - name = Debug; - }; - 123E84FF18C31597002BF4FB /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - EXECUTABLE_PREFIX = lib; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_INLINES_ARE_PRIVATE_EXTERN = YES; - GCC_SYMBOLS_PRIVATE_EXTERN = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - ); - MACOSX_DEPLOYMENT_TARGET = 10.9; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - USER_HEADER_SEARCH_PATHS = ""; - }; - name = Release; - }; - 12E716FE181D010E0051A649 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_VERSION = ""; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - spec/externals/igloo, - src/externals/boost, - src/compiler, - src/runtime, - include, - ); - STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = dynamic; - USER_HEADER_SEARCH_PATHS = "src/externals/boost spec/externals/igloo"; - }; - name = Debug; - }; - 12E716FF181D010E0051A649 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_VERSION = ""; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - spec/externals/igloo, - src/externals/boost, - src/compiler, - src/runtime, - include, - ); - STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = dynamic; - USER_HEADER_SEARCH_PATHS = "src/externals/boost spec/externals/igloo"; - }; - name = Release; - }; - 12E7179C181D02A80051A649 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "c++11"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - externals/bandit, - ); - MACOSX_DEPLOYMENT_TARGET = 10.8; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - USER_HEADER_SEARCH_PATHS = ""; - }; - name = Debug; - }; - 12E7179D181D02A80051A649 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "c++11"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - externals/bandit, - ); - MACOSX_DEPLOYMENT_TARGET = 10.8; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - USER_HEADER_SEARCH_PATHS = ""; - }; - name = Release; - }; - 12FD40CF185EEB5E0041A84E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "c++11"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - externals/bandit, - ); - MACOSX_DEPLOYMENT_TARGET = 10.8; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = runtime_specs; - SDKROOT = macosx; - USER_HEADER_SEARCH_PATHS = ""; - }; - name = Debug; - }; - 12FD40D0185EEB5E0041A84E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "c++11"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - externals/bandit, - ); - MACOSX_DEPLOYMENT_TARGET = 10.8; - PRODUCT_NAME = runtime_specs; - SDKROOT = macosx; - USER_HEADER_SEARCH_PATHS = ""; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 123E850018C31597002BF4FB /* Build configuration list for PBXNativeTarget "tree_sitter" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 123E84FE18C31597002BF4FB /* Debug */, - 123E84FF18C31597002BF4FB /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 12E716FD181D010E0051A649 /* Build configuration list for PBXProject "tree_sitter" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 12E716FE181D010E0051A649 /* Debug */, - 12E716FF181D010E0051A649 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 12E7179B181D02A80051A649 /* Build configuration list for PBXNativeTarget "compiler_specs" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 12E7179C181D02A80051A649 /* Debug */, - 12E7179D181D02A80051A649 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 12FD40CE185EEB5E0041A84E /* Build configuration list for PBXNativeTarget "runtime_specs" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 12FD40CF185EEB5E0041A84E /* Debug */, - 12FD40D0185EEB5E0041A84E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 12E716FA181D010E0051A649 /* Project object */; -} diff --git a/tree_sitter.xcodeproj/xcshareddata/xcschemes/compiler_specs.xcscheme b/tree_sitter.xcodeproj/xcshareddata/xcschemes/compiler_specs.xcscheme deleted file mode 100644 index 9ad6bf79..00000000 --- a/tree_sitter.xcodeproj/xcshareddata/xcschemes/compiler_specs.xcscheme +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tree_sitter.xcodeproj/xcshareddata/xcschemes/runtime_specs.xcscheme b/tree_sitter.xcodeproj/xcshareddata/xcschemes/runtime_specs.xcscheme deleted file mode 100644 index 4ff61d86..00000000 --- a/tree_sitter.xcodeproj/xcshareddata/xcschemes/runtime_specs.xcscheme +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tree_sitter.xcodeproj/xcshareddata/xcschemes/tree_sitter.xcscheme b/tree_sitter.xcodeproj/xcshareddata/xcschemes/tree_sitter.xcscheme deleted file mode 100644 index ce14ada7..00000000 --- a/tree_sitter.xcodeproj/xcshareddata/xcschemes/tree_sitter.xcscheme +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -