MCPcopy Index your code
hub / github.com/HarmonicLabs/pebble

github.com/HarmonicLabs/pebble @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
3,140 symbols 7,286 edges 565 files 158 documented · 5%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

A simple, yet rock solid, functional language with an imperative bias, targeting UPLC

<img src="https://img.shields.io/github/commit-activity/m/HarmonicLabs/plu-ts?style=for-the-badge" />
<a href="https://twitter.com/hlabs_tech">
  <img src="https://img.shields.io/twitter/follow/hlabs_tech?style=for-the-badge&logo=twitter" />
</a>
<a href="https://twitter.com/MicheleHarmonic">
  <img src="https://img.shields.io/twitter/follow/MicheleHarmonic?style=for-the-badge&logo=twitter" />
</a>

what is pebble?

Install

command line

npm install -g @harmoniclabs/pebble

or as library (in your project root dir)

npm install @harmoniclabs/pebble

Get started

Extension points exported contracts — how you extend this code

ToJson (Interface)
(no doc) [14 implementers]
packages/pebble/src/utils/ToJson.ts
OffchainConfig (Interface)
(no doc)
packages/pebble-cli/src/init/initPebbleProject.ts
IOutputStream (Interface)
(no doc) [6 implementers]
packages/pebble/src/compiler/io/IOutputStream.ts
CliPrettyUplcFlags (Interface)
(no doc)
packages/pebble-cli/src/uplc/pretty/prettyPrintUplcFromFile.ts
ITirType (Interface)
(no doc) [46 implementers]
packages/pebble/src/compiler/tir/types/TirType.ts
FormattedSummary (Interface)
(no doc)
packages/pebble-cli/src/test/formatTestResults.ts
ITirStmt (Interface)
(no doc) [18 implementers]
packages/pebble/src/compiler/tir/statements/TirStmt.ts
CliTestFlags (Interface)
(no doc)
packages/pebble-cli/src/test/runTestsCommand.ts

Core symbols most depended-on inside this repo

toString
called by 431
packages/pebble/src/compiler/tir/types/TirType.ts
range
called by 339
packages/pebble/src/tokenizer/Tokenizer.ts
_ir_apps
called by 330
packages/pebble/src/IR/IRNodes/IRApp.ts
skip
called by 219
packages/pebble/src/tokenizer/Tokenizer.ts
get
called by 203
packages/pebble-cli/src/repl/pebbleRepl.ts
join
called by 128
packages/pebble/src/ast/Source/SourceRange.ts
createMemoryCompilerIoApi
called by 127
packages/pebble/src/compiler/io/CompilerIoApi.ts
set
called by 126
packages/pebble-cli/src/repl/pebbleRepl.ts

Shape

Method 1,717
Function 723
Class 571
Interface 110
Enum 19

Languages

TypeScript100%

Modules by API surface

packages/pebble/src/compiler/tir/expressions/binary/TirBinaryExpr.ts180 symbols
packages/pebble/src/IR/IRNodes/IRNative/index.ts157 symbols
packages/pebble/src/compiler/tir/expressions/TirNativeFunc.ts117 symbols
packages/pebble/src/parser/Parser.ts69 symbols
packages/pebble/src/ast/nodes/expr/binary/BinaryExpr.ts63 symbols
packages/pebble/src/compiler/tir/types/TirNativeType/TirNativeType.ts57 symbols
packages/pebble/src/ast/nodes/statements/AssignmentStmt.ts48 symbols
packages/pebble/src/compiler/tir/types/TirStructType.ts43 symbols
packages/pebble/src/tokenizer/Tokenizer.ts40 symbols
packages/pebble/src/compiler/AstCompiler/AstCompiler.ts40 symbols
packages/pebble/src/compiler/AstCompiler/scope/AstScope.ts34 symbols
packages/pebble/src/ast/nodes/types/AstNativeTypeExpr.ts33 symbols

For agents

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

⬇ download graph artifact