Changes between Version 18 and Version 19 of IR
- Timestamp:
- 11/22/15 09:09:25 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IR
v18 v19 4 4 Properties of the language: 5 5 6 * the language is not intended to be written by humans; it is an intermediate form constructed by CIVL. However it should be readable to help debug things 6 7 * the language (and grammar) are subsets of CIVL-C 7 8 * a CIVL-IR program represents a guarded-transition system explicitly … … 78 79 What are two types compatible? 79 80 81 == Declarations == 82 83 Declarations follow the C notation. Function prototypes are considered to be declarations similar to variable declarations. 84 85 **Declarations for system, abstract/pure functions?** 86 80 87 81 88 == Expressions == … … 124 131 125 132 126 == Statements ==133 == The Primitive Statements == 127 134 128 * Assign 129 * Call 135 * Assign: `e1=e2` 136 * Call: `e0(e1,...,en);` and `e=e0(e1,...,en);` 130 137 * regular function (one with flow graph) 131 * system function? 132 * abstract function? 133 * pure functions? 134 * Spawn 135 * Wait 138 * function can be system, pure, abstract? 139 * Spawn: `$spawn e0(e1,...,en);` and `e=$spawn e0(e1,...,en);` 140 * Wait: `$wait(e);` 136 141 * Wailtall? 137 * Malloc 138 * Free 139 * Noop 140 * Return 141 * Atomic_enter 142 * Atomic_exit 143 * Parfor_spawn. is there exit?144 * For_dom_enter (for domains). exit?142 * Malloc: `e=(T)$malloc(e1,e2);` **??** 143 * Free: `free(e);` 144 * Noop: `;` 145 * Return: `return;` and `return e;` 146 * Atomic_enter: **what notation?** 147 * Atomic_exit: **what notation?** 148 * Parfor_spawn. **what notation? Is there exit?** 149 * For_dom_enter (for domains). **What notation? Is there exit?** 145 150 146 151
