Jump to content

S-expressions: Difference between revisions

m
m (→‎JavaScript :: Functional: Some reduction and tidying.)
Line 3,779:
return 0 < residue.length ? (
`Unparsed tokens: ${JSON.stringify(residue)}`
) : 0 < parse.length ? ([
JSON.stringify(parse, null, 2),
"Reserialized from parse:",
parse.map(serialized).join(" ")
].join("\n\n")) : "Could not be parsed";
};
 
9,655

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.