Commit Graph

80 Commits (master)

Author SHA1 Message Date
Paul Loyd e24a73b03b Add selectiveImport sample 2018-11-21 17:31:48 +03:00
Paul Loyd 21851b0042 Support GENERATE_MISSING=1 env in the test runner 2018-11-21 17:31:23 +03:00
Paul Loyd a51d4bc5b3 Support samples w/o types.yaml and schema.json 2018-11-21 15:58:56 +03:00
Paul Loyd 06a15e2d67 Enable flow for the test runner 2018-11-21 15:53:15 +03:00
Paul Loyd 921bdd04cb Support string keys 2018-11-06 20:03:36 +03:00
Paul Loyd cdc9304304 Add support for $FlowFixMe 2018-07-25 08:54:23 +03:00
Paul Loyd 414a3f5186 oneOf -> anyOf for maybe types 2018-01-13 20:54:46 +03:00
Paul Loyd 09f37c29bc Fix maps generation in json-schema generator 2018-01-13 20:51:37 +03:00
Paul Loyd a4bf88367e Add minimum = 0 to json-schema for u32 and u64 2017-12-18 20:46:31 +03:00
Paul Loyd 31877f825e Add tests for JSON schema 2017-12-17 02:10:39 +03:00
Paul Loyd c6fdf55ff2 Validate generated json schemas in the tests 2017-12-16 19:58:45 +03:00
Paul Loyd 1af68f1819 $ElementType now accepts reference to the key 2017-12-05 22:56:04 +03:00
Paul Loyd 50bbfe26fb Add tests for optional fields 2017-12-03 15:56:28 +03:00
Paul Loyd b8e69e10a4 Unwrap nested maybes 2017-12-03 15:46:44 +03:00
Paul Loyd b4244fc196 Add support for "declare (type|interface|class)" 2017-12-03 15:18:43 +03:00
Paul Loyd 57603cf0ff Add support for $All and $Either 2017-12-03 15:13:05 +03:00
Paul Loyd 0408a93927 Add support for $Diff 2017-12-02 16:03:29 +03:00
Paul Loyd f2aadffd95 Tests restructuring 2017-12-01 20:44:35 +03:00
Paul Loyd beb5c408d1 Types refactoring 2017-12-01 20:00:40 +03:00
Paul Loyd edc8f4eb6a Add tests for cycles 2017-11-30 17:19:44 +03:00
Paul Loyd 04c2be0550 json -> yaml for IR 2017-11-30 14:27:05 +03:00
Paul Loyd 3cc324d1da Add support for $Values 2017-11-29 10:08:20 +03:00
Paul Loyd addbcb675b Add support for $Keys 2017-11-29 10:00:39 +03:00
Paul Loyd 08dc16aa4b Add support for $ReadOnly and $Exact 2017-11-29 01:20:27 +03:00
Paul Loyd c299ef0f06 Add support for $Shape 2017-11-29 01:06:10 +03:00
Paul Loyd 31c8845a31 Add support for $NonMaybeType 2017-11-29 00:57:22 +03:00
Paul Loyd c95581329e Add support for $ElementType and $PropertyType 2017-11-29 00:45:18 +03:00
Paul Loyd 418f997d31 Add Object special 2017-11-28 20:39:56 +03:00
Paul Loyd d24a640ad5 Support for Array<T> and $ReadOnlyArray<T> 2017-11-28 20:29:57 +03:00
Paul Loyd c843463c0e Add tuples 2017-11-28 18:38:55 +03:00
Paul Loyd 18d81b66db Add "any" and "mixed" types 2017-11-28 18:19:01 +03:00
Paul Loyd 9f2cd7cfdc Imporve the pragma test 2017-11-28 17:46:53 +03:00
Paul Loyd 34d8a818b2 Add missing test cases for generics 2017-11-28 17:39:16 +03:00
Paul Loyd f56da6f9a8 Add some tests 2017-11-28 17:23:08 +03:00
Paul Loyd 2ad3f925eb Add tests for the maybe type 2017-11-28 16:41:48 +03:00
Paul Loyd 317f8e6e1c Introduce intermediate representation 2017-11-28 16:35:28 +03:00
Paul Loyd 777d8a0acd Clarify tests 2017-11-21 16:32:50 +03:00
Paul Loyd 6c9b19b90d Rewrite using flow 2017-11-21 15:28:59 +03:00
Paul Loyd f9a80591ad Compile sources with babel 2017-11-16 15:17:15 +03:00
Paul Loyd 1fc08b013e Initial support for generics 2017-11-13 21:11:18 +03:00
Paul Loyd 16632df5ed Small refactoring 2017-11-09 15:07:17 +03:00
Paul Loyd cbb64206d2 Add the unused test 2017-11-09 12:23:33 +03:00
Paul Loyd 6ab67ee13e Add the empty test 2017-11-09 12:21:41 +03:00
Paul Loyd 07bc3156c2 Reorder definitions in the scope test 2017-11-09 12:18:11 +03:00
Paul Loyd dbd1927aab Make the definition process lazy 2017-11-09 12:10:21 +03:00
Paul Loyd b0872d04b2 Involve groups of extractors 2017-11-06 14:29:26 +03:00
Paul Loyd 62fd586712 Handle Buffer shadowing 2017-11-06 02:13:41 +03:00
Paul Loyd bdd83fee1c Rewrite the scheduler: more efficient and always finite 2017-11-05 21:40:15 +03:00
Paul Loyd 112693ad3e Fix tests 2017-11-05 15:39:40 +03:00
Paul Loyd c987a28b0c Migrate to mocha 2017-11-05 12:28:10 +03:00