Skip to content

[#397] Remove `parse` from `morley`

Ivan Gromakovskii requested to merge gromak/#397-remove-parse into master

Description

Problem: morley executable has parse command that parses a smart contract and prints its Haskell representation. It was useful at early development, for example to test our parser, but now it seems quite useless, I doubt anybody used it recently. We can test parser by other means, e. g. using print (it parses the source contract). By removing this command we can drop the pretty-simple dependency which is used only there apparently.

Solution: remove this command and pretty-simple dependency.

Related issue(s)

Resolves #397 (closed)

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Merge request reports