https://github.com/aphelionz/ambients
LR(1) Parser for the Ambients Protocol
https://github.com/aphelionz/ambients
ambients ambients-protocol lalrpop lr1-parser mobile-ambients rust
Last synced: 9 months ago
JSON representation
LR(1) Parser for the Ambients Protocol
- Host: GitHub
- URL: https://github.com/aphelionz/ambients
- Owner: aphelionz
- License: mit
- Archived: true
- Created: 2019-09-27T13:54:24.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-17T01:41:31.000Z (about 4 years ago)
- Last Synced: 2024-10-08T03:04:14.143Z (over 1 year ago)
- Topics: ambients, ambients-protocol, lalrpop, lr1-parser, mobile-ambients, rust
- Language: Rust
- Homepage: https://ambients.org
- Size: 80.1 KB
- Stars: 12
- Watchers: 5
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ambients _(ambients)_
> Peer-to-Peer Programs and Data
## Background
This repository is my attempt to test my understanding of the Ambients Protocol whitepaper by implementing it. At the moment, it
contains a parser that translates ambient syntax like ` a[in b] | b[in_ a]` to an AST structure that Rust work with.
## Install
First, [install Rust](https://www.rust-lang.org/tools/install) and install the rust nightly toolchain if you havent yet. Then:
```bash
$ git clone https://github.com/aphelionz/ambients
$ cd ambients
$ cargo build
```
# Usage
Currently there is no `main` function but you can see usage in, and also run, the tests.
```bash
% cargo test
```
# Contributing
Please do! If you're _at all_ interested in this topic you should definitely
[seek us out on Gitter](https://gitter.im/ambientsprotocol/community), open issues, and submit PRs.
# License
MIT