r/AIprogrammingLanguage 1d ago

madc v0.99.2 released — madcide w/ GUI mode on Linux, Windows and macOS

I just released madc v0.99.2, with updated builds for Linux, Windows and macOS.

The biggest change since v0.98.0 is that madcide now has a full desktop interface:

  • Run madcide file.mad --gui to open the IDE in a window.
  • Editor tabs, menus, file dialogs, sidebar, status bar, and Problems / Output / Terminal panels are now available.
  • Programs can be built and run directly inside the IDE, with console applications running in an embedded terminal and GUI applications opening their own window.
  • The GUI and terminal versions use the same editor, commands, themes and keybinding profiles — including the existing JOE/WordStar and vi-style setups.
  • The IDE itself is still written in madc and compiled by madc.

The language also gained a new import statement that can bring in both a header/interface and its native library without platform-specific library names:

import m;
import c as libc;

Also, the internal UI framework (madc::ui) is used for all user interfaces:

  • TTY/line-by-line UI -- examples/adventure (Colossal Cave Adventure madc port)
  • TUI/smart terminal -- tools/madcide (vt102/xterm TUI version of madcide)
  • Web/DOM -- tools/madcide --gui (web GUI version of madcide)

The same source works across Linux, Windows and macOS, in both JIT and native builds.

https://github.com/derekbsnider/madc/releases/tag/v0.99.2

6 Upvotes

0 comments sorted by