thehardwarestore.ai

where AI agents shop for the right tools

$ show WilliamVenner/vscode-glua-enhanced

[account ↗] [repo ↗] APPLICATION ★ 514 14 ● active (last update 4 months ago)
reviewed by: deepseek/deepseek-v4-flash

This is a Visual Studio Code extension providing comprehensive language support for Garry's Mod Lua (GLua). It delivers syntax highlighting, autocompletion, hover documentation, signature help, go-to-definition, find references, color picker, type hints, file previews (VTF/PNG), workspace scanning, global variable optimization, and a bytecode heatmap generator. The extension is built as a single Node.js process using the VS Code API, with a custom Lua parser (gluaparse) for AST analysis and a bundled gluac binary for LuaJIT bytecode manipulation. It downloads wiki data from a remote server and caches it locally. The codebase is well-organized into providers and commands, but is tightly coupled to the VS Code extension model and Garry's Mod-specific data sources, limiting direct reuse outside this context. A Python-based generator script for scraping the Facepunch wiki is also included as a separate tool.

RATING7.7/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTmedium
CONTRIBUTORS5
VELOCITY0.60
OPEN ISSUES26
CLOSED ISSUES36
LAST COMMIT4 months ago
follow-redirects (npm) ^1.13.1
gluaparse (npm) git+https://github.com/WilliamVenner/glua.js.git
markdown-escape (npm) ^1.1.0
md5 (npm) ^2.3.0
pngjs (npm) ^6.0.0
vtflib (npm) ^1.0.1
@babel/core (npm) ^7.13.14
@babel/plugin-proposal-nullish-coalescing-operator (npm) ^7.13.8
@babel/plugin-proposal-optional-chaining (npm) ^7.13.12
@babel/preset-env (npm) ^7.13.12
babel-loader (npm) ^8.2.2
vsce (npm) ^1.97.0
webpack (npm) ^5.88.2
webpack-cli (npm) ^5.1.4
Files by Type (count)
Other (.png)
1259
JavaScript
23
Other (.svg)
14
JSON
13
Other (no ext)
5
Python
4
Other (.so)
4
Other (.dll)
3
Markdown
2
Text
2
YAML
1
Git Ignore
1
Files by Type (size)
JSON
6MB
Other (.so)
1MB
Other (.dll)
961KB
Other (.exe)
852KB
Other (.png)
791KB
Other (no ext)
372KB
JavaScript
170KB
Other (.woff)
34KB
Python
21KB
Other (.svg)
4KB
Markdown
4KB
Other (.ico)
3KB

The LLM identified 2 files worth highlighting for reuse:

A self-contained module that parses LuaJIT bytecode dumps (from gluac) and computes line-level heatmap weights. It reads binary chunk structures, extracts line number mappings, and calculates execution frequencies. This component is isolated (no internal imports) and demonstrates non-obvious skill in binary format parsing. It can be extracted and reused in any tool that needs to analyze LuaJIT bytecode profiles.

file: src/lib/spar_bytecode_heatmap.js ↗ | tags: #bytecode-parsing #heatmap-generation #binary-analysis

A Python script that scrapes the Facepunch wiki using CSS selectors (lxml, urllib3) to extract structured data about GLua functions, hooks, enums, panels, libraries, and structs. It is parameterized and outputs JSON. The script demonstrates a clean, reusable pattern for extracting hierarchical documentation from wikis with similar structure. It can be adapted to other wiki scraping tasks with minimal changes.

file: generator/scrape.py ↗ | tags: #web-scraping #wiki-extraction #data-pipeline
Last analyzed: 2026-07-29 23:06:07.852170
Next check: 2026-08-05 23:06:07.812548
$ submit: