Luwi

Parse text files using custom Lua scripts powered by WebAssembly. Define flexible parsing rules with tag-based filtering.

Loading Luwi WASM module...

How It Works

What is Luwi?

Luwi is a file parser written in Rust and compiled to WebAssembly. It uses Lua scripts to define custom parsing rules.

Tag Filtering

Tag1 and Tag2 filter lines. Lines matching these tags are processed by your Lua function. Use both for AND logic.

Lua Function

Your Lua script should define a function (default: parse_line) that receives each matching line.

Example Script

function parse_line(line)
  local f1 = line:sub(1, 10)
  local f2 = line:sub(11, 20)
  return f1 .. "," .. f2
end

Output

Results show tag counts and parsed lines. Use "Download CSV" to export.