From 8797c9097f137bd5caa30bbbfb0fb04776ae40dc Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Sat, 1 Mar 2014 23:45:17 -0800 Subject: [PATCH] Add static library as an xcode build target --- tree_sitter.xcodeproj/project.pbxproj | 315 ++++++++++++++++++++------ 1 file changed, 241 insertions(+), 74 deletions(-) diff --git a/tree_sitter.xcodeproj/project.pbxproj b/tree_sitter.xcodeproj/project.pbxproj index 99538bb7..3f4fa743 100644 --- a/tree_sitter.xcodeproj/project.pbxproj +++ b/tree_sitter.xcodeproj/project.pbxproj @@ -7,60 +7,79 @@ objects = { /* Begin PBXBuildFile section */ - 12130605182C348F00FCF928 /* character_set.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12130603182C348F00FCF928 /* character_set.cpp */; }; - 1213060B182C389100FCF928 /* symbol.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12130609182C389100FCF928 /* symbol.cpp */; }; - 1213060E182C398300FCF928 /* choice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1213060C182C398300FCF928 /* choice.cpp */; }; - 12130611182C3A1100FCF928 /* blank.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1213060F182C3A1100FCF928 /* blank.cpp */; }; - 12130614182C3A1700FCF928 /* seq.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12130612182C3A1700FCF928 /* seq.cpp */; }; - 12130617182C3D2900FCF928 /* string.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12130615182C3D2900FCF928 /* string.cpp */; }; 1214930E181E200B008E9BDA /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 121492E9181E200B008E9BDA /* main.cpp */; }; - 122587AF18BDD28B00A68B84 /* built_in_symbols.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 122587AD18BDD28B00A68B84 /* built_in_symbols.cpp */; }; 122587B118BDD79600A68B84 /* follow_sets_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 122587B018BDD79600A68B84 /* follow_sets_spec.cpp */; }; - 122587B418BEE2C600A68B84 /* helpers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 122587B218BEE2C600A68B84 /* helpers.cpp */; }; 1225CC6418765693000D4723 /* prepare_grammar_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1225CC6318765693000D4723 /* prepare_grammar_spec.cpp */; }; - 1236A7C518B287DC00593ABB /* character_range.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1236A7C318B287DC00593ABB /* character_range.cpp */; }; - 1236A7D218B554C800593ABB /* prepared_grammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1236A7D018B554C800593ABB /* prepared_grammar.cpp */; }; - 1251209B1830145300C9B56A /* rule.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1251209A1830145300C9B56A /* rule.cpp */; }; + 123E850118C315AB002BF4FB /* document.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCF8C187C6282005A7A07 /* document.cpp */; }; + 123E850218C315AB002BF4FB /* tree.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12FD40DE1860064C0041A84E /* tree.cpp */; }; + 123E850318C315BE002BF4FB /* first_set.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFC41882153D005A7A07 /* first_set.cpp */; }; + 123E850418C315C2002BF4FB /* follow_sets.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12AB465D188BD03E00DE79DF /* follow_sets.cpp */; }; + 123E850518C315D2002BF4FB /* item.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFA218820137005A7A07 /* item.cpp */; }; + 123E850618C315D2002BF4FB /* item_set_closure.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFBE18820880005A7A07 /* item_set_closure.cpp */; }; + 123E850718C315D2002BF4FB /* item_set_transitions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFC118820A70005A7A07 /* item_set_transitions.cpp */; }; + 123E850818C315D2002BF4FB /* perform.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFA418820137005A7A07 /* perform.cpp */; }; + 123E850918C315D2002BF4FB /* rule_can_be_blank.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 127528B118AACAAA006B682B /* rule_can_be_blank.cpp */; }; + 123E850A18C315D2002BF4FB /* rule_transitions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFA618820137005A7A07 /* rule_transitions.cpp */; }; + 123E850B18C315D2002BF4FB /* compile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFAC18820181005A7A07 /* compile.cpp */; }; + 123E850C18C315F0002BF4FB /* c_code.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12FD405F185E68470041A84E /* c_code.cpp */; }; + 123E850D18C315F0002BF4FB /* helpers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 122587B218BEE2C600A68B84 /* helpers.cpp */; }; + 123E850E18C315F0002BF4FB /* grammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12F9A64F182DD6BC00FAF50C /* grammar.cpp */; }; + 123E850F18C315F0002BF4FB /* lex_table.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12FD40F5186A16020041A84E /* lex_table.cpp */; }; + 123E851018C315F0002BF4FB /* parse_table.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCF9D18820116005A7A07 /* parse_table.cpp */; }; + 123E851118C315F0002BF4FB /* expand_repeats.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12E75AA018930931001B8F10 /* expand_repeats.cpp */; }; + 123E851218C315F0002BF4FB /* extract_tokens.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCF8F1881FCCA005A7A07 /* extract_tokens.cpp */; }; + 123E851318C315F0002BF4FB /* perform.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCF911881FCCA005A7A07 /* perform.cpp */; }; + 123E851418C315F0002BF4FB /* prepared_grammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1236A7D018B554C800593ABB /* prepared_grammar.cpp */; }; + 123E851518C315F0002BF4FB /* blank.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1213060F182C3A1100FCF928 /* blank.cpp */; }; + 123E851618C315F0002BF4FB /* character_range.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1236A7C318B287DC00593ABB /* character_range.cpp */; }; + 123E851718C315F0002BF4FB /* character_set.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12130603182C348F00FCF928 /* character_set.cpp */; }; + 123E851818C315F0002BF4FB /* choice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1213060C182C398300FCF928 /* choice.cpp */; }; + 123E851918C315F0002BF4FB /* built_in_symbols.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 122587AD18BDD28B00A68B84 /* built_in_symbols.cpp */; }; + 123E851A18C315F0002BF4FB /* pattern.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 27A340F3EEB184C040521323 /* pattern.cpp */; }; + 123E851B18C315F0002BF4FB /* repeat.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12D136A2183678A2005F3369 /* repeat.cpp */; }; + 123E851C18C315F0002BF4FB /* rule.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1251209A1830145300C9B56A /* rule.cpp */; }; + 123E851D18C315F0002BF4FB /* rules.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12FD40E818641FB70041A84E /* rules.cpp */; }; + 123E851E18C315F0002BF4FB /* seq.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12130612182C3A1700FCF928 /* seq.cpp */; }; + 123E851F18C315F0002BF4FB /* string.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12130615182C3D2900FCF928 /* string.cpp */; }; + 123E852018C315F0002BF4FB /* symbol.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12130609182C389100FCF928 /* symbol.cpp */; }; + 123E852118C315F0002BF4FB /* visitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12FD40E618639B910041A84E /* visitor.cpp */; }; + 123E852218C3193A002BF4FB /* liblibtree_sitter.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 123E84FD18C31596002BF4FB /* liblibtree_sitter.a */; }; + 123E852518C319B9002BF4FB /* liblibtree_sitter.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 123E84FD18C31596002BF4FB /* liblibtree_sitter.a */; }; 12661BF418A1505A00A259FB /* character_set_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12661BF318A1505A00A259FB /* character_set_spec.cpp */; }; - 127528B318AACAAA006B682B /* rule_can_be_blank.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 127528B118AACAAA006B682B /* rule_can_be_blank.cpp */; }; 127528B518AACB70006B682B /* rule_can_be_blank_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 127528B418AACB70006B682B /* rule_can_be_blank_spec.cpp */; }; - 12AB465F188BD03E00DE79DF /* follow_sets.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12AB465D188BD03E00DE79DF /* follow_sets.cpp */; }; 12AB4661188CB3A300DE79DF /* item_set_closure_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12AB4660188CB3A300DE79DF /* item_set_closure_spec.cpp */; }; 12BC470718830BC5005AC502 /* first_set_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12BC470618830BC5005AC502 /* first_set_spec.cpp */; }; - 12D136A4183678A2005F3369 /* repeat.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12D136A2183678A2005F3369 /* repeat.cpp */; }; 12E75A9A1891BF57001B8F10 /* json.c in Sources */ = {isa = PBXBuildFile; fileRef = 12E75A981891BF3B001B8F10 /* json.c */; }; 12E75A9C1891C17D001B8F10 /* json_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12E75A9B1891C17D001B8F10 /* json_spec.cpp */; }; - 12E75AA218930931001B8F10 /* expand_repeats.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12E75AA018930931001B8F10 /* expand_repeats.cpp */; }; 12EDCF8A187B498C005A7A07 /* tree_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCF89187B498C005A7A07 /* tree_spec.cpp */; }; - 12EDCF8D187C6282005A7A07 /* document.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCF8C187C6282005A7A07 /* document.cpp */; }; - 12EDCF981881FCD5005A7A07 /* extract_tokens.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCF8F1881FCCA005A7A07 /* extract_tokens.cpp */; }; - 12EDCF991881FCD9005A7A07 /* perform.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCF911881FCCA005A7A07 /* perform.cpp */; }; - 12EDCFAF18820387005A7A07 /* parse_table.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCF9D18820116005A7A07 /* parse_table.cpp */; }; - 12EDCFB018820392005A7A07 /* item.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFA218820137005A7A07 /* item.cpp */; }; - 12EDCFB21882039A005A7A07 /* perform.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFA418820137005A7A07 /* perform.cpp */; }; - 12EDCFB31882039A005A7A07 /* rule_transitions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFA618820137005A7A07 /* rule_transitions.cpp */; }; - 12EDCFB418820519005A7A07 /* compile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFAC18820181005A7A07 /* compile.cpp */; }; 12EDCFBC188205BF005A7A07 /* rule_transitions_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFB6188205BA005A7A07 /* rule_transitions_spec.cpp */; }; 12EDCFBD188205BF005A7A07 /* perform_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFB7188205BA005A7A07 /* perform_spec.cpp */; }; - 12EDCFC018820880005A7A07 /* item_set_closure.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFBE18820880005A7A07 /* item_set_closure.cpp */; }; - 12EDCFC318820A70005A7A07 /* item_set_transitions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFC118820A70005A7A07 /* item_set_transitions.cpp */; }; - 12EDCFC61882153D005A7A07 /* first_set.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12EDCFC41882153D005A7A07 /* first_set.cpp */; }; 12F9A64E182DD5FD00FAF50C /* spec_helper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12F9A64C182DD5FD00FAF50C /* spec_helper.cpp */; }; - 12F9A651182DD6BC00FAF50C /* grammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12F9A64F182DD6BC00FAF50C /* grammar.cpp */; }; - 12FD4061185E68470041A84E /* c_code.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12FD405F185E68470041A84E /* c_code.cpp */; }; 12FD4064185E75290041A84E /* compile_examples.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12FD4063185E75290041A84E /* compile_examples.cpp */; }; 12FD40C2185EEB5E0041A84E /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 121492E9181E200B008E9BDA /* main.cpp */; }; 12FD40D2185EEB970041A84E /* arithmetic.c in Sources */ = {isa = PBXBuildFile; fileRef = 12FD4065185E7C2F0041A84E /* arithmetic.c */; }; 12FD40D8185FEEDF0041A84E /* rules_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 121492EA181E200B008E9BDA /* rules_spec.cpp */; }; 12FD40D9185FEEDF0041A84E /* pattern_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12D136A0183570F5005F3369 /* pattern_spec.cpp */; }; 12FD40DB185FEF0D0041A84E /* arithmetic_spec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12FD40DA185FEF0D0041A84E /* arithmetic_spec.cpp */; }; - 12FD40DF1860064C0041A84E /* tree.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12FD40DE1860064C0041A84E /* tree.cpp */; }; - 12FD40E718639B910041A84E /* visitor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12FD40E618639B910041A84E /* visitor.cpp */; }; - 12FD40E918641FB70041A84E /* rules.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12FD40E818641FB70041A84E /* rules.cpp */; }; - 12FD40F7186A16020041A84E /* lex_table.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 12FD40F5186A16020041A84E /* lex_table.cpp */; }; - 27A343CA69E17E0F9EBEDF1C /* pattern.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 27A340F3EEB184C040521323 /* pattern.cpp */; }; /* End PBXBuildFile section */ +/* Begin PBXContainerItemProxy section */ + 123E852618C319CA002BF4FB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 12E716FA181D010E0051A649 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 123E84FC18C31596002BF4FB; + remoteInfo = libtree_sitter; + }; + 123E852818C319D0002BF4FB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 12E716FA181D010E0051A649 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 123E84FC18C31596002BF4FB; + remoteInfo = libtree_sitter; + }; +/* End PBXContainerItemProxy section */ + /* Begin PBXCopyFilesBuildPhase section */ 12E71792181D02A80051A649 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; @@ -113,6 +132,7 @@ 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 /* liblibtree_sitter.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = liblibtree_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; }; @@ -180,10 +200,18 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 123E84FA18C31596002BF4FB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 12E71791181D02A80051A649 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 123E852218C3193A002BF4FB /* liblibtree_sitter.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -191,6 +219,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 123E852518C319B9002BF4FB /* liblibtree_sitter.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -334,6 +363,7 @@ children = ( 12E71794181D02A80051A649 /* compiler_specs */, 12FD40D1185EEB5E0041A84E /* runtime_specs */, + 123E84FD18C31596002BF4FB /* liblibtree_sitter.a */, ); name = Products; sourceTree = ""; @@ -453,7 +483,34 @@ }; /* End PBXGroup section */ +/* Begin PBXHeadersBuildPhase section */ + 123E84FB18C31596002BF4FB /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + /* Begin PBXNativeTarget section */ + 123E84FC18C31596002BF4FB /* libtree_sitter */ = { + isa = PBXNativeTarget; + buildConfigurationList = 123E850018C31597002BF4FB /* Build configuration list for PBXNativeTarget "libtree_sitter" */; + buildPhases = ( + 123E84F918C31596002BF4FB /* Sources */, + 123E84FA18C31596002BF4FB /* Frameworks */, + 123E84FB18C31596002BF4FB /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = libtree_sitter; + productName = libtree_sitter; + productReference = 123E84FD18C31596002BF4FB /* liblibtree_sitter.a */; + productType = "com.apple.product-type.library.static"; + }; 12E71793181D02A80051A649 /* compiler_specs */ = { isa = PBXNativeTarget; buildConfigurationList = 12E7179B181D02A80051A649 /* Build configuration list for PBXNativeTarget "compiler_specs" */; @@ -465,6 +522,7 @@ buildRules = ( ); dependencies = ( + 123E852918C319D0002BF4FB /* PBXTargetDependency */, ); name = compiler_specs; productName = Specs; @@ -482,6 +540,7 @@ buildRules = ( ); dependencies = ( + 123E852718C319CA002BF4FB /* PBXTargetDependency */, ); name = runtime_specs; productName = Specs; @@ -508,6 +567,7 @@ projectDirPath = ""; projectRoot = ""; targets = ( + 123E84FC18C31596002BF4FB /* libtree_sitter */, 12E71793181D02A80051A649 /* compiler_specs */, 12FD40B1185EEB5E0041A84E /* runtime_specs */, ); @@ -515,54 +575,63 @@ /* 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 /* perform.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 /* perform.cpp in Sources */, + 123E851118C315F0002BF4FB /* expand_repeats.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 12E71790181D02A80051A649 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 12130614182C3A1700FCF928 /* seq.cpp in Sources */, - 12EDCFB31882039A005A7A07 /* rule_transitions.cpp in Sources */, 12FD40D9185FEEDF0041A84E /* pattern_spec.cpp in Sources */, - 12130617182C3D2900FCF928 /* string.cpp in Sources */, - 12EDCFC018820880005A7A07 /* item_set_closure.cpp in Sources */, - 12E75AA218930931001B8F10 /* expand_repeats.cpp in Sources */, 12EDCFBD188205BF005A7A07 /* perform_spec.cpp in Sources */, 122587B118BDD79600A68B84 /* follow_sets_spec.cpp in Sources */, - 12EDCFC61882153D005A7A07 /* first_set.cpp in Sources */, - 12130611182C3A1100FCF928 /* blank.cpp in Sources */, - 12AB465F188BD03E00DE79DF /* follow_sets.cpp in Sources */, - 1213060E182C398300FCF928 /* choice.cpp in Sources */, - 127528B318AACAAA006B682B /* rule_can_be_blank.cpp in Sources */, 12F9A64E182DD5FD00FAF50C /* spec_helper.cpp in Sources */, - 12EDCFB018820392005A7A07 /* item.cpp in Sources */, - 12FD40F7186A16020041A84E /* lex_table.cpp in Sources */, 12AB4661188CB3A300DE79DF /* item_set_closure_spec.cpp in Sources */, - 12FD40E918641FB70041A84E /* rules.cpp in Sources */, 12661BF418A1505A00A259FB /* character_set_spec.cpp in Sources */, - 12EDCF981881FCD5005A7A07 /* extract_tokens.cpp in Sources */, - 12FD4061185E68470041A84E /* c_code.cpp in Sources */, 12FD40D8185FEEDF0041A84E /* rules_spec.cpp in Sources */, - 12EDCFC318820A70005A7A07 /* item_set_transitions.cpp in Sources */, - 122587B418BEE2C600A68B84 /* helpers.cpp in Sources */, 12FD4064185E75290041A84E /* compile_examples.cpp in Sources */, - 12EDCFAF18820387005A7A07 /* parse_table.cpp in Sources */, - 122587AF18BDD28B00A68B84 /* built_in_symbols.cpp in Sources */, 1214930E181E200B008E9BDA /* main.cpp in Sources */, - 12F9A651182DD6BC00FAF50C /* grammar.cpp in Sources */, - 12D136A4183678A2005F3369 /* repeat.cpp in Sources */, 1225CC6418765693000D4723 /* prepare_grammar_spec.cpp in Sources */, - 12EDCFB21882039A005A7A07 /* perform.cpp in Sources */, - 1236A7D218B554C800593ABB /* prepared_grammar.cpp in Sources */, - 12FD40E718639B910041A84E /* visitor.cpp in Sources */, - 12EDCF991881FCD9005A7A07 /* perform.cpp in Sources */, 12EDCFBC188205BF005A7A07 /* rule_transitions_spec.cpp in Sources */, - 12130605182C348F00FCF928 /* character_set.cpp in Sources */, - 12EDCFB418820519005A7A07 /* compile.cpp in Sources */, 12BC470718830BC5005AC502 /* first_set_spec.cpp in Sources */, - 1213060B182C389100FCF928 /* symbol.cpp in Sources */, 127528B518AACB70006B682B /* rule_can_be_blank_spec.cpp in Sources */, - 1236A7C518B287DC00593ABB /* character_range.cpp in Sources */, - 1251209B1830145300C9B56A /* rule.cpp in Sources */, - 27A343CA69E17E0F9EBEDF1C /* pattern.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -572,8 +641,6 @@ files = ( 12EDCF8A187B498C005A7A07 /* tree_spec.cpp in Sources */, 12E75A9A1891BF57001B8F10 /* json.c in Sources */, - 12EDCF8D187C6282005A7A07 /* document.cpp in Sources */, - 12FD40DF1860064C0041A84E /* tree.cpp in Sources */, 12FD40D2185EEB970041A84E /* arithmetic.c in Sources */, 12E75A9C1891C17D001B8F10 /* json_spec.cpp in Sources */, 12FD40DB185FEF0D0041A84E /* arithmetic_spec.cpp in Sources */, @@ -583,7 +650,105 @@ }; /* End PBXSourcesBuildPhase section */ +/* Begin PBXTargetDependency section */ + 123E852718C319CA002BF4FB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 123E84FC18C31596002BF4FB /* libtree_sitter */; + targetProxy = 123E852618C319CA002BF4FB /* PBXContainerItemProxy */; + }; + 123E852918C319D0002BF4FB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 123E84FC18C31596002BF4FB /* libtree_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 = { @@ -595,6 +760,7 @@ 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"; @@ -612,6 +778,7 @@ 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"; @@ -652,9 +819,7 @@ HEADER_SEARCH_PATHS = ( "$(inherited)", /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - externals/igloo, externals/bandit, - include, ); MACOSX_DEPLOYMENT_TARGET = 10.8; ONLY_ACTIVE_ARCH = YES; @@ -693,9 +858,7 @@ HEADER_SEARCH_PATHS = ( "$(inherited)", /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - externals/igloo, externals/bandit, - include, ); MACOSX_DEPLOYMENT_TARGET = 10.8; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -738,8 +901,6 @@ HEADER_SEARCH_PATHS = ( "$(inherited)", /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - externals/igloo, - include, externals/bandit, ); MACOSX_DEPLOYMENT_TARGET = 10.8; @@ -779,8 +940,6 @@ HEADER_SEARCH_PATHS = ( "$(inherited)", /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - externals/igloo, - include, externals/bandit, ); MACOSX_DEPLOYMENT_TARGET = 10.8; @@ -793,6 +952,14 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 123E850018C31597002BF4FB /* Build configuration list for PBXNativeTarget "libtree_sitter" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 123E84FE18C31597002BF4FB /* Debug */, + 123E84FF18C31597002BF4FB /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; 12E716FD181D010E0051A649 /* Build configuration list for PBXProject "tree_sitter" */ = { isa = XCConfigurationList; buildConfigurations = (