From 964d33173554b62a1713ab239194b403ccae5552 Mon Sep 17 00:00:00 2001 From: Tangent Date: Wed, 22 May 2019 15:16:39 -0700 Subject: [PATCH] v1.1 + updated readme --- ReadMe.md | 4 ++++ .../markov-dev-1.rockspec | 0 .../markov-v1.0-1.rockspec | 0 rockspec/markov-v1.1-1.rockspec | 17 +++++++++++++++++ 4 files changed, 21 insertions(+) rename markov-dev-1.rockspec => rockspec/markov-dev-1.rockspec (100%) rename markov-v1.0-1.rockspec => rockspec/markov-v1.0-1.rockspec (100%) create mode 100644 rockspec/markov-v1.1-1.rockspec diff --git a/ReadMe.md b/ReadMe.md index c8c775a..2b0fee5 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -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.) diff --git a/markov-dev-1.rockspec b/rockspec/markov-dev-1.rockspec similarity index 100% rename from markov-dev-1.rockspec rename to rockspec/markov-dev-1.rockspec diff --git a/markov-v1.0-1.rockspec b/rockspec/markov-v1.0-1.rockspec similarity index 100% rename from markov-v1.0-1.rockspec rename to rockspec/markov-v1.0-1.rockspec diff --git a/rockspec/markov-v1.1-1.rockspec b/rockspec/markov-v1.1-1.rockspec new file mode 100644 index 0000000..15217ea --- /dev/null +++ b/rockspec/markov-v1.1-1.rockspec @@ -0,0 +1,17 @@ +package = "markov" +version = "v1.1-1" +source = { + url = "git+ssh://git@github.com/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" + } +}