MCPcopy Index your code
hub / github.com/cloudozer/ling

github.com/cloudozer/ling @v0.3.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.2 ↗ · + Follow
3,960 symbols 9,749 edges 454 files 1,082 documented · 27%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

LING: Erlang on Xen

Build Status

Wikipedia: -ling, an English diminutive suffix

How to get started?

The easy way is to use pre-built railing utility:

  1. Grab a binary named railing-<version> from releases.

  2. Rename the binary to railing and move it to your Erlang project directory.

  3. Create the image and the domain configuration file:

    ./railing image
    
  4. Boot the Xen domain and get the familiar Erlang shell:

    xl create -c domain_config
    

How to build LING from sources?

See INSTALL.md.

How to use railing?

Run railing without options to get help.

To generate the image and the domain configuration file use the image subcommand:

./railing image

This instructs railing to scan all subdirectories for *.beam files. All files found are embedded into the Xen image and become accessible during runtime. Certain subdirectories can be excluded from the search using -x option.

Core symbols most depended-on inside this repo

pbuf_free
called by 212
core/lib/lwip/src/core/pbuf.c
printk
called by 177
core/ling.c
FullMatch
called by 128
core/lib/pcre/pcrecpp.cc
RE
called by 112
core/lib/pcre/pcrecpp.h
heap_set_top
called by 103
core/heap.c
strlen
called by 93
core/lib/misc/strlen.c
heap_cons
called by 79
core/heap.c
pbuf_header
called by 70
core/lib/lwip/src/core/pbuf.c

Shape

Function 2,517
Class 1,341
Enum 57
Method 45

Languages

C70%
C++30%

Modules by API surface

core/lib/lwip/src/core/snmp/mib2.c165 symbols
core/include/xen/domctl.h115 symbols
core/bif_generic.c95 symbols
core/bignum/mpi.c82 symbols
core/lib/lwip/src/netif/ppp/ppp.c67 symbols
core/include/xen/sysctl.h63 symbols
core/include/xen/platform.h54 symbols
core/lib/lwip/src/core/tcp.c51 symbols
core/bif_sys.c48 symbols
core/lib/lwip/src/netif/ppp/auth.c47 symbols
core/lib/lwip/src/api/sockets.c45 symbols
core/bif_ets.c44 symbols

For agents

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

⬇ download graph artifact