Metadata-Version: 2.4
Name: ndnc
Version: 0.0.4
Summary: A DSL interpreter for transparent distributed execution over NDN
Author-email: tryuuu <ryu23210@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/tryuuu/ndn-compiler
Project-URL: Repository, https://github.com/tryuuu/ndn-compiler
Keywords: ndn,dsl,distributed,icn
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Interpreters
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: lark==1.1.9
Requires-Dist: python-ndn
Dynamic: license-file

# ndnc

A DSL interpreter for transparent distributed execution over NDN (Named Data Networking).

Write code without thinking about where it runs — local or remote. The system handles it.

## Installation

```bash
pip install ndnc
```

## Usage

### Run a `.ndn` script

```bash
ndnc run path/to/script.ndn
```

### Run with arguments

```bash
ndnc run path/to/script.ndn arg0 arg1
```

### Start NDN server (producer)

```bash
ndnc serve
```

## Example

```ndn
let data = interest "nakazatolab/data"
let result = func modify(data)
print result
```

## Requirements

- Python 3.10+
- [python-ndn](https://python-ndn.readthedocs.io/)
