crossrails / javascriptcore.swift

A Swift wrapper round the JavaScriptCore C API used by the Crossrails complier
MIT License
3 stars 2 forks source link

Updated to use DEVELOPMENT-SNAPSHOT-2016-07-25-a #1

Closed NathanFlurry closed 8 years ago

nbransby commented 8 years ago

Hey thanks Nathan, this is great. I had not had the chance to update to latest beta.

Re the formatting, did you use a formatter in an IDE to do it? Would like to make sure the complier is also outputting best practice formatted Swift.

NathanFlurry commented 8 years ago

@nbransby I just used some find + replace + a tad of regex magic in Xcode.

As for code styling, I'd highly suggest taking a look at this styling guide. Just some quick feedback from what I saw was generated from crossrails:

Otherwise, it looks like a very promising project.

Reedyuk commented 8 years ago

Just a thought, maybe we should run something like SwiftLint on the results to check for this kind of thing?

nbransby commented 8 years ago

Thanks for the feedback @NathanFlurry, I've finally found the time to act on it.

The other points you mentioned are by design and are moviated to match the orginal JS source: