47 Commits
Author SHA1 Message Date
David Jennes 4d1d3591c7 Bump year 2022-07-30 20:47:39 +02:00
David Jennes 31ed50836c Parse derived attr. info from model 2022-07-26 02:57:57 +02:00
David Jennes cb2a69d77f Fix issues in codebase 2022-07-26 02:46:37 +02:00
David Jennes 9e8942138c Rework filter to accept some options (to for example skip dirs) 2020-10-17 23:28:28 +02:00
David Jennes 215b4134ee Update year to 2020 2020-07-05 19:34:22 +02:00
David Jennes 8c77fe4b58 Add utility method for constructing a filter regex based on a list of extensions 2020-06-24 16:56:21 +02:00
David Jennes 751433f85d Fix swiftlint warnings in our code 2020-02-28 01:15:07 +01:00
David Jennes 7362db4171 autocorrect 2020-02-28 00:33:33 +01:00
David Jennes c4b7d37eae Add a ParserOptionValues type 2019-02-24 20:45:04 +01:00
David Jennes 78abc1ec58 Implement feedback
- ParserOptionList is now `ExpressibleByArrayLiteral
- Parser `allOptions` has a default implementation
- Better `check(options:)`
- Made `Option` public
2019-02-24 20:45:04 +01:00
David Jennes 5ad99af65e Basic (empty) implementation 2019-02-24 20:45:04 +01:00
David Jennes 42dd7a8dcc Better default regexes 2019-01-28 00:08:26 +01:00
David Jennes 4d3e875cfd Ensure we match extensions completely 2019-01-28 00:02:20 +01:00
David Jennes dcf5aa8ab6 Update the parsers to handle the new filter logic 2019-01-28 00:02:20 +01:00
David Jennes a9eaa12c07 Remove module name from class name 2019-01-27 00:22:55 +01:00
David Jennes 068bc70730 Update copyright notices 2018-12-31 21:26:06 +01:00
David Jennes efe809c40f Enable codgen only for entities when it wouldn't conflict with Xcode 2018-12-26 22:03:04 +01:00
David Jennes e76e69f757 Handle entities with module set to "Current Product Module" 2018-12-26 21:22:07 +01:00
David Jennes 259fc0a504 Move guards up (earlier) 2018-12-24 14:27:34 +01:00
David Jennes 838fbddfaf Move remaining configuration parsing to Configuration file + minor tweaks 2018-12-24 14:26:57 +01:00
Grant Butler d4320aef69 Add support for uniqueness constraints. 2018-08-06 17:23:37 -04:00
Grant Butler f99d0806d0 Make Entity a struct. 2018-08-06 17:23:17 -04:00
Grant Butler 00baf27bec Try parsing string values into primitive types. 2018-08-06 14:47:14 -04:00
Grant Butler bed62a3d9d Undo default isOptional change. 2018-08-01 15:07:30 -04:00
Grant Butler 4d546a60e5 Switch FetchRequest to a struct. 2018-08-01 11:58:03 -04:00
Grant Butler 3eb746d768 Support fetched properties. 2018-08-01 11:16:37 -04:00
Grant Butler fb6fff28d7 Switch Relationship to a struct. 2018-08-01 11:11:06 -04:00
Grant Butler d4af3ec453 Update default values.
This better matches documentation of these properties, as well as matches observed defaults in Core Data models.
2018-08-01 11:10:55 -04:00
Grant Butler 51dd0471b8 Change to de-duplicate entities in a configuration. 2018-07-31 17:39:47 -04:00
Grant Butler 241e985694 Simplify structure to enable serialization to YAML. 2018-07-31 13:49:01 -04:00
Grant Butler 0bafdea730 Require name for entities, attributes, and relationships. 2018-07-31 13:49:01 -04:00
Grant Butler 0c1257376a Expose fetch request templates to templates. 2018-07-31 13:49:01 -04:00
Grant Butler fbe6fc877a Add base fetch request template parsing. 2018-07-31 13:49:01 -04:00
Grant Butler d0b44dd855 Expose configurations to templates. 2018-07-31 13:49:01 -04:00
Grant Butler d86d0789bc Add code to parse configurations. 2018-07-31 13:49:01 -04:00
Grant Butler 898400158c Add user info to model objects. 2018-07-31 13:49:01 -04:00
Grant Butler 501e7d2254 Add code to parse user info. 2018-07-31 13:49:01 -04:00
Grant Butler 72120f54bd Add XML.Attributes sub-enum. 2018-07-31 13:49:01 -04:00
Grant Butler a7b6a81481 Handle parsing a Core Data model file. 2018-07-31 13:49:01 -04:00
Grant Butler 426abd3137 Handle parsing models. 2018-07-31 13:49:01 -04:00
Grant Butler 68104d4a1c Handle parsing entities. 2018-07-31 13:49:01 -04:00
Grant Butler b7432d43a1 Handle parsing relationships. 2018-07-31 13:49:01 -04:00
Grant Butler bcf5fbeff1 Handle parsing attributes. 2018-07-31 13:49:01 -04:00
Grant Butler 4c8d5e0e1a Add base model objects. 2018-07-31 13:48:19 -04:00
Grant Butler ab785718f1 Handle traversing directories. 2018-07-31 13:48:19 -04:00
Grant Butler b410ff9d50 Handle finding xcdatamodeld files. 2018-07-31 13:48:19 -04:00
Grant Butler f477b63857 Add base CoreData.Parser. 2018-07-31 13:48:19 -04:00