Transformation of Applicative Specifications into Imperative ...
Transformation of Applicative Specifications into Imperative ... Transformation of Applicative Specifications into Imperative ...
APPENDIX D. SPECIFICATION OF TRANSFORMER IN RSL1 types, prlet) else case te of TypeLiteral(literal) → mk_BOOL_FFP_ENV_TYPES_LDL( true, ffpl, env, overrideTYPES( types, mk_TYPES( 〈mk_TYPESMapEntrance( makeBinding(binding_list(ffpl)), Known(te))〉)), prlet), TypeName(id) → if isinId(id, domainTRANS(trans)) then mk_BOOL_FFP_ENV_TYPES_LDL( true, mk_FormalFunctionParameter(〈〉), overrideENV( env, mk_ENV( 〈mk_ENVMapEntrance( id, makeBinding(binding_list(ffpl)) )〉)), overrideTYPES( types, makeTYPESMap(binding_list(ffpl), te)), makeProductLet( te, makeBinding(binding_list(ffpl)), prlet, trans)) else mk_BOOL_FFP_ENV_TYPES_LDL( true, ffpl, env, overrideTYPES( types, mk_TYPES( 〈mk_TYPESMapEntrance( makeBinding(binding_list(ffpl)), Known(te))〉)), prlet) end, TypeExprProduct(tep) → TRFFPProduct( ffpl, tep, trans, env, types, prlet), TypeExprSet(tes) → 362
D.2. FORMAL SPECIFICATION OF THE TRANSFORMER IN RSL1 mk_BOOL_FFP_ENV_TYPES_LDL( true, ffpl, env, overrideTYPES( types, mk_TYPES( 〈mk_TYPESMapEntrance( makeBinding(binding_list(ffpl)), Known(te))〉)), prlet), TypeExprList(tel) → mk_BOOL_FFP_ENV_TYPES_LDL( true, ffpl, env, overrideTYPES( types, mk_TYPES( 〈mk_TYPESMapEntrance( makeBinding(binding_list(ffpl)), Known(te))〉)), prlet), TypeExprMap(tem) → mk_BOOL_FFP_ENV_TYPES_LDL( true, ffpl, env, overrideTYPES( types, mk_TYPES( 〈mk_TYPESMapEntrance( makeBinding(binding_list(ffpl)), Known(te))〉)), prlet), FunctionTypeExpr(tef, fa, rd) → TRFormalFuncParam( ffpl, tef, trans, env, overrideTYPES( types, mk_TYPES( 〈mk_TYPESMapEntrance( makeBinding(binding_list(ffpl)), Known(te))〉)), prlet), BracketedTypeExpr(bte) → TRFormalFuncParam( ffpl, bte, trans, env, types, prlet) end end, TRFFPProduct : FormalFunctionParameter × TypeExpr ∗ × TRANS × ENV × TYPES × LetDef ∗ → 363
- Page 328 and 329: APPENDIX D. SPECIFICATION OF TRANSF
- Page 330 and 331: APPENDIX D. SPECIFICATION OF TRANSF
- Page 332 and 333: APPENDIX D. SPECIFICATION OF TRANSF
- Page 334 and 335: APPENDIX D. SPECIFICATION OF TRANSF
- Page 336 and 337: APPENDIX D. SPECIFICATION OF TRANSF
- Page 338 and 339: APPENDIX D. SPECIFICATION OF TRANSF
- Page 340 and 341: APPENDIX D. SPECIFICATION OF TRANSF
- Page 342 and 343: APPENDIX D. SPECIFICATION OF TRANSF
- Page 344 and 345: APPENDIX D. SPECIFICATION OF TRANSF
- Page 346 and 347: APPENDIX D. SPECIFICATION OF TRANSF
- Page 348 and 349: APPENDIX D. SPECIFICATION OF TRANSF
- Page 350 and 351: APPENDIX D. SPECIFICATION OF TRANSF
- Page 352 and 353: APPENDIX D. SPECIFICATION OF TRANSF
- Page 354 and 355: APPENDIX D. SPECIFICATION OF TRANSF
- Page 356 and 357: APPENDIX D. SPECIFICATION OF TRANSF
- Page 358 and 359: APPENDIX D. SPECIFICATION OF TRANSF
- Page 360 and 361: APPENDIX D. SPECIFICATION OF TRANSF
- Page 362 and 363: APPENDIX D. SPECIFICATION OF TRANSF
- Page 364 and 365: APPENDIX D. SPECIFICATION OF TRANSF
- Page 366 and 367: APPENDIX D. SPECIFICATION OF TRANSF
- Page 368 and 369: APPENDIX D. SPECIFICATION OF TRANSF
- Page 370 and 371: APPENDIX D. SPECIFICATION OF TRANSF
- Page 372 and 373: APPENDIX D. SPECIFICATION OF TRANSF
- Page 374 and 375: APPENDIX D. SPECIFICATION OF TRANSF
- Page 376 and 377: APPENDIX D. SPECIFICATION OF TRANSF
- Page 380 and 381: APPENDIX D. SPECIFICATION OF TRANSF
- Page 382 and 383: APPENDIX D. SPECIFICATION OF TRANSF
- Page 384 and 385: APPENDIX D. SPECIFICATION OF TRANSF
- Page 386 and 387: APPENDIX D. SPECIFICATION OF TRANSF
- Page 388 and 389: APPENDIX D. SPECIFICATION OF TRANSF
- Page 390 and 391: APPENDIX D. SPECIFICATION OF TRANSF
- Page 392 and 393: APPENDIX D. SPECIFICATION OF TRANSF
- Page 394 and 395: APPENDIX D. SPECIFICATION OF TRANSF
- Page 396 and 397: APPENDIX D. SPECIFICATION OF TRANSF
- Page 398 and 399: APPENDIX D. SPECIFICATION OF TRANSF
- Page 400 and 401: APPENDIX D. SPECIFICATION OF TRANSF
- Page 402 and 403: APPENDIX D. SPECIFICATION OF TRANSF
- Page 404 and 405: APPENDIX D. SPECIFICATION OF TRANSF
- Page 406 and 407: APPENDIX D. SPECIFICATION OF TRANSF
- Page 408 and 409: APPENDIX D. SPECIFICATION OF TRANSF
- Page 410 and 411: APPENDIX D. SPECIFICATION OF TRANSF
- Page 412 and 413: APPENDIX D. SPECIFICATION OF TRANSF
- Page 414 and 415: APPENDIX D. SPECIFICATION OF TRANSF
- Page 416 and 417: APPENDIX D. SPECIFICATION OF TRANSF
- Page 418 and 419: APPENDIX D. SPECIFICATION OF TRANSF
- Page 420 and 421: APPENDIX D. SPECIFICATION OF TRANSF
- Page 422 and 423: APPENDIX D. SPECIFICATION OF TRANSF
- Page 424 and 425: APPENDIX D. SPECIFICATION OF TRANSF
- Page 426 and 427: APPENDIX D. SPECIFICATION OF TRANSF
APPENDIX D. SPECIFICATION OF TRANSFORMER IN RSL1<br />
types, prlet)<br />
else<br />
case te <strong>of</strong><br />
TypeLiteral(literal) →<br />
mk_BOOL_FFP_ENV_TYPES_LDL(<br />
true, ffpl, env,<br />
overrideTYPES(<br />
types,<br />
mk_TYPES(<br />
〈mk_TYPESMapEntrance(<br />
makeBinding(binding_list(ffpl)),<br />
Known(te))〉)), prlet),<br />
TypeName(id) →<br />
if isinId(id, domainTRANS(trans))<br />
then<br />
mk_BOOL_FFP_ENV_TYPES_LDL(<br />
true, mk_FormalFunctionParameter(〈〉),<br />
overrideENV(<br />
env,<br />
mk_ENV(<br />
〈mk_ENVMapEntrance(<br />
id,<br />
makeBinding(binding_list(ffpl))<br />
)〉)),<br />
overrideTYPES(<br />
types,<br />
makeTYPESMap(binding_list(ffpl), te)),<br />
makeProductLet(<br />
te, makeBinding(binding_list(ffpl)),<br />
prlet, trans))<br />
else<br />
mk_BOOL_FFP_ENV_TYPES_LDL(<br />
true, ffpl, env,<br />
overrideTYPES(<br />
types,<br />
mk_TYPES(<br />
〈mk_TYPESMapEntrance(<br />
makeBinding(binding_list(ffpl)),<br />
Known(te))〉)), prlet)<br />
end,<br />
TypeExprProduct(tep) →<br />
TRFFPProduct(<br />
ffpl, tep, trans, env, types, prlet),<br />
TypeExprSet(tes) →<br />
362