stencilproject / Stencil

Stencil is a simple and powerful template language for Swift.
https://stencil.fuller.li
BSD 2-Clause "Simplified" License
2.34k stars 223 forks source link

Implemented parsing of range literals #192

Closed ilyapuchka closed 6 years ago

ilyapuchka commented 6 years ago

This is alternative implementation of #179 that does not introduce new syntax for loops and automatically supports if-in expressions. If we merge #175 we could even support open ranges, but for now only closed ranges are supported.

Closes #179 Closes https://github.com/SwiftGen/StencilSwiftKit/issues/74