Skip to content

Share the editor and simulate view with the tutorial (comline-web-kit) #118

Closed

Description

@Kinflou

The tutorial's README asks for an interactive editor with live compilation and simulated machines with frame logs and stats. The playground already has both. The tutorial's one lesson (Simulation.svelte) rebuilds a small version of the simulate view by hand, and each new lesson would rebuild more.

The playground's editor and simulate view are framework-neutral TypeScript, so they can be a package that both apps use. That package is comline-web-kit, a workspace in this repo that the tutorial consumes by git, the way it consumes comline-simulator.

Steps

Checked so far

A project that depends on comline-web-kit with #workspace=comline-web-kit&commit=<sha> installs it, with or without the scripted engine. Its Vite build works with optimizeDeps.exclude: ["comline-web-kit"].

Merge order

  1. Extract the editor and simulate view into comline-web-kit #119, then kit: a lesson layout for the simulate view #120. GitHub retargets kit: a lesson layout for the simulate view #120 to master once Extract the editor and simulate view into comline-web-kit #119 merges.
  2. Repin Try it: run the lesson on the playground's simulate view tutorial#11 to the merge commit on master, then merge it. It currently pins a commit on kit: a lesson layout for the simulate view #120's branch.
  3. Design: the playground and tutorial share comline-web-kit docs#177.
  4. Archive shared-web: gh repo archive ComlineProject/shared-web.

Activity

  1. Kinflou commented on Nov 14, 2026

    @Kinflou
    MemberAuthor

    All four merged: #119, #120, ComlineProject/tutorial#11 (pinned to fe53d2e on master), ComlineProject/docs#177. Remaining: archive shared-web.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions