Basic parser for AT
commitac01698d9cd0525be2ff6c16a98f7d66efdbc65d
authorJosh Watzman <jwatzman@fb.com>
Wed, 5 Nov 2014 18:56:21 +0000 (5 10:56 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 5 Nov 2014 19:00:21 +0000 (5 11:00 -0800)
tree34bf28cac9c759b9474131a7d22c8f24e83c14df
parentda75396dd115183241fd6c2d77aca4cbcadb7fc5
Basic parser for AT

Summary: This is a simple parser for Box's augmented types, as the
basis of an AT-to-Hack conversion tool. It was optimized for being easy
to write, not really for having good error recovery/detection or for
being super flexible, since AT isn't really changing, and this will be a
run-once tool.

https://github.com/box/augmented_types/wiki/The-Type-System

Reviewed By: @ptarjan

Differential Revision: D1652771

Signature: t1:1652771:1415154622:03f5f990895cedb819126df07dc6c439d898f510
hphp/hack/tools/README
hphp/hack/tools/augmented_types/at_lex.mll [new file with mode: 0644]
hphp/hack/tools/augmented_types/at_parse.ml [new file with mode: 0644]
hphp/hack/tools/augmented_types/at_parse.mli [new file with mode: 0644]
hphp/hack/tools/augmented_types/at_ty.ml [new file with mode: 0644]
hphp/hack/tools/augmented_types/augmented_types.ml [new file with mode: 0644]
hphp/hack/tools/augmented_types/augmented_types_test.ml [new file with mode: 0644]