mallardscript

Crates.iomallardscript
lib.rsmallardscript
version7.0.0
sourcesrc
created_at2023-01-03 14:47:37.5445
updated_at2023-01-11 18:39:05.632389
descriptionHak5 DuckyScript extended language compiler.
homepagehttps://github.com/Nate-Wilkins/mallardscript
repositoryhttps://github.com/Nate-Wilkins/mallardscript
max_upload_size
id750187
size79,151
Nate-Wilkins (Nate-Wilkins)

documentation

https://github.com/Nate-Wilkins/mallardscript

README

MallardScript

Version Build Downloads Open Issues License

Hak5 DuckyScript extended language compiler.

Installation

cargo install mallardscript

Usage

Compiles MallardScript to DuckyScript!

mallardscript build --input src/index.ducky --output output/index.ducky

Configuration

Shell Completions

You can put this in your .zshrc file (just make sure $HOME/.zsh_functions/ is in your fpath):

if [[ ! -f "$HOME/.zsh_functions/_mallardscript" ]]; then
  mallardscript completions --type zsh > "$HOME/.zsh_functions/_mallardscript"
fi

Or you can generate yours with:

mallardscript completions --type $SHELL               # Where $SHELL is zsh,bash,fish,elvish,powershell

Development

Written in rust. Workflows are defined in .envrc.sh.

Roadmap

  • Encode directly (or by library ref) in this project, so users don't have to compile twice.
  • Package System Binaries
  • Configuration file like .mallardscriptrc.
  • Source errors would be really nice to have. Can be implemented with miette. Also view pest miette.
Commit count: 19

cargo fmt