Skip to content

tscircuit/compiler

Repository files navigation

@tscircuit/compiler

The standard transpiler for tscircuit with other utilities and a server.

tscircuit has a standard transpilation system (basically React + Typescript babel presets)

The package encapsulates the transpilation system so that it can easily be used in different contexts, e.g. the browser, vs code extensions, local development.

The compiler can also output tscircuit soup which is the result of rendering tscircuit code, allowing browsers or other clients to avoid unsafe eval.

The compiler supports imports of community tscircuit repos without any additional configuration.

Development

To install dependencies:

bun install

To run:

bun run cli.ts

About

Proof-of-concept Compiler Server with Bun

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •