MetaCase Homepage
Forum Home Forum Home > > MetaEdit+
  New Posts New Posts RSS Feed - AI-assisted MERL coding
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

AI-assisted MERL coding

 Post Reply Post Reply
Author
Message
jpt View Drop Down
MetaCase
MetaCase
Avatar

Joined: 25.Mar.2008
Points: 253
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpt Quote  Post ReplyReply Direct Link To This Post Topic: AI-assisted MERL coding
    Posted: 27.Feb.2026 at 07:51

A question received through the MetaEdit+ support and maintenance program is more general in nature, and I thought it would be of interest to Forum readers too as deals with integrating with AI tools.

---

Q: I've been practicing MERL here, fully AI-driven. I've gotten reasonably good results when giving the AI enough context (e.g. Metamodel export, links to MERL references, code examples, etc.). So far I have been copying and pasting the generated code, and wonder if there are other ways to integrate AI into the workflow?

---

A: Providing examples, using few-shot learning, and giving access to the grammar enables an easy start. If you are looking for ways to integrate and avoid copy/paste with your AI tooling, there's already functionality for this in MetaEdit+ 5.6.

  1. Importing MERL code is already possible as MXT (see MWB 8.4, last paragraph).
  2. If you want to keep other generators the same, or share them with your AI tools, you can write them to files using the document:into: command, for example run via internal..execute.
  3. AI tools like Claude can make changes and additions, and then you can form an MXT from these (e.g. based on a standard metamodel export, if you're not also creating types with AI).
  4. There's also the option to run MERL code from an external file at runtime. These are supported in MetaEdit+ Workbench.


Edited by jpt - 27.Feb.2026 at 07:53
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.05
Copyright ©2001-2022 Web Wiz Ltd.

This page was generated in 0.016 seconds.