Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,42 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Table of Contents
|
| 2 |
+
|
| 3 |
+
* [InterpreterAtomicFlow](#InterpreterAtomicFlow)
|
| 4 |
+
* [InterpreterAtomicFlow](#InterpreterAtomicFlow.InterpreterAtomicFlow)
|
| 5 |
+
* [set\_up\_flow\_state](#InterpreterAtomicFlow.InterpreterAtomicFlow.set_up_flow_state)
|
| 6 |
+
* [\_\_init\_\_](#__init__)
|
| 7 |
+
|
| 8 |
+
<a id="InterpreterAtomicFlow"></a>
|
| 9 |
+
|
| 10 |
+
# InterpreterAtomicFlow
|
| 11 |
+
|
| 12 |
+
<a id="InterpreterAtomicFlow.InterpreterAtomicFlow"></a>
|
| 13 |
+
|
| 14 |
+
## InterpreterAtomicFlow Objects
|
| 15 |
+
|
| 16 |
+
```python
|
| 17 |
+
class InterpreterAtomicFlow(AtomicFlow)
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
This flow is used to run the code passed from the caller.
|
| 21 |
+
*Expected Input*:
|
| 22 |
+
- `code`
|
| 23 |
+
- `language_of_code`
|
| 24 |
+
|
| 25 |
+
*Expected Output*:
|
| 26 |
+
- `interpreter_output`: output of the code interpreter
|
| 27 |
+
|
| 28 |
+
<a id="InterpreterAtomicFlow.InterpreterAtomicFlow.set_up_flow_state"></a>
|
| 29 |
+
|
| 30 |
+
#### set\_up\_flow\_state
|
| 31 |
+
|
| 32 |
+
```python
|
| 33 |
+
def set_up_flow_state()
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
class-specific flow state: language and code,
|
| 37 |
+
which describes the programming language and the code to run.
|
| 38 |
+
|
| 39 |
+
<a id="__init__"></a>
|
| 40 |
+
|
| 41 |
+
# \_\_init\_\_
|
| 42 |
+
|