MCPcopy Index your code
hub / github.com/creationix/jack

github.com/creationix/jack @0.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.0.1 ↗ · + Follow
34 symbols 61 edges 4 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Jack

Jack is a new language designed by Tim Caswell with the explicit goal of being easy to explain the semantics while still being powerful.

Jack is a scripting language aimed at kids learning to program as well as professionals who yearn for a simpler language (like me).

Language Features

  • Immutable unicode strings
  • Mutable Binary buffers (fixed length)
  • Booleans
  • Null
  • Integers
  • Floating Point Numbers
  • First class and higher-order functions.
  • Lexical closure.
  • Basic key/value maps for objects (no inheritance or prototype chain)
  • Dense Arrays
  • Everything is an expression where possible.
  • Implicit return values
  • Unified looping syntax that works on objects, arrays, and generator functions
  • Object metamethods for advanced usage (get, set, keys, length, call)
  • Allows objects to act like functions, arrays, etc.

My guiding principle while adding language features and semantics is:

Keep it Simple, Keep it Safe

See the examples folder for syntax examples.

Core symbols most depended-on inside this repo

getMeta
called by 10
runtime.js
iValues
called by 10
runtime.js
metaGet
called by 9
runtime.js
check
called by 4
runtime.js
generate
called by 2
jack.js
ready
called by 2
jack.js
metaSet
called by 2
runtime.js
Memory
called by 1
mem.js

Shape

Function 34

Languages

TypeScript100%

Modules by API surface

mem.js16 symbols
runtime.js15 symbols
jack.js2 symbols
jack-mode.js1 symbols

For agents

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

⬇ download graph artifact