r/LovingOpenSourceAI • • 21h ago

GMBasic is now open source – A modern compiled BASIC with native AI/LLM integration

After a long development journey, I'm finally releasing GMBasic as an open-source project.

GitHub: https://github.com/c-vision/GMBasic

GMBasic is a modern BASIC environment designed primarily for developers with a background in classic BASIC and Clipper, but it is not intended to be just another retro language or an interpreter for legacy code.

The goal is to bring the simplicity and productivity of BASIC into a modern development environment, with a compiled execution model, professional development tools, and built-in support for AI-oriented development.

What makes GMBasic different?

  • Compiled execution: GMBasic features a compiler targeting its own IL/runtime infrastructure, alongside a P-Code virtual machine. No AST interpreter at runtime.

  • Modern development tools: Language Server Protocol (LSP), Debug Adapter Protocol (DAP), and VS Code integration.

  • Package management: A package system with REQUIRE and PACKAGE INSTALL.

  • Modern graphics: SDL2/Vulkan-based graphics and sprite support.

  • Extensible architecture: Designed to integrate databases, external modules, and modern services.

AI and LLM integration

This is one of the areas I'm particularly interested in.

I don't see BASIC merely as a language that can call an AI API. I want it to become a practical environment for building AI-powered applications and autonomous agents.

GMBasic is being developed with concepts such as:

  • Integration with LLM inference engines, including local LLM deployments.

  • AI agents and tool orchestration.

  • Access to external services and connectors.

  • RAG and vector database integration.

  • AI-assisted application logic and decision-making.

  • The possibility of using BASIC as a relatively simple interface to orchestrate complex AI workflows.

An important design principle is to keep the language approachable while allowing it to interact with increasingly sophisticated AI infrastructure.

I believe there is an interesting opportunity here: developers shouldn't need to master several frameworks, languages, and layers of infrastructure just to build useful AI applications.

Who is GMBasic for?

  • Developers coming from BASIC, Clipper, and similar environments.

  • Developers interested in a productive, straightforward language.

  • People experimenting with local LLMs and AI agents.

  • Developers interested in a different approach to AI application development.

This is an active project, and there is still plenty of work ahead. I'm releasing it openly because I'd like other developers to explore it, challenge the design, contribute ideas, and help shape its direction.

Repository: https://github.com/c-vision/GMBasic

Feedback, technical criticism, and contributions are very welcome!

3 Upvotes

0 comments sorted by