Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Latest commit

 

History

History
20 lines (13 loc) · 494 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 494 Bytes

purescript-typedefs-interop

DEAD END EXPERIMENT: this turned out to be an unviable approach, due to erasure removing all payload on Mu terms.

Direct interop with the ASTs of parsed Typedefs terms from PureScript.

Introduction

The JavaScript generated by Idris needs preprocessing:

  • Replace let by var (downgrade to ES5)
  • Remove shebang and wrapper nullary function
  • Add exports.deserialize0 = to function Main__deserialize0

Usage

npm i
npm run test