Skip to content

Commit

Permalink
v1.1 + updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed May 22, 2019
1 parent d6ac7d7 commit 964d331
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ Methods:
- `generator:order(x)` Get/Set the order/degree of the generator
- `generator:next()` Fetches the next token (used internally to generate chains)

`markov.START` and `markov.END` are empty tables used as unique identifies to
indicate where a chain should start or end. This is documented should you wish
to use the `next` method, or manually use of start and end points somehow.

## Examples

(More examples are in the `test.moon`/`test.lua` files.)
Expand Down
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions rockspec/markov-v1.1-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package = "markov"
version = "v1.1-1"
source = {
url = "git+ssh://[email protected]/Guard13007/Markov.git",
tag = "v1.1"
}
description = {
summary = "Markov chain library supporting dynamic modification of order and source text.",
homepage = "https://github.com/TangentFoxy/Markov",
license = "MIT license"
}
build = {
type = "builtin",
modules = {
markov = "markov.lua"
}
}

0 comments on commit 964d331

Please sign in to comment.