MCPcopy Index your code
hub / github.com/Bitspark/slang

github.com/Bitspark/slang @v0.1.27

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.27 ↗ · + Follow
709 symbols 5,323 edges 139 files 77 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CircleCIcodecov

Slang Daemon

Powered by Bitspark

About Slang

Slang is a visual flow-based programming language and programming system. It consists of the YAML-based Slang exchange format, the Slang daemon and the Slang UI.

About Slang daemon

Slang daemon is the service which serves the user web interface (Slang UI) and runs all your operators. You don't need anything else to start working with Slang, so this here is the place to start.

How to install

If you want to run Slang, you can simply download the latest release, unpack and run it. We have binaries for Windows, Linux and MacOS.

Compile it yourself

If you rather want to compile it yourself, you first need to install Go.

After you have set up Go and cloned the repository, switch to the root directory and run

go build ./...

This will fetch all the dependencies. After that, run

go build -o slangd ./cmd/slangd (on Windows: go build -o slangd.exe ./cmd/slangd)

That's it! Now you just need to run slangd (on Windows: slangd.exe) and Slang will take care of the rest such as downloading the UI and standard library.

Links

Extension points exported contracts — how you extend this code

Backend (Interface)
(no doc) [3 implementers]
pkg/storage/storage.go
Commander (Interface)
(no doc) [2 implementers]
pkg/api/runtime.go
OFunc (FuncType)
(no doc)
pkg/core/operator.go
AuthHandleFunc (FuncType)
(no doc)
pkg/daemon/server.go
WriteableBackend (Interface)
(no doc) [2 implementers]
pkg/storage/storage.go
Worker (Interface)
(no doc) [2 implementers]
pkg/api/runtime.go
CFunc (FuncType)
(no doc)
pkg/core/operator.go
Commands (Interface)
(no doc) [1 implementers]
pkg/api/runtime.go

Core symbols most depended-on inside this repo

Main
called by 560
pkg/core/operator.go
Push
called by 446
pkg/core/port.go
Out
called by 410
pkg/core/operator.go
In
called by 357
pkg/core/operator.go
Map
called by 346
pkg/core/port.go
New
called by 229
tests/assertions/assertions.go
Pull
called by 190
pkg/core/port.go
NoError
called by 182
tests/assertions/assertions.go

Shape

Function 385
Method 231
Struct 71
TypeAlias 9
FuncType 7
Interface 6

Languages

Go100%
Python1%

Modules by API surface

pkg/core/port.go56 symbols
pkg/core/def.go54 symbols
pkg/core/operator.go40 symbols
tests/core_port_test.go39 symbols
tests/core_def_test.go38 symbols
pkg/api/runtime.go36 symbols
pkg/daemon/server.go29 symbols
tests/slang_test.go28 symbols
cmd/makedocs/main.go18 symbols
pkg/storage/storage.go17 symbols
pkg/log/log.go17 symbols
pkg/daemon/component_loader.go15 symbols

For agents

$ claude mcp add slang \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact