A minimal domain-specific language (DSL) interpreter for NDN-less syntax.
Currently supports several simple operations.
Build and start all containers (NFD, Producer, Seed).
make allRun the consumer in a container.
make runFetch local data:
make run S=examples/local.ndn
# example output: data from localFetch remote data via NFD:
make run S=examples/remote.ndn
# example output: data from remoteCall a remote function (remote_modify) registered on the seed server:
make run S=examples/remote_modify.ndn
# example output: data from local modifiedmake logsmake downThe seed server listens on the /seed prefix and accepts NDN function registration and deletion.
python3 setup_seed_modify.py
# example output: created: /remote_modify
python3 setup_seed_feet.py
# example output: created: /m_to_feetAfter registration, sending an Interest to /remote_modify/(<arg>) or /m_to_feet/(<arg>) executes the .ndn code on the seed server.
| value | behavior |
|---|---|
ndn |
executes .ndn code on each Interest and returns the result |
static |
returns the content string as-is |