https://github.com/nate-wilkins/pest_duckyscript
Hak5 DuckyScript and MallardScript language grammers.
https://github.com/nate-wilkins/pest_duckyscript
Last synced: 2 months ago
JSON representation
Hak5 DuckyScript and MallardScript language grammers.
- Host: GitHub
- URL: https://github.com/nate-wilkins/pest_duckyscript
- Owner: Nate-Wilkins
- License: mit
- Created: 2023-01-03T15:31:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T22:26:13.000Z (over 2 years ago)
- Last Synced: 2025-05-11T15:41:49.232Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 88.9 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `pest_duckyscript`
[](https://crates.io/crates/pest_duckyscript)
[](https://app.travis-ci.com/github/Nate-Wilkins/pest_duckyscript)
[](https://crates.io/crates/pest_duckyscript)
[](https://github.com/Nate-Wilkins/pest_duckyscript/issues)
[](https://travis-ci.com/Nate-Wilkins/pest_duckyscript)
[](https://github.com/Nate-Wilkins/pest_duckyscript/blob/main/LICENSE)> Hak5 DuckyScript and MallardScript language grammers - used for parsing/compilation.
## Install
```
cargo install pest_duckyscript
```## What does it do?
This package contains [Parsing Expression Grammar (PEG)](https://en.wikipedia.org/wiki/Parsing_expression_grammar) files
for both DuckyScript and MallardScript.### DuckyScript
See the [Official Documentation](https://docs.hak5.org/hak5-usb-rubber-ducky/duckyscript-tm-quick-reference) for what
DuckyScript looks like or look at the grammar files in this repository.### MallardScript
Currently a subset of DuckyScript designed to add the following commands:
- `IMPORT relative_path_to.mallardscript`: Which will be inlined when built with
[mallardscript](https://github.com/Nate-Wilkins/mallardscript).## Development
Written in rust. You can build and install with the following:
```
cargo build
```## Roadmap:
- Support for DuckyPad syntax.