Skip to content

Commit

Permalink
Add more global types for easier understanding of the code
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcere committed Oct 7, 2024
1 parent 5411f55 commit b49015b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/global_params/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"""
from typing import Dict, Union, Any

# Type for the id of instructions in the SMS
instr_id_T = str

# Id for block ids
block_id_T = str

ASM_bytecode_T = Dict[str, Union[int, str]]

# SMS refers to the JSON representation of a block, with the initial and final stacks and the operations
Expand Down

0 comments on commit b49015b

Please sign in to comment.