codeguy/Slim — pull request #499 by dragon-bird (2013-04-04 07:15:45+00:00)
Title: Blade like templates

Blade like templating. Now developers can format the template using blade syntax like
{{ $variable }}
@if...@elseif...@else,
@foreach etc.

Templating is not full blown Blade but just a little part of it. only a limited set of methods is available.

Echoing variables in curly braces e.g. {{ $some_variable }} and {{{ $escaped_string }}}
blade like comments e.g. {{-- this is a comment --}}
including other view file using @include('some_other_view'),
and these control structures:
@if .. @endif
@if .. @elseif .. @endif
@while .. @endwhile
@for .. @endfor
@foreach .. @endforeach
are implemented