Changes between Version 32 and Version 33 of IR


Ignore:
Timestamp:
11/23/15 13:52:15 (10 years ago)
Author:
zmanchun
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IR

    v32 v33  
    145145* `$pure` : the function has no side effects, but may be nondeterministic
    146146* `$abstract`: function is a pure, mathematical function: deterministic function of inputs
     147* `$atomic_f`: function definition is atomic, and there is it is never blocked
    147148
    148149System functions:
     
    241242
    242243
     244== Contracts of Functions ==
     245* event set expressions:
     246{{{
     247EventSetExpression
     248 : $read(MemorySetExpression)
     249 | $write(MemorySetExpression)
     250 | $access(MemorySetExpression)
     251 | $calls(FunctionCallExpression)
     252 | $nothing
     253 | $everything
     254 | ‘(’ EventSetExpression ‘)’
     255 | EventSetExpression + EventSetExpression
     256 | EventSetExpression - EventSetExpression
     257 | EventSetExpression & EventSetExpression
     258}}}
     259
     260* depends clause:
     261`dependsClause: $depends [condition] { EventSetExpression}`
     262
     263Example:
     264{{{
     265$depends {
     266  $access(n) - ($calls(inc(MemorySetExpression)) + $calls(dec(MemorySetExpression)))}
     267}}}
     268
     269
    243270
    244271== Program Graph ==