stencilproject / Stencil

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

[WIP] Faster scanner rebase #225

Closed svanimpe closed 5 years ago

svanimpe commented 5 years ago

This is a rebase of #207.

I've only imported the new code and fixed any warnings, but as it is undocumented, I don't have to time to actually understand it :D

@djbe Can you take a look at this? The unit tests are failing and I suspect it's because the new code overwrites parts of ffe8f9d (or the new implementation just behaves differently, or has bugs).

Liquidsoul commented 5 years ago

Hey @svanimpe 👋 It seems we've been working on the same rebase #226 😅 I had more time to integrate the upstream changes and fix the tests. Maybe you could give it a quick look? 👀

svanimpe commented 5 years ago

OK, this one can be closed then!