Print Page | Close Window

AI-assisted MERL coding

Printed From: MetaCase
Category:
Forum Name: MetaEdit+
Forum Description: All topics relating to MetaEdit+ or DSM
URL: https://www.metacase.com/forums/forum_posts.asp?TID=975
Printed Date: 26.Mar.2026 at 22:43
Software Version: Web Wiz Forums 12.05 - http://www.webwizforums.com


Topic: AI-assisted MERL coding
Posted By: jpt
Subject: AI-assisted MERL coding
Date 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 https://www.metacase.com/support/56/manuals/mwb/Mw-6_9.html" rel="nofollow - 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 https://www.metacase.com/support/56/manuals/mwb/Mw-8_4.html" rel="nofollow - 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 https://www.metacase.com/support/56/manuals/mwb/Mw-10_1.html" rel="nofollow - document:into : command, for example run via https://www.metacase.com/support/56/manuals/mwb/Mw-6_4_8.html" rel="nofollow - 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 https://www.metacase.com/support/56/manuals/mwb/Mw-6_4_8.html#Heading2118" rel="nofollow - runtime . These are supported in MetaEdit+ Workbench.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.05 - http://www.webwizforums.com
Copyright ©2001-2022 Web Wiz Ltd. - https://www.webwiz.net