mapres 3.dev22__tar.gz → 3.dev23__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.
Files changed (23) hide show
  1. {mapres-3.dev22/src/mapres.egg-info → mapres-3.dev23}/PKG-INFO +1 -1
  2. {mapres-3.dev22 → mapres-3.dev23}/pyproject.toml +1 -1
  3. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/tokenizer.py +17 -0
  4. {mapres-3.dev22 → mapres-3.dev23/src/mapres.egg-info}/PKG-INFO +1 -1
  5. {mapres-3.dev22 → mapres-3.dev23}/LICENSE +0 -0
  6. {mapres-3.dev22 → mapres-3.dev23}/README.md +0 -0
  7. {mapres-3.dev22 → mapres-3.dev23}/setup.cfg +0 -0
  8. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/__init__.py +0 -0
  9. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/ast.py +0 -0
  10. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/cache.py +0 -0
  11. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/datamap.py +0 -0
  12. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/evaluator.py +0 -0
  13. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/exceptions.py +0 -0
  14. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/layers.py +0 -0
  15. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/maps/__init__.py +0 -0
  16. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/maps/color.py +0 -0
  17. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/maps/time.py +0 -0
  18. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/parser.py +0 -0
  19. {mapres-3.dev22 → mapres-3.dev23}/src/mapres/resolver.py +0 -0
  20. {mapres-3.dev22 → mapres-3.dev23}/src/mapres.egg-info/SOURCES.txt +0 -0
  21. {mapres-3.dev22 → mapres-3.dev23}/src/mapres.egg-info/dependency_links.txt +0 -0
  22. {mapres-3.dev22 → mapres-3.dev23}/src/mapres.egg-info/requires.txt +0 -0
  23. {mapres-3.dev22 → mapres-3.dev23}/src/mapres.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 3.dev22
3
+ Version: 3.dev23
4
4
  Summary: A powerfull mapping utility
5
5
  Author: iFamished
6
6
  License: MIT
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "mapres"
10
- version = "3-dev.22"
10
+ version = "3-dev.23"
11
11
  description = "A powerfull mapping utility"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.9"
@@ -121,6 +121,23 @@ class Tokenizer:
121
121
  self.advance()
122
122
  continue
123
123
 
124
+ # --- $(IDENT) ---
125
+ if self.match('$('):
126
+ flush_text()
127
+ start = self.i
128
+ self.advance(2)
129
+ ident = self._read_ident()
130
+ if ident is not None and self.peek() == ')':
131
+ self.emit(TokenType.DOLLAR_OPEN)
132
+ self.emit(TokenType.IDENT, ident)
133
+ self.advance()
134
+ self.emit(TokenType.DOLLAR_CLOSE)
135
+ continue
136
+ self.i = start
137
+ buf.append(self.peek())
138
+ self.advance()
139
+ continue
140
+
124
141
  # --- <IDENT> ---
125
142
  if ch == '<':
126
143
  flush_text()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 3.dev22
3
+ Version: 3.dev23
4
4
  Summary: A powerfull mapping utility
5
5
  Author: iFamished
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes