Skip to content

sumato-ai/splan-spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

splan

A language-neutral grammar for expressing batched code operations with content.

Overview

A plan is a sequence of operations, comments, declarations, and sections:

# Update call sites
---
replace service.HandlerA :old :new
replace service.HandlerB :old :new
:old::: process(ctx) :::
:new::: process(ctx, opts) :::
---
remove service.DeprecatedFunc
Component Role
Operation Command + arguments (tokens, content blocks, declaration refs)
Content block Delimited content: ::: content :::
Declaration Named content block: :name::: content :::
Section --- separator — scopes declaration names
Comment # text — preserved, no effect on execution

Bindings

This is the base grammar. Language-specific bindings define command vocabulary, token resolution, and content interpretation.

Files

Version

0.1.0 (draft)

Related

License

CC BY 4.0 — Sumato AI

About

Semantic Plan (splan) — a grammar for expressing batched code operations with content blocks

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors