Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/PRIVACY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Privacy Policy — mq for Markdown (Chrome Extension)
# Privacy Policy: mq for Markdown (Chrome Extension)

Last updated: 2026-08-10

Expand All @@ -14,7 +14,7 @@ Nothing is sent to a server.
- Reads the HTML of the tab you're currently viewing (only when you click "Extract page") and converts it to Markdown, entirely on your device.
- Runs the mq query you write against that content, also entirely on your device.
- Optionally renders a preview overlay of the converted content on the page you're viewing.
- Copies the result to your clipboard when you click "Copy" — this is a manual, user-initiated action; the extension does not read or write your clipboard otherwise.
- Copies the result to your clipboard when you click "Copy", this is a manual, user-initiated action; the extension does not read or write your clipboard otherwise.

## Data collection

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<img src="assets/logo.svg" style="width: 128px; height: 128px;"/>

<a href="https://mqlang.org">Visit the site 🌐</a>
—
·
<a href="https://mqlang.org/book">Read the book 📖</a>
—
·
<a href="https://mqlang.org/playground">Playground 🎮</a>

<h1>mq</h1>
Expand Down Expand Up @@ -136,8 +136,8 @@ mq is a Rust + TypeScript monorepo.
| [`mq-crawler`](crates/mq-crawler) | Directory crawler for batch Markdown processing | [![Crates.io](https://img.shields.io/crates/v/mq-crawler?style=flat-square&labelColor=162032&color=498eb6)](https://crates.io/crates/mq-crawler) |
| [`mq-macros`](crates/mq-macros) | Procedural macros for builtin function registration | [![Crates.io](https://img.shields.io/crates/v/mq-macros?style=flat-square&labelColor=162032&color=498eb6)](https://crates.io/crates/mq-macros) |
| [`mq-test`](crates/mq-test) | Test runner for mq | [![Crates.io](https://img.shields.io/crates/v/mq-test?style=flat-square&labelColor=162032&color=498eb6)](https://crates.io/crates/mq-test) |
| [`mq-ffi`](crates/mq-ffi) | C API for integrating mq into C applications | — |
| [`mq-wasm`](crates/mq-wasm) | WebAssembly bindings | — |
| [`mq-ffi`](crates/mq-ffi) | C API for integrating mq into C applications | - |
| [`mq-wasm`](crates/mq-wasm) | WebAssembly bindings | - |
| [`mq-web`](packages/mq-web) | Official WebAssembly build for the browser | [![npm](https://img.shields.io/npm/v/mq-web?style=flat-square&labelColor=162032&color=498eb6)](https://www.npmjs.com/package/mq-web) |
| [`mq-nodejs`](packages/mq-nodejs) | Node.js bindings | [![npm](https://img.shields.io/npm/v/mq-nodejs?style=flat-square&labelColor=162032&color=498eb6)](https://www.npmjs.com/package/mq-nodejs) |

Expand Down
2 changes: 1 addition & 1 deletion crates/mq-bench/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors.workspace = true
categories = ["command-line-utilities", "text-processing"]
description = "Benchmark runner for mq — times bench_ functions written in .mq files"
description = "Benchmark runner for mq: times bench_ functions written in .mq files"
edition.workspace = true
homepage = "https://mqlang.org/"
keywords = ["markdown", "jq", "query", "benchmark"]
Expand Down
6 changes: 3 additions & 3 deletions crates/mq-bench/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1 align="center">mq-bench</h1>

Standalone benchmark runner for mq — times `bench_` functions written in `.mq` files.
Standalone benchmark runner for mq: times `bench_` functions written in `.mq` files.

## Overview

Expand All @@ -11,7 +11,7 @@ Standalone benchmark runner for mq — times `bench_` functions written in `.mq`

Bench discovery uses the CST, same as [`mq-test`](../mq-test). Each bench takes no
parameters, is compiled once, warmed up, then run `--iterations` times sequentially with
`std::time::Instant` — never in parallel, since that would add scheduling noise to the
`std::time::Instant`: never in parallel, since that would add scheduling noise to the
timings.

This complements low-level, single-instruction Tarn VM benches (written in Rust with
Expand Down Expand Up @@ -65,4 +65,4 @@ def bench_markdown_table_render():
end
```

Bench functions must take no parameters — the runner calls each one as `name()`.
Bench functions must take no parameters: the runner calls each one as `name()`.
2 changes: 1 addition & 1 deletion crates/mq-bench/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::{path::PathBuf, process::ExitCode};
#[derive(Parser, Debug)]
#[command(name = "mq-bench")]
#[command(version = env!("CARGO_PKG_VERSION"))]
#[command(about = "Benchmark runner for mq — times bench_ functions written in .mq files")]
#[command(about = "Benchmark runner for mq: times bench_ functions written in .mq files")]
#[command(after_help = "# Examples:\n\n\
## Run all benches in a specific file:\n\
mq-bench benches.mq\n\n\
Expand Down
2 changes: 1 addition & 1 deletion crates/mq-bench/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ mod tests {
let bench_file = dir.join("bench.mq");
fs::write(&bench_file, "def bench_needs_arg(x):\n x\nend\n").unwrap();

// Skipped, not failed — nothing errored, so the run still reports success.
// Skipped, not failed: nothing errored, so the run still reports success.
let passed = BenchRunner::new(vec![bench_file]).run().unwrap();
assert!(passed);

Expand Down
Loading
Loading