poka.sh

Docs

VBS

Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.

VBScript Preview.

At a glance

Purpose A VBScript file (.vbs, or an encoded .vbe): Windows scripting in Visual Basic syntax.
Extensions .vbs
Poka parser poka-vbs
Viewer poka-metadata-card-viewer
Depth tier Metadata card (see Depth tiers)
Breadth tier B4 Summary (see Breadth tiers)

How much Poka reads

B4 Summary. The container and metadata are read and summarised (counts, properties, structure), but the main content is not rendered.

Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-vbs/src/main.rs (304 lines) and plugin.json in full. The crate has no unit tests and no tests/samples.rs, and the corpus has no .vbs and .vbe sample, so the tier rests on reading the code. Covers .vbs and .vbe. The output is a metadata card of counts found by matching text line by line: Option Explicit, Sub, Function, Class, Dim, ReDim and Const, Shell and WScript.Echo, On Error, control flow, Set assignments and CreateObject targets, ASP include directives, and line counts. Judgement: B4, because the structure is summarised but the source itself is never shown.

What Poka does not read

  • The source text is not shown: the card carries only counts and a few sample names, with no code view or highlighting
  • Constructs are found by matching text line by line, not by parsing, so multi-line declarations, nested or indented definitions and keywords inside strings or comments can be miscounted
  • Counts of named items stop where their name list is capped (subs at 32, functions at 32, classes at 16, create objects at 12), so a larger file under-reports them
  • Files over 16 MiB are cut to the first 16 MiB (the card says so)
  • Text that is not UTF-8 is decoded with replacement characters; no other encoding is tried
  • Encoded .vbe scripts are not decoded (there is no decoder), so a .vbe is counted as its encoded text or refused (judgement from the code)
  • The module comment names .hta, which is not routed to this module

Libraries

Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.

  • vbscript (vbscript.rs) (candidate; MIT; Rust; https://github.com/francisdb/vbscript.rs) — VBScript lexer and parser returning a syntax tree; v0.5.1 (Sep 2026); README says it is checked against cscript and 1500+ real scripts. Small project (few stars).

Sources

  • parsers/poka-vbs/src/main.rs
  • parsers/poka-vbs/plugin.json