Add target to convert files to reason

Summary:
Add a Makefile to convert files to reason, to help with rebasing over
the conversion.

Reviewed By: jvillard

Differential Revision: D3316674

fbshipit-source-id: 8abcbe0
master
Josh Berdine 9 years ago committed by Facebook Github Bot 9
parent c03015768d
commit e211e489c7

@ -339,3 +339,10 @@ endif
$(REMOVE) $(CLANG_ATDGEN_STUBS)
$(REMOVE) $(INFER_CLANG_FCP_MIRRORED_FILES)
$(REMOVE) mod_dep.dot
# convert to reason
%.re : %.ml
refmt -assume-explicit-arity -heuristics-file unary.txt -parse ml -print re $< > $*.re
%.rei : %.mli
refmt -assume-explicit-arity -heuristics-file unary.txt -parse ml -print re $< > $*.rei

@ -0,0 +1,148 @@
Adiv0
ArraySubscriptExpr
AttributedType
BinaryConditionalOperator
BinaryOperator
BlockDecl
BlockExpr
BlockPointerType
BreakStmt
BuiltinType
C
CapturedDecl
CStyleCastExpr
CXXBindTemporaryExpr
CXXBoolLiteralExpr
CXXCatchStmt
CXXConstCastExpr
CXXConstructExpr
CXXConstructorDecl
CXXConversionDecl
CXXDefaultArgExpr
CXXDefaultInitExpr
CXXDeleteExpr
CXXDestructorDecl
CXXDynamicCastExpr
CXXForRangeStmt
CXXFunctionalCastExpr
CXXMemberCallExpr
CXXMethodDecl
CXXNewExpr
CXXNullPtrLiteralExpr
CXXOperatorCallExpr
CXXRecordDecl
CXXReinterpretCastExpr
CXXScalarValueInitExpr
CXXStaticCastExpr
CXXStdInitializerListExpr
CXXTemporaryObjectExpr
CXXThisExpr
CXXThrowExpr
CXXTryStmt
CXXTypeidExpr
CallExpr
CaseStmt
CharacterLiteral
ClassTemplateDecl
ClassTemplateSpecializationDecl
CompoundAssignOperator
CompoundLiteralExpr
CompoundStmt
Condition_redundant
ConditionalOperator
ConstantArrayType
ContinueStmt
DecayedType
DeclRefExpr
DeclStmt
DefaultStmt
DependentSizedArrayType
DoStmt
EnumConstantDecl
EnumDecl
EnumType
Esub_entry
ExprWithCleanups
FieldDecl
FloatingLiteral
ForStmt
FunctionDecl
FunctionNoProtoType
FunctionProtoType
FunctionTemplateDecl
GCCAsmStmt
GNUNullExpr
GenericSelectionExpr
GotoStmt
IfStmt
ImplOK
ImplicitCastExpr
ImplicitValueInitExpr
IncompleteArrayType
InitListExpr
IntegerLiteral
LambdaExpr
LValueReferenceType
LabelStmt
LinkageSpecDecl
MaterializeTemporaryExpr
MemberExpr
NamespaceDecl
NonBottom
NullStmt
ObjCArrayLiteral
ObjCAtCatchStmt
ObjCAtFinallyStmt
ObjCAtSynchronizedStmt
ObjCAtThrowStmt
ObjCAtTryStmt
ObjCAutoreleasePoolStmt
ObjCBoolLiteralExpr
ObjCBoxedExpr
ObjCBridgedCastExpr
ObjCCategoryDecl
ObjCCategoryImplDecl
ObjCDictionaryLiteral
ObjCEncodeExpr
ObjCForCollectionStmt
ObjCImplementationDecl
ObjCIndirectCopyRestoreExpr
ObjCInterfaceDecl
ObjCInterfaceType
ObjCIvarDecl
ObjCIvarRefExpr
ObjCMessageExpr
ObjCMethodDecl
ObjCObjectPointerType
ObjCObjectType
ObjCPropertyDecl
ObjCPropertyImplDecl
ObjCPropertyRefExpr
ObjCProtocolDecl
ObjCProtocolExpr
ObjCSelectorExpr
ObjCStringLiteral
ObjCSubscriptRefExpr
OpaqueValueExpr
Parameter_annotation_inconsistent
ParenExpr
ParenType
ParmVarDecl
PointerType
PredefinedExpr
PseudoObjectExpr
RValueReferenceType
RecordDecl
RecordType
ReturnStmt
SizeOfPackExpr
StmtExpr
StringLiteral
SwitchStmt
TranslationUnitDecl
TypedefType
UnaryExprOrTypeTraitExpr
UnaryOperator
VarDecl
VariableArrayType
WhileStmt
Loading…
Cancel
Save