An open API service indexing awesome lists of open source software.

https://github.com/michelboucey/spintax

Random text generation based on spintax template
https://github.com/michelboucey/spintax

haskell-library random-generation spintax

Last synced: 27 days ago
JSON representation

Random text generation based on spintax template

Awesome Lists containing this project

README

        

# Spintax ![CI](https://github.com/MichelBoucey/Spintax/actions/workflows/haskell-ci.yml/badge.svg) [![Hackage](https://img.shields.io/hackage/v/Spintax.svg)](https://hackage.haskell.org/package/Spintax)

Random text generation based on spintax, i.e. spinning syntax, template with nested alternatives and empty options, like this:

```
{{Oh my God|Awesome}, {a|the}|A|The} {quick {and dirty |||}||}{brown |pink |grey |}{fox|flea|elephant} jumps over {the|a} {lazy |smelly |sleepy |}{dog|cat|whale}{.|!|...}
```