Wuff 0.0.3__tar.gz → 0.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of Wuff might be problematic. Click here for more details.

Files changed (77) hide show
  1. {Wuff-0.0.3 → Wuff-0.0.4}/PKG-INFO +2 -2
  2. {Wuff-0.0.3 → Wuff-0.0.4}/Wuff.egg-info/PKG-INFO +2 -2
  3. {Wuff-0.0.3 → Wuff-0.0.4}/Wuff.egg-info/SOURCES.txt +0 -3
  4. {Wuff-0.0.3 → Wuff-0.0.4}/setup.py +2 -2
  5. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Completer.cpp +1 -1
  6. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Folder.cpp +1 -1
  7. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Highlighter.cpp +3 -3
  8. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Hoverer.cpp +1 -1
  9. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/DialectManager.cpp +1 -1
  10. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/parser/Parser.cpp +2 -2
  11. Wuff-0.0.4/wuff/tree-sitter/woowoo/parser.c +10363 -0
  12. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/tree-sitter/woowoo/scanner.cc +1 -1
  13. Wuff-0.0.3/wuff/LICENSE +0 -21
  14. Wuff-0.0.3/wuff/components/queries/highlights.scm +0 -46
  15. Wuff-0.0.3/wuff/components/queries/yaml-highlights.scm +0 -56
  16. Wuff-0.0.3/wuff/tree-sitter/woowoo/parser.c +0 -6173
  17. {Wuff-0.0.3 → Wuff-0.0.4}/MANIFEST.in +0 -0
  18. {Wuff-0.0.3 → Wuff-0.0.4}/README.md +0 -0
  19. {Wuff-0.0.3 → Wuff-0.0.4}/Wuff.egg-info/dependency_links.txt +0 -0
  20. {Wuff-0.0.3 → Wuff-0.0.4}/Wuff.egg-info/not-zip-safe +0 -0
  21. {Wuff-0.0.3 → Wuff-0.0.4}/Wuff.egg-info/requires.txt +0 -0
  22. {Wuff-0.0.3 → Wuff-0.0.4}/Wuff.egg-info/top_level.txt +0 -0
  23. {Wuff-0.0.3 → Wuff-0.0.4}/setup.cfg +0 -0
  24. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/Bindings.cpp +0 -0
  25. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/CMakeLists.txt +0 -0
  26. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/README.md +0 -0
  27. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/WooWooAnalyzer.cpp +0 -0
  28. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/WooWooAnalyzer.h +0 -0
  29. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Completer.h +0 -0
  30. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Component.cpp +0 -0
  31. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Component.h +0 -0
  32. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Folder.h +0 -0
  33. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Highlighter.h +0 -0
  34. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Hoverer.h +0 -0
  35. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Linter.cpp +0 -0
  36. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Linter.h +0 -0
  37. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Navigator.cpp +0 -0
  38. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/components/Navigator.h +0 -0
  39. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/Dialect.cpp +0 -0
  40. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/Dialect.h +0 -0
  41. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/DialectManager.h +0 -0
  42. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/DocumentPart.cpp +0 -0
  43. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/DocumentPart.h +0 -0
  44. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/Field.cpp +0 -0
  45. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/Field.h +0 -0
  46. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/IDescribable.h +0 -0
  47. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/InnerEnvironment.cpp +0 -0
  48. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/InnerEnvironment.h +0 -0
  49. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/MetaBlock.cpp +0 -0
  50. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/MetaBlock.h +0 -0
  51. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/OuterEnvironment.cpp +0 -0
  52. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/OuterEnvironment.h +0 -0
  53. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/Reference.cpp +0 -0
  54. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/Reference.h +0 -0
  55. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/Shorthand.cpp +0 -0
  56. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/Shorthand.h +0 -0
  57. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/Wobject.cpp +0 -0
  58. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/dialect/Wobject.h +0 -0
  59. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/document/CommentLine.cpp +0 -0
  60. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/document/CommentLine.h +0 -0
  61. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/document/DialectedWooWooDocument.cpp +0 -0
  62. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/document/DialectedWooWooDocument.h +0 -0
  63. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/document/MetaContext.cpp +0 -0
  64. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/document/MetaContext.h +0 -0
  65. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/document/UTF8toUTF16Mapping.cpp +0 -0
  66. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/document/UTF8toUTF16Mapping.h +0 -0
  67. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/document/WooWooDocument.cpp +0 -0
  68. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/document/WooWooDocument.h +0 -0
  69. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/lsp/LSPTypes.h +0 -0
  70. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/parser/Parser.h +0 -0
  71. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/tree-sitter/woowoo/tree_sitter/parser.h +0 -0
  72. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/tree-sitter/yaml/parser.c +0 -0
  73. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/tree-sitter/yaml/scanner.cc +0 -0
  74. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/tree-sitter/yaml/schema.generated.cc +0 -0
  75. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/tree-sitter/yaml/tree_sitter/parser.h +0 -0
  76. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/utils/utils.cpp +0 -0
  77. {Wuff-0.0.3 → Wuff-0.0.4}/wuff/utils/utils.h +0 -0
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Wuff
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: Analyzer tools for WooWoo projects
5
5
  Author: Michal Janecek
6
6
  Author-email: michal.janecek@gmail.com
7
- Requires-Python: >=3.9
7
+ Requires-Python: >=3.7
8
8
  Description-Content-Type: text/markdown
9
9
  Provides-Extra: test
10
10
  Requires-Dist: pytest>=6.0; extra == "test"
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Wuff
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: Analyzer tools for WooWoo projects
5
5
  Author: Michal Janecek
6
6
  Author-email: michal.janecek@gmail.com
7
- Requires-Python: >=3.9
7
+ Requires-Python: >=3.7
8
8
  Description-Content-Type: text/markdown
9
9
  Provides-Extra: test
10
10
  Requires-Dist: pytest>=6.0; extra == "test"
@@ -9,7 +9,6 @@ Wuff.egg-info/requires.txt
9
9
  Wuff.egg-info/top_level.txt
10
10
  wuff/Bindings.cpp
11
11
  wuff/CMakeLists.txt
12
- wuff/LICENSE
13
12
  wuff/README.md
14
13
  wuff/WooWooAnalyzer.cpp
15
14
  wuff/WooWooAnalyzer.h
@@ -27,8 +26,6 @@ wuff/components/Linter.cpp
27
26
  wuff/components/Linter.h
28
27
  wuff/components/Navigator.cpp
29
28
  wuff/components/Navigator.h
30
- wuff/components/queries/highlights.scm
31
- wuff/components/queries/yaml-highlights.scm
32
29
  wuff/dialect/Dialect.cpp
33
30
  wuff/dialect/Dialect.h
34
31
  wuff/dialect/DialectManager.cpp
@@ -132,7 +132,7 @@ with open(path.join(this_directory, 'wuff/README.md'), encoding='utf-8') as f:
132
132
  # logic and declaration, and simpler if you include description/version in a file.
133
133
  setup(
134
134
  name="Wuff",
135
- version="0.0.3",
135
+ version="0.0.4",
136
136
  author="Michal Janecek",
137
137
  author_email="michal.janecek@gmail.com",
138
138
  description="Analyzer tools for WooWoo projects",
@@ -142,6 +142,6 @@ setup(
142
142
  cmdclass={"build_ext": CMakeBuild},
143
143
  zip_safe=False,
144
144
  extras_require={"test": ["pytest>=6.0"]},
145
- python_requires=">=3.9",
145
+ python_requires=">=3.7",
146
146
  )
147
147
 
@@ -146,7 +146,7 @@ const std::string Completer::shortInnerEnvironmentQuery = "shortInnerEnvironment
146
146
  const std::unordered_map<std::string, std::pair<TSLanguage *, std::string>> Completer::queryStringsByName = {
147
147
  {includeCollisionQuery, std::make_pair(tree_sitter_woowoo(), R"(
148
148
  (block) @b
149
- (object) @ob
149
+ (wobject) @ob
150
150
  )")},
151
151
  {shortInnerEnvironmentQuery, std::make_pair(tree_sitter_woowoo(), "(short_inner_environment_type) @siet")}
152
152
  };
@@ -47,6 +47,6 @@ const std::string Folder::foldableTypesQuery = "foldableTypesQuery";
47
47
  const std::unordered_map<std::string, std::pair<TSLanguage *, std::string>> Folder::queryStringsByName = {
48
48
  {foldableTypesQuery, std::make_pair(tree_sitter_woowoo(), R"(
49
49
  (document_part) @dp
50
- (object) @ob
50
+ (wobject) @ob
51
51
  (block) @b
52
52
  )")}};
@@ -191,9 +191,9 @@ const std::unordered_map<std::string, std::pair<TSLanguage*, std::string>> Highl
191
191
  ;(document_part_title) @variable
192
192
 
193
193
 
194
- ; Object
195
- ;(object ["." ":"] @operator)
196
- ;(object_type) @storage.type.struct
194
+ ; Wobject
195
+ ;(wobject ["." ":"] @operator)
196
+ ;(wobject_type) @storage.type.struct
197
197
 
198
198
 
199
199
  ; Block
@@ -47,7 +47,7 @@ const std::string Hoverer::hoverableNodesQuery = "hoverableNodesQuery";
47
47
  const std::unordered_map <std::string, std::pair<TSLanguage *, std::string>> Hoverer::queryStringsByName = {
48
48
  {hoverableNodesQuery, std::make_pair(tree_sitter_woowoo(), R"(
49
49
  (document_part_type) @node
50
- (object_type) @node
50
+ (wobject_type) @node
51
51
  (short_inner_environment_type) @node
52
52
  (verbose_inner_environment_type) @node
53
53
  (outer_environment_type) @node
@@ -82,7 +82,7 @@ std::string DialectManager::getDescription(const std::string &type, const std::s
82
82
  description = scanForDescriptionByName(activeDialect->inner_environments, name);
83
83
  } else if (type == "document_part_type") {
84
84
  description = scanForDescriptionByName(activeDialect->document_parts, name);
85
- } else if (type == "object_type") {
85
+ } else if (type == "wobject_type") {
86
86
  description = scanForDescriptionByName(activeDialect->wobjects, name);
87
87
  }
88
88
 
@@ -88,8 +88,8 @@ std::string Parser::extractStructureName(const TSNode &node, const std::string &
88
88
  childWithNameType = "document_part_type";
89
89
  } else if (nodeType.find("outer_environment") != std::string::npos) {
90
90
  childWithNameType = "outer_environment_type";
91
- } else if (nodeType == "object") {
92
- childWithNameType = "object_type";
91
+ } else if (nodeType == "wobject") {
92
+ childWithNameType = "wobject_type";
93
93
  }
94
94
 
95
95
  if (childWithNameType.empty()) {