bare-script 4.2.9__tar.gz → 4.2.11__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 (45) hide show
  1. {bare_script-4.2.9/src/bare_script.egg-info → bare_script-4.2.11}/PKG-INFO +2 -2
  2. {bare_script-4.2.9 → bare_script-4.2.11}/setup.cfg +2 -2
  3. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/parser.py +3 -1
  4. {bare_script-4.2.9 → bare_script-4.2.11/src/bare_script.egg-info}/PKG-INFO +2 -2
  5. bare_script-4.2.11/src/bare_script.egg-info/requires.txt +2 -0
  6. bare_script-4.2.9/src/bare_script.egg-info/requires.txt +0 -2
  7. {bare_script-4.2.9 → bare_script-4.2.11}/LICENSE +0 -0
  8. {bare_script-4.2.9 → bare_script-4.2.11}/README.md +0 -0
  9. {bare_script-4.2.9 → bare_script-4.2.11}/pyproject.toml +0 -0
  10. {bare_script-4.2.9 → bare_script-4.2.11}/setup.py +0 -0
  11. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/__init__.py +0 -0
  12. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/__main__.py +0 -0
  13. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/bare.py +0 -0
  14. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/__init__.py +0 -0
  15. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/args.bare +0 -0
  16. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/baredoc.bare +0 -0
  17. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/baredocCLI.bare +0 -0
  18. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/data.bare +0 -0
  19. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/dataLineChart.bare +0 -0
  20. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/dataTable.bare +0 -0
  21. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/dataUtil.bare +0 -0
  22. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/diff.bare +0 -0
  23. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/draw.bare +0 -0
  24. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/elementModel.bare +0 -0
  25. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/forms.bare +0 -0
  26. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/markdown.bare +0 -0
  27. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/markdownElements.bare +0 -0
  28. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/markdownHighlight.bare +0 -0
  29. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/markdownParser.bare +0 -0
  30. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/markdownUp.bare +0 -0
  31. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/pager.bare +0 -0
  32. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/qrcode.bare +0 -0
  33. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/schemaDoc.bare +0 -0
  34. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/unittest.bare +0 -0
  35. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/include/unittestMock.bare +0 -0
  36. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/library.py +0 -0
  37. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/model.py +0 -0
  38. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/options.py +0 -0
  39. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/runtime.py +0 -0
  40. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/runtime_c.c +0 -0
  41. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script/value.py +0 -0
  42. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script.egg-info/SOURCES.txt +0 -0
  43. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script.egg-info/dependency_links.txt +0 -0
  44. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script.egg-info/entry_points.txt +0 -0
  45. {bare_script-4.2.9 → bare_script-4.2.11}/src/bare_script.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bare-script
3
- Version: 4.2.9
3
+ Version: 4.2.11
4
4
  Summary: bare-script
5
5
  Home-page: https://github.com/craigahobbs/bare-script
6
6
  Author: Craig A. Hobbs
@@ -19,7 +19,7 @@ Classifier: Topic :: Software Development :: Interpreters
19
19
  Classifier: Topic :: Utilities
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: schema-markdown>=1.2.0
22
+ Requires-Dist: schema-markdown<1.3.0,>=1.2.0
23
23
  Requires-Dist: urllib3>=2.5.0
24
24
  Dynamic: license-file
25
25
 
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = bare-script
3
- version = 4.2.9
3
+ version = 4.2.11
4
4
  url = https://github.com/craigahobbs/bare-script
5
5
  author = Craig A. Hobbs
6
6
  author_email = craigahobbs@gmail.com
@@ -26,7 +26,7 @@ packages = bare_script, bare_script.include
26
26
  package_dir =
27
27
  = src
28
28
  install_requires =
29
- schema-markdown >= 1.2.0
29
+ schema-markdown >= 1.2.0, < 1.3.0
30
30
  urllib3 >= 2.5.0
31
31
 
32
32
  [options.entry_points]
@@ -240,7 +240,7 @@ def parse_script(script_text, start_line_number=1, script_name=None):
240
240
  # Add the while-do label
241
241
  whiledo = {
242
242
  'loop': f'__barescriptLoop{label_index}',
243
- 'continue': f'__barescriptLoop{label_index}',
243
+ 'continue': f'__barescriptContinue{label_index}',
244
244
  'done': f'__barescriptDone{label_index}',
245
245
  'expr': while_begin_expr,
246
246
  'line': line,
@@ -269,6 +269,8 @@ def parse_script(script_text, start_line_number=1, script_name=None):
269
269
  raise BareScriptParserError('No matching while statement', line, 1, start_line_number + ix_line, script_name)
270
270
 
271
271
  # Add the while-do footer statements
272
+ if whiledo.get('hasContinue'):
273
+ statements.append({'label': {'name': whiledo['continue'], **statement_base}})
272
274
  statements.extend([
273
275
  {'jump': {'label': whiledo['loop'], 'expr': whiledo['expr'], **statement_base}},
274
276
  {'label': {'name': whiledo['done'], **statement_base}}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bare-script
3
- Version: 4.2.9
3
+ Version: 4.2.11
4
4
  Summary: bare-script
5
5
  Home-page: https://github.com/craigahobbs/bare-script
6
6
  Author: Craig A. Hobbs
@@ -19,7 +19,7 @@ Classifier: Topic :: Software Development :: Interpreters
19
19
  Classifier: Topic :: Utilities
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: schema-markdown>=1.2.0
22
+ Requires-Dist: schema-markdown<1.3.0,>=1.2.0
23
23
  Requires-Dist: urllib3>=2.5.0
24
24
  Dynamic: license-file
25
25
 
@@ -0,0 +1,2 @@
1
+ schema-markdown<1.3.0,>=1.2.0
2
+ urllib3>=2.5.0
@@ -1,2 +0,0 @@
1
- schema-markdown>=1.2.0
2
- urllib3>=2.5.0
File without changes
File without changes
File without changes
File without changes