Sha256: f55d84c6bf0d6d5bf3a94364bf2d1baa050e899e48d2c33de6700d674d8792cf

Contents?: true

Size: 607 Bytes

Versions: 7

Compression:

Stored size: 607 Bytes

Contents

task Complete

  trackvar everyOneHappy
    {FirstTask:start}

  fluent someoneHappy
    {DrinkBeer:start, DrinkBeers:start},
    {DoNothingSpecial:end}
  initially false

  task DrinkBeers
    while not(drunk)
      DrinkBeer
    end
  end

  seq
    FirstTask
    if everyoneHappy
      par
        MakeJoy
        DrinkBeers
      end
    elsif someoneHappy
      DrinkBeer
    else
      DoNothingSpecial
    end
    while not(endOfTheDay)
      case curState
      when somethingToDo
        DoSomething
      when nothingToDo
        DoNothing
      else
        WaitAndSee
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
gisele-language-0.6.0 spec/fixtures/tasks/complete.gis
gisele-language-0.5.1 spec/fixtures/tasks/complete.gis
gisele-0.5.1 spec/fixtures/tasks/complete.gis
gisele-language-0.5.0 spec/fixtures/tasks/complete.gis
gisele-0.5.0 spec/fixtures/tasks/complete.gis
gisele-0.4.0 spec/fixtures/tasks/complete.gis
gisele-0.3.0 spec/fixtures/tasks/complete.gis