Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Myl LanguageNew to Visual Studio Code? Get it now.
Myl Language

Myl Language

Anthony Hermanto

|
1 install
| (0) | Free
Myl language support and local compiler.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Myl Language — 0.7.1

Myl now supports multi-page Router/Route/Link, modular APIRouters, relative/root imports and shared models, alongside React-style JSX components/hooks and API decorators, validated models and automatic API docs. The extension colors markup and decorators and completes hooks, async JSON requests, models and route helpers. In a web project, Run starts the local server. The Myl: New Web App, Myl: Start Web App, and Myl: Build Web App commands support the complete workflow. Web diagnostics infer the browser/server target from myl-web.json. Types (View, state[T], fn[...], Request, Response, UIEvent), UI builtins, JSON APIs, and component/route snippets have colors, completion, and hover help.

Web projects need Python 3.10+ and Node.js 18+. Native Run additionally needs Clang/GCC. The compiler is bundled. See Web Apps.

Myl for Visual Studio Code

Open any .myl file to get syntax colors, four-space indentation, bracket and quote matching, folding, snippets, completion suggestions, function hover text, an Outline, and cross-file Go to Definition. Colors follow your current theme.

Place the cursor on a symbol and use F12, Go to Definition from the context menu, or Cmd+click (macOS) / Ctrl+click (Windows/Linux). With VSCodeVim, press gd in Normal mode. The extension uses VS Code's standard definition provider; no Vim remapping is needed.

Navigation follows functions, classes/models, constants, import aliases, relative/project-root imports, JSX components/props, scoped variables and parameters, and fields/methods whose receiver type can be inferred from source. Inherited members and super() resolve to their declarations. Open unsaved buffers are used, including imported files; an unfinished or ill-typed function does not require rebuilding the whole project. Comments, strings and JSX text are excluded. Builtins without Myl source and receivers with an unknown type may have no target. This is source navigation, not a full language server.

Type main and select the Main program snippet to create a runnable program. Other snippets include def, for, foreach, ifelse, list, dict, set, deque, minheap, maxheap, class, and extends. Use Myl: New Program from the Command Palette to create a complete starter file.

Click the ▶ button at the top right of a Myl editor, or press ⌘⌥R on macOS (Ctrl+Alt+R on Linux/Windows), to save, compile, and run the active file in a terminal. Execution requires Python 3.10+ and Clang/GCC; the compiler currently targets macOS and Linux. The extension includes an offline compiler and uses the repository compiler when editing inside a Myl checkout.

Version 0.7.1 bundles Myl 0.7.0, with native sets, deques, min/max heaps, priority queues, tuples, classes, constructors, single inheritance, method overriding, polymorphism, and super(). These features have syntax colors, builtin completion/hover help, snippets, and compiler diagnostics.

For global terminal commands, install the matching CLI:

npm install --global @anthonyy_thonyy/myl
myl doctor

The extension's Run button already includes the compiler; the npm CLI is optional.

Compiler errors appear on opening/saving in the Problems panel and as red squiggles. Use Myl: Check File to check manually. Check does not execute your program. Run requires def main() -> i32; a library can be checked without it.

Format Document trims trailing whitespace and adds a final newline. It does not restructure code or change indentation. Completion and navigation are basic editor helpers, not a full language server; save to get authoritative diagnostics.

Install locally

From the compiler repository:

python3 scripts/package_vscode.py --install

Alternatively, build without --install, then choose Extensions: Install from VSIX… and select build/myl-language-0.7.1.vsix. No marketplace publishing, account, npm packages, or network connection is needed.

If an already-open .myl file still says Plain Text, run Developer: Reload Window, then choose Myl in the bottom-right language selector. Check that you do not have an existing *.myl: plaintext association in VS Code settings.

Run Myl: Open Language Guide for syntax and examples. Configure myl.pythonPath or myl.compilerPath if you want a specific interpreter/compiler.

The extension performs no network requests or telemetry. Only trusted workspaces can run its compiler commands. Syntax highlighting is available in Restricted Mode.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft