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 (
#RRGGBBinline/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 —
.larkvsproject 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
Metadata
Release files for larkvs 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| larkvs-0.1.9.tar.gz | 1.8 MB | Without provenance | Details for larkvs-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| larkvs-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for larkvs-0.1.9-py3-none-any.whl |
Total release size: 3.6 MB
Release files / larkvs-0.1.9.tar.gz
| Download URL | larkvs-0.1.9.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50c11a4fff76498be14f7e1e4745d7e6ecbccb916da94bd04daac6d27523d51c
|
|
BLAKE2b-256 checksum How to use checksums |
5d0b2da8a22ac2361df8d3d29518a79485175616e353c398da3ae9775a5ecca4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / larkvs-0.1.9-py3-none-any.whl
| Download URL | larkvs-0.1.9-py3-none-any.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5b4905f564e031ab576c45cfa222e2efff453b1a4b3761d01855fc1c8c250df
|
|
BLAKE2b-256 checksum How to use checksums |
ecd4ef7b90177e1f434cfe0a8b749a9d03e75b6bf6643fd538fbee2f3ab95e63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Security for larkvs 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.