Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed

Versions 71 to 318

Compare

+6 −2 in 1 place
Lines 194–206 at 318 (were 194–202 at 71)
194194 * without its string literals and comments. A string or comment opened on
195195 * one line continues on the next.
196196 */
197−export function codeOfLines(lines: readonly string[]): string[] {
197+export function codeOfLines(lines: Iterable<string>): string[] {
198+ return [...eachCodeLine(lines)];
199+}
201+export function* eachCodeLine(lines: Iterable<string>): IterableIterator<string> {
198202 const st: ScanState = { stack: [{ kind: "code", depth: 0 }], block: false, triple: undefined };
199− return lines.map((line) => scanLine(line, st));
203+ for (const line of lines) yield scanLine(line, st);
200204}
201205
202206/** Names in some code (from codeOfLines): identifiers of three or more characters that aren't common names. */
MCP
compare on this site's /mcp
CLI
abso diff 71 318 worker/project/names.ts --json
JSON
/christopher/abso-core/compare/71..318?file=worker%2Fproject%2Fnames.ts&format=json