Skip to content
RolandoAndradePublic

About

StepCode is a pseudo-code language for writing step-by-step instructions. It is designed to be easy to read and write, and to be easily converted to other languages. It is based on the syntax of PSeInt, a pseudo-code language for teaching programming.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

StepCode

StepCode is a pseudocode language for learning to program, compatible with PSeInt and available in Spanish, English, and any keyword profile you define. Version 2 is a rewrite as a pnpm monorepo; the editor runs at https://stepcode.letsbuildsolutions.com and the packages are on npm.

Packages

Package Path What it is
stepcode packages/language Lexer, parser, checker, and steppable interpreter
@stepcode/profiles packages/profiles Keyword profiles (es, en, pseint) and their schema
@stepcode/codemirror packages/codemirror CodeMirror 6 language support and debug extensions
@stepcode/textmate packages/textmate TextMate grammar generator for Shiki / VS Code
@stepcode/editor packages/editor The web editor (private, deployed to Cloudflare Workers at stepcode.letsbuildsolutions.com)

Dependencies flow one way: profiles ← language ← codemirror ← editor, profiles ← textmate.

Development

Requires Node 24 and pnpm 11 (corepack enable picks the pinned version).

pnpm install
pnpm dev          # editor dev server
pnpm test         # all packages
pnpm typecheck
pnpm lint         # biome; `pnpm lint:fix` to format
pnpm build        # all packages, in dependency order

Libraries expose src/ through a development export condition, so tests and the dev server never need a build. Published packages resolve to dist/.

Releasing

pnpm changeset records a change. On master, the release workflow opens or updates a "Version Packages" PR; merging that PR bumps versions and changelogs and publishes the four packages with npm provenance through trusted publishing (no token in the repository). The first 2.0.0 publish was done by hand; see docs/superpowers/specs/2026-09-06-release-design.md.

Design

See docs/superpowers/specs/2026-09-03-stepcode-v2-design.md.

License

MIT — see LICENSE.txt.

About

StepCode is a pseudo-code language for writing step-by-step instructions. It is designed to be easy to read and write, and to be easily converted to other languages. It is based on the syntax of PSeInt, a pseudo-code language for teaching programming.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages