Function Python Dictionary

This is the Python Dictionary.

Format:

Python dictionary entries

Input:

list entries -

Output:

py_object - None

Conditional properties that reference this function:

  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • Expression Stack at time t = [ ]

    then Expression Stack at time (t + 1) = [ [ Python dictionary entries, [ ] ], [ ] ]

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • Expression Stack at time t = [ ]

    then the line at time (t + 1) = i

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • Expression Stack at time t = [ ]

    then the tab at time (t + 1) = j

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • Expression Stack at time t = [ ]

    then Value Stack at time (t + 1) = [ [ ], [ ] ]

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • Expression Stack at time t = [ ]

    then Python Object Store at time (t + 1) = Python Object Store at time t

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • Expression Stack at time t = [ ]

    then Control Map at time (t + 1) = Control Map at time t

    (link)
  • if Expression Stack at time t = [ [ Python dictionary entries, ys ], rest ], then Expression Stack at time (t + 1) = [ entries, [ [ Python dictionary entries, ys ], rest ] ] (link)
  • if Expression Stack at time t = [ [ Python dictionary entries, ys ], rest ], then Value Stack at time (t + 1) = [ [ ], Value Stack at time t ] (link)
  • if Expression Stack at time t = [ [ Python dictionary entries, ys ], rest ], then Parameters List at time (t + 1) = None (link)
  • if Expression Stack at time t = [ [ Python dictionary entries, ys ], rest ], then the line at time (t + 1) = the line at time t (link)
  • if Expression Stack at time t = [ [ Python dictionary entries, ys ], rest ], then the tab at time (t + 1) = the tab at time t (link)
  • if Expression Stack at time t = [ [ Python dictionary entries, ys ], rest ], then Variables Map at time (t + 1) = Variables Map at time t (link)
  • if Expression Stack at time t = [ [ Python dictionary entries, ys ], rest ], then Control Map at time (t + 1) = Control Map at time t (link)
  • if Expression Stack at time t = [ [ Python dictionary entries, ys ], rest ], then Python Object Store at time (t + 1) = Python Object Store at time t (link)
  • if Expression Stack at time t = [ [ Python dictionary entries, ys ], rest ], then Context Stack at time (t + 1) = Context Stack at time t (link)
  • if the following are true:
    • Expression Stack at time t = [ [ ], [ [ Python dictionary entries, ys ], rest ] ]
    • Value Stack at time t = [ values, [ next_level, other_levels ] ]

    then Value Stack at time (t + 1) = [ [ Python reference (length of stack (Python Object Store at time t)), next_level ], other_levels ]

    (link)
  • if the following are true:
    • Expression Stack at time t = [ [ ], [ [ Python dictionary entries, ys ], rest ] ]
    • Value Stack at time t = [ values, [ next_level, other_levels ] ]

    then Python Object Store at time (t + 1) = result of appending (Python dictionary (reverse of values)) to (Python Object Store at time t)

    (link)
  • if Expression Stack at time t = [ [ ], [ [ Python dictionary entries, ys ], rest ] ], then Expression Stack at time (t + 1) = [ ys, rest ] (link)
  • if Expression Stack at time t = [ [ ], [ [ Python dictionary entries, ys ], rest ] ], then the line at time (t + 1) = the line at time t (link)
  • if Expression Stack at time t = [ [ ], [ [ Python dictionary entries, ys ], rest ] ], then the tab at time (t + 1) = the tab at time t (link)
  • if Expression Stack at time t = [ [ ], [ [ Python dictionary entries, ys ], rest ] ], then Variables Map at time (t + 1) = Variables Map at time t (link)
  • if Expression Stack at time t = [ [ ], [ [ Python dictionary entries, ys ], rest ] ], then Control Map at time (t + 1) = Control Map at time t (link)
  • if Expression Stack at time t = [ [ ], [ [ Python dictionary entries, ys ], rest ] ], then Context Stack at time (t + 1) = Context Stack at time t (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • Expression Stack at time t = [ ]

    then Expression Stack at time (t + 1) = [ [ Python dictionary elements, [ ] ], [ ] ]

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • Expression Stack at time t = [ ]

    then the line at time (t + 1) = i

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • Expression Stack at time t = [ ]

    then the tab at time (t + 1) = j

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • Expression Stack at time t = [ ]

    then Variables Map at time (t + 1) = Variables Map at time t

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • Expression Stack at time t = [ ]

    then Context Stack at time (t + 1) = Context Stack at time t

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • Expression Stack at time t = [ ]

    then Value Stack at time (t + 1) = [ [ ], [ ] ]

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • Expression Stack at time t = [ ]

    then Python Object Store at time (t + 1) = Python Object Store at time t

    (link)
  • if the following are true:
    • Expression Stack at time t = [ [ ], [ [ function call with name: "__getitem__" and arguments: args, ys ], rest ] ]
    • Value Stack at time t = [ [ a, [ Python reference idx, [ ] ] ], [ next_level, other_levels ] ]
    • the element at index idx of stack (Python Object Store at time t) = Python dictionary entries

    then Value Stack at time (t + 1) = [ [ value at a in map entries, next_level ], other_levels ]

    (link)
  • if the following are true:
    • Expression Stack at time t = [ [ ], [ [ function call with name: "__setitem__" and arguments: args, ys ], rest ] ]
    • Value Stack at time t = [ [ value, [ key, [ Python reference idx, [ ] ] ] ], [ next_level, other_levels ] ]
    • the element at index idx of stack (Python Object Store at time t) = Python dictionary entries

    then Python Object Store at time (t + 1) = result of storing (Python dictionary (result of storing value at key: key in map: entries)) at index idx of stack (Python Object Store at time t)

    (link)
  • if the following are true:
    • Expression Stack at time t = [ [ ], [ [ function call with name: "__setitem__" and arguments: args, ys ], rest ] ]
    • Value Stack at time t = [ [ value, [ key, [ Python reference idx, [ ] ] ] ], [ next_level, other_levels ] ]
    • the element at index idx of stack (Python Object Store at time t) = Python dictionary entries

    then Value Stack at time (t + 1) = [ [ None, next_level ], other_levels ]

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • expression state at time t = "not_expr"

    then the expression at time (t + 1) = Python dictionary entries

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • expression state at time t = "not_expr"

    then expression state at time (t + 1) = "begin_expr"

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • expression state at time t = "not_expr"

    then the line at time (t + 1) = i

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • expression state at time t = "not_expr"

    then the tab at time (t + 1) = j

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • expression state at time t = "not_expr"

    then Value Stack at time (t + 1) = [ ]

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • expression state at time t = "not_expr"

    then parent stack at time (t + 1) = [ ]

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • expression state at time t = "not_expr"

    then arguments stack at time (t + 1) = [ ]

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • expression state at time t = "not_expr"

    then Python Object Store at time (t + 1) = Python Object Store at time t

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = Python dictionary entries
    • expression state at time t = "not_expr"

    then Control Map at time (t + 1) = Control Map at time t

    (link)
  • if the following are true:
    • expression state at time t = "begin_expr"
    • the expression at time t = Python dictionary entries

    then Value Stack at time (t + 1) = [ [ ], Value Stack at time t ]

    (link)
  • if the following are true:
    • expression state at time t = "begin_expr"
    • the expression at time t = Python dictionary entries

    then parent stack at time (t + 1) = [ Python dictionary entries, parent stack at time t ]

    (link)
  • if the following are true:
    • expression state at time t = "begin_expr"
    • the expression at time t = Python dictionary entries

    then arguments stack at time (t + 1) = [ entries, arguments stack at time t ]

    (link)
  • if the following are true:
    • expression state at time t = "begin_expr"
    • the expression at time t = Python dictionary entries

    then expression state at time (t + 1) = "iterate_args"

    (link)
  • if the following are true:
    • expression state at time t = "call_function_begin"
    • Value Stack at time t = [ values, stack ]
    • the expression at time t = Python dictionary elements

    then Return Value at time (t + 1) = Python reference (length of stack (Python Object Store at time t))

    (link)
  • if the following are true:
    • expression state at time t = "call_function_begin"
    • Value Stack at time t = [ values, stack ]
    • the expression at time t = Python dictionary elements

    then Python Object Store at time (t + 1) = result of appending (Python dictionary (reverse of values)) to (Python Object Store at time t)

    (link)
  • if the following are true:
    • expression state at time t = "call_function_begin"
    • Value Stack at time t = [ values, stack ]
    • the expression at time t = Python dictionary elements

    then Value Stack at time (t + 1) = stack

    (link)
  • if the following are true:
    • expression state at time t = "call_function_begin"
    • parent stack at time t = [ x, y ]
    • the expression at time t = Python dictionary elements

    then expression state at time (t + 1) = "return"

    (link)
  • if the following are true:
    • expression state at time t = "call_function_begin"
    • parent stack at time t = [ ]
    • the expression at time t = Python dictionary elements

    then expression state at time (t + 1) = "end_expr"

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "not_expr"

    then the expression at time (t + 1) = Python dictionary elements

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "not_expr"

    then expression state at time (t + 1) = "begin_expr"

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "not_expr"

    then the line at time (t + 1) = i

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "not_expr"

    then the tab at time (t + 1) = j

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "not_expr"

    then Variables Map at time (t + 1) = Variables Map at time t

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "not_expr"

    then stack at time (t + 1) = stack at time t

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "not_expr"

    then Value Stack at time (t + 1) = [ ]

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "not_expr"

    then parent stack at time (t + 1) = [ ]

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "not_expr"

    then arguments stack at time (t + 1) = [ ]

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "not_expr"

    then Python Object Store at time (t + 1) = Python Object Store at time t

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "end_expr"

    then Variables Map at time (t + 1) = result of storing (Return Value at time t) at key: x in map: (Variables Map at time t)

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "end_expr"

    then the line at time (t + 1) = i + 1

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "end_expr"

    then the tab at time (t + 1) = the tab at time t

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "end_expr"

    then stack at time (t + 1) = stack at time t

    (link)
  • if the following are true:
    • the line at time t = i
    • the tab at time t = j
    • statement at line i, tab j = assign statement with target x and expression (Python dictionary elements)
    • expression state at time t = "end_expr"

    then Python Object Store at time (t + 1) = Python Object Store at time t

    (link)
  • if the following are true:
    • expression state at time t = "call_function_begin"
    • Value Stack at time t = [ [ a, [ Python reference idx, [ ] ] ], stack ]
    • the expression at time t = function call with name: "__getitem__" and arguments: args
    • the element at index idx of stack (Python Object Store at time t) = Python dictionary entries

    then Return Value at time (t + 1) = value at a in map entries

    (link)
  • if the following are true:
    • expression state at time t = "call_function_begin"
    • Value Stack at time t = [ [ value, [ key, [ Python reference idx, [ ] ] ] ], stack ]
    • the expression at time t = function call with name: "__setitem__" and arguments: [ obj, rest ]
    • the element at index idx of stack (Python Object Store at time t) = Python dictionary entries

    then Python Object Store at time (t + 1) = result of storing (Python dictionary (result of storing value at key: key in map: entries)) at index idx of stack (Python Object Store at time t)

    (link)
  • if the following are true:
    • expression state at time t = "call_function_begin"
    • Value Stack at time t = [ [ value, [ key, [ Python reference idx, [ ] ] ] ], stack ]
    • the expression at time t = function call with name: "__setitem__" and arguments: [ obj, rest ]
    • the element at index idx of stack (Python Object Store at time t) = Python dictionary entries

    then Value Stack at time (t + 1) = stack

    (link)


Comments

Please log in to add comments