<div dir="ltr">Hi, I hope I have chosen correct mailing list. I have been working on a helper tool for Swift projects and in order to achieve what I want I need a semantic analysis. I thought it would be a good idea to use Swift&#39;s parser functionality in order not to duplicate work that has already been done by so many smarter people.<div><br></div><div>Could any of you somehow tell me where should I look - more specific than swiftSEMA. I looked into the type checkers and Lexer in swiftParser but still am confused.</div><div><br></div><div>Still looking for the swift 2.2 -&gt; 2.3/3.0 Convert tool so maybe there I could grasp some examples how to hook into these and use them in my own module.</div><div><br></div><div>If this is too broad then I am sorry. I am a complete beginner in this project / structure.</div><div><br></div><div>P.S. I would like to get knowledge e.g:</div><div><br></div><div>let arrayOfInts: [Int] = ...</div><div>let arrayOfStrings: [String?] = arrayOfInts.map { $0 as? String }</div><div><br></div><div>that $0 is an Int explicitly and that the return type of closure is String. This is something that I can&#39;t achieve by analysing closure syntax.</div><div><br></div><div>Thank you in advance,</div><div>Andrew</div></div>