forked from marcelog/ex_abnf
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
43 lines (38 loc) · 1.02 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
defmodule ABNF.Mixfile do
use Mix.Project
def project do
[app: :ex_abnf,
name: "ex_abnf",
source_url: "https://github.com/marcelog/ex_abnf",
version: "0.3.0",
elixir: ">= 1.0.0",
description: description(),
package: package(),
deps: deps()]
end
def application do
[applications: [:logger]]
end
defp deps do
[
{:earmark, "~> 1.0.3", only: :dev},
{:ex_doc, "~> 0.14.5", only: :dev}
]
end
defp description do
"""
A parser and interpreter for ABNF grammars. This is not a parser generator, but an interpreter.
It will load up an ABNF grammar, and generate an AST for it. Then one can apply any of the rules to an input and the interpreter will parse the input according to the rule.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Marcelo Gornstein"],
licenses: ["Apache 2.0"],
links: %{
"GitHub" => "https://github.com/marcelog/ex_abnf"
}
]
end
end