MCPcopy Index your code
hub / github.com/candy-lang/candy

github.com/candy-lang/candy @v0.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.0 ↗ · + Follow
18 symbols 29 edges 3 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🍭 Candy

A sweet programming language, mainly inspired by Kotlin, Rust and Dart.

How to use Candy

  1. Download the latest release bundle.
  2. Extract the files:
  3. candy2dart.exe: the compiler
  4. lsp-server.exe: the Language Server
  5. vscode-extension.vsix: the VS Code extension
  6. candy: the folder containing the standard library
  7. Install the VS Code extension.
  8. In the settings (ctrl + ,), adjust the paths in the Candy section:
  9. The Candy Path should point to the standard library.
  10. The Language Server Command should point to the lsp-server.exe.
  11. Open a project.
  12. Create the following:
  13. a candyspec.yml file with a name: something field
  14. a src folder
  15. a main.candy inside the src folder with a main function
  16. Execute code actions (by default, that's ctrl + .).
  17. Select "Build".
  18. If you actually want to run Candy code, also install Dart.

Extension points exported contracts — how you extend this code

TypeLabelsParams (Interface)
(no doc)
packages/vscode_extension/src/lsp_custom_protocol.ts
TypeLabel (Interface)
(no doc)
packages/vscode_extension/src/lsp_custom_protocol.ts

Core symbols most depended-on inside this repo

update
called by 3
packages/vscode_extension/src/type_labels.ts
uriToString
called by 3
packages/vscode_extension/src/type_labels.ts
safeSpawn
called by 1
packages/vscode_extension/src/extension.ts
activate
called by 0
packages/vscode_extension/src/extension.ts
deactivate
called by 0
packages/vscode_extension/src/extension.ts
spawnServer
called by 0
packages/vscode_extension/src/extension.ts
constructor
called by 0
packages/vscode_extension/src/extension.ts
_transform
called by 0
packages/vscode_extension/src/extension.ts

Shape

Class 6
Method 6
Function 4
Interface 2

Languages

TypeScript100%

Modules by API surface

packages/vscode_extension/src/extension.ts8 symbols
packages/vscode_extension/src/type_labels.ts6 symbols
packages/vscode_extension/src/lsp_custom_protocol.ts4 symbols

For agents

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

⬇ download graph artifact