Skip to content

[#712] Deprecate morley language extensions

Nikolay Yakimov requested to merge lierdakil/#712-deprecate-morly-language into master

TODO:

  • Update docs and README to clearly state that Morley language extensions are deprecated.

Description

Problem: Morley language extensions are barely used anywhere, and duplicate functionality from newer Michelson revisions. We'd like to stop spending effort on supporting them.

Solutions: Deprecate constructors corresponding to Morley extensions. Hide parsing mtz code behind a flag. One concession is that Morley parser is still more lenient, allowing lowercase commands, titlecase types, etc, hiding that behind a flag would require more effort than it's worth.

Related issue(s)

First half of #712 (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.

N/A

  • 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)

Edited by Nikolay Yakimov

Merge request reports