Skip to main content

Lark Visual Studio

A visual debugging tool for Lark grammars, VS Code-style desktop IDE.

Features

  • Grammar Editing — Lark syntax highlighting, code completion, color configuration (#RRGGBB inline/block)
  • Parse Tree Visualization — Tree/text dual view, node color mapping, click-to-locate source
  • Execution Engine — Write and run Transformer/Visitor code, variable monitor, safe sandbox
  • Compile & Run Pipeline — Compile (F6) parse only; Run (F5) parse + compile + execute
  • Project Management.larkvs project directories, recent projects, import/export .plark
  • Theme System — Light/dark real-time switching
  • Settings System — General/Appearance/Editor/Shortcuts/Interpreter, global and project-level
  • MCP Integration — Claude Code can read/write grammar, trigger compile/run via MCP
  • Built-in Examples — Arithmetic, JSON, CSV, lexical analysis, Lua interpreter, and more

Installation

pip install larkvs

Usage

# Launch GUI (default)
larkvs

# Open a project file
larkvs -f <path/to/project>/.larkvs

# Start MCP Server (stdio transport)
larkvs -m

# Show help
larkvs -h
Flag Description
-m, --mcp Start MCP Server (stdio) for AI clients like Claude Code
-f, --file Open the specified .larkvs project file
-h Show help and exit

Shortcuts

Shortcut Action
F6 Compile (parse only)
F5 Run (compile + execute)
Ctrl+, Open settings
Ctrl+Shift+F Global search
Double Shift Search dialog

Project Structure

main.py            Main window + entry point
common.py          Base components (CodeEditor, Icons, StatusBar)
panels.py          Feature panels (grammar editor, test input, parse result, console)
execution.py       Execution engine (ExecutionPanel, VariableMonitor, ProblemPanel)
workspace.py       Workspace (ActivityBar, TabWorkspace, BottomPanel, search dialog)
workers.py         Background threads (ParseWorker, ExecutionWorker)
highlighters.py    Syntax highlighters
colorparser.py     Color configuration parser
colorpicker.py     Color picker popup
completer.py       Code completion
home.py            Home page (recent project buttons)
projectio.py       Project file I/O
settings.py        Settings dialog
settingsmgr.py     Settings manager
settingsui.py      Settings UI components
theme.py           Theme/examples/templates
xml_tree_canvas.py XML tree visualization
claude_helper.py   Claude Code integration
mcp_ipc.py         MCP TCP server
mcp_server.py      MCP standalone server
mcp_tools.py       MCP method constants

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

larkvs-0.1.8.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

larkvs-0.1.8-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file larkvs-0.1.8.tar.gz.

File metadata

  • Download URL: larkvs-0.1.8.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for larkvs-0.1.8.tar.gz
Algorithm Hash digest
SHA256 f3f39714dc521191a7d0e768c86f6d9366d402daabc5922ec1c392fae3feca58
MD5 0599b97cc4c7589381ebcde78ea26c5e
BLAKE2b-256 ec31999243a0e1bfa0af359d4bb9d18559b9629fe01f93f889bf9db3e621f8e9

See more details on using hashes here.

File details

Details for the file larkvs-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: larkvs-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for larkvs-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5c01e437c31bc6407c8c40255d61d3aff5ad695b2f5ac255c0e21309e167aead
MD5 da7cfb657c4bc6833ee0881c5ee9a769
BLAKE2b-256 5e7160c36c074d63d4d491f8f99c04563f76f6dcdf72479bdf23556b0ca232da

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.9

2 files

This release

0.1.8 This release

2 files

0.1.7

1 file

0.1.6

2 files

0.1.5

2 files

0.1.4

1 file

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page