Open
Conversation
- attributes in function parameters - os/arch conditions will accept any identifier
- X in os(X) and arch(X) may be any identifier - fixing foo.0
- added @Attribute(foo, bar, baz) support (comma-separated args) - added @foo extension bar support (extension's attributes)
- fixed 'typealias' statement - added mutating/nonmutating keyword support - fixed unowned/unowned(unsafe)/unowned(safe) in properties - fixed escaped characters in strings (may accept any number of hexadecimal chars)
- Replacing preprocessor directives in Swift with comments. We don't care about them anyway but they break parser when encountered inside class definition
- fixed #available statement - fixed replacement of preprocessor directives with comments - fixed ArrayIndexOfBounds exception
- dealing with "foo as? bar" - bounds checking
- defs and refs extraction (WIP)
- working on foo.bar.baz().self().init()....
- extracting data from chains (foo.bar().baz...)
- switched to two-step processing - trying to resolve variables with the same name in the different methods/functions (with the same name but different signature)
- corrected two-phase scan - corrected function arguments scope
- handling of if/while/guard - resolving implicit "self." in "foo()" statements inside class def
- type detection for (let/var foo = Bar()) statements - javadoc
- dealing with code blocks in "else/do/repeat/..") - fixed NPE
- operators as function arguments (sort(>)) - support of @Attribute(foo bar,baz qux) (both spaces and commas, e.g. "@available(iOS 9.0, OSX 10.11, *)"
- os and arch are valid identifiers
- workaround for "try?" statements
- support of "x = try y" - fixed empty stack on " "foo".bar() "
- added support of "foo as bar" - better handling of inner classes
added 18 commits
January 30, 2016 23:30
…projects on github
…e with let contexts)
Owner
There was a problem hiding this comment.
Please provide link to specific commit hash instead of master
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add minimal lexical support for Clojure language.
Supported constructions: let, def, defn, defmacro, letfn, loop, ns, in-ns...