<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">While I haven’t reviewed the videos in full I noticed a similar approach being taken in Rust where some more ambitious work is being done by the core team in libraries that use compiler plugins (<a href="https://doc.rust-lang.org/stable/book/compiler-plugins.html" class="">https://doc.rust-lang.org/stable/book/compiler-plugins.html</a>) such as regular expressions (<a href="https://doc.rust-lang.org/regex/regex/index.html" class="">https://doc.rust-lang.org/regex/regex/index.html</a>). In the latter case even throwing compilation errors if the source file contains an invalid regular expression.<div class=""><br class=""></div><div class="">I suppose however that this is at best a Swift 3.1 feature to expose such interfaces once the dust from Swift 3 has settled. I may also be wrong that this is not a goal for Swift in the medium term at all.</div><div class=""><br class=""></div><div class="">Seán</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 22 Dec 2015, at 23:29, Matt Whiteside via swift-evolution &lt;<a href="mailto:swift-evolution-request@swift.org" class="">swift-evolution-request@swift.org</a>&gt; wrote:</div></blockquote><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I don’t know if something like this has been done before, but I agree, the idea of the compile time version of the language being the same same as the runtime version, is very interesting. +1.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Matt</span></div></blockquote></div><br class=""></div></body></html>