detect.halowerk.com/v1/F-TD2000-DOCUMENTS-15/rust185-macro-rules-token-tree-repe
Returns a JSON finding that matches ordered bounded macro_rules token-tree arms and reconstructs the complete hygienically tagged structural transcription. Compare...
POST
https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-15/rust185-macro-rules-token-tree-repetition-binding-expansionUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-15/rust185-macro-rules-token-tree-repetition-binding-expansion", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"artifact":{"rustMacro":{"claim":null,"data":{"arms":[{"matcher":["m0"],"template":["q0"]}],"input":["t0"],"matcher_nodes":[{"category":"ident","id":"m0","kind":"literal","text":"good"}],"template_nodes":[{"category":"ident","id":"q0","kind":"literal","text":"out"}],"tokens":[{"category":"ident","id":"t0","kind":"token","text":"bad"}]}}}}),
});
console.log(await res.json());Example input
{
"artifact": {
"rustMacro": {
"claim": null,
"data": {
"arms": [
{
"matcher": [
"m0"
],
"template": [
"q0"
]
}
],
"input": [
"t0"
],
"matcher_nodes": [
{
"category": "ident",
"id": "m0",
"kind": "literal",
"text": "good"
}
],
"template_nodes": [
{
"category": "ident",
"id": "q0",
"kind": "literal",
"text": "out"
}
],
"tokens": [
{
"category": "ident",
"id": "t0",
"kind": "token",
"text": "bad"
}
]
}
}
}
}