turing-py 2.2.0__tar.gz → 2.2.1__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 (24) hide show
  1. {turing_py-2.2.0 → turing_py-2.2.1}/PKG-INFO +1 -1
  2. {turing_py-2.2.0 → turing_py-2.2.1}/pyproject.toml +1 -1
  3. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/dsl/loader.py +2 -1
  4. {turing_py-2.2.0 → turing_py-2.2.1}/LICENSE +0 -0
  5. {turing_py-2.2.0 → turing_py-2.2.1}/README.md +0 -0
  6. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/__init__.py +0 -0
  7. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/alphabet/__init__.py +0 -0
  8. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/alphabet/input_alphabet.py +0 -0
  9. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/alphabet/symbol.py +0 -0
  10. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/alphabet/tape_alphabet.py +0 -0
  11. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/dsl/__init__.py +0 -0
  12. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/dsl/ast.py +0 -0
  13. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/dsl/lexer.py +0 -0
  14. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/dsl/parser.py +0 -0
  15. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/dsl/token.py +0 -0
  16. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/exception.py +0 -0
  17. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/machine/__init__.py +0 -0
  18. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/machine/machine.py +0 -0
  19. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/machine/states.py +0 -0
  20. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/machine/tape.py +0 -0
  21. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/transition/__init__.py +0 -0
  22. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/transition/direction.py +0 -0
  23. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/transition/transition.py +0 -0
  24. {turing_py-2.2.0 → turing_py-2.2.1}/src/tmpy/transition/transition_function.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: turing-py
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: Education Turing Machine simulator in Python
5
5
  License-File: LICENSE
6
6
  Author: Eric Santos
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "turing-py"
3
- version = "2.2.0"
3
+ version = "2.2.1"
4
4
  description = "Education Turing Machine simulator in Python"
5
5
  authors = [
6
6
  {name = "Eric Santos",email = "ericshantos13@gmail.com"}
@@ -5,6 +5,7 @@
5
5
  Loader for the Turing machine DSL.
6
6
  """
7
7
 
8
+ from ..alphabet import Symbol
8
9
  from ..transition import Transition
9
10
  from .lexer import Lexer
10
11
  from .parser import MachineNode, Parser
@@ -48,7 +49,7 @@ class MachineLoader:
48
49
 
49
50
  for node in machine_ast.transitions:
50
51
 
51
- t = Transition(node.state, node.read, node.next_state, node.write, node.move)
52
+ t = Transition(node.state, Symbol(node.read), node.next_state, Symbol(node.write), node.move)
52
53
 
53
54
  transitions.append(t)
54
55
 
File without changes
File without changes
File without changes