summaryrefslogtreecommitdiff
path: root/lpeg-1.1.0-2.rockspec
blob: 22da5861083dfe9b254695857f7dfa386eea1989 (plain)
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
package = 'LPeg'
version = '1.1.0-2'
source = {
   url = 'https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz',
   md5 = '842a538b403b5639510c9b6fffd2c75b',
}
description = {
   summary = 'Parsing Expression Grammars For Lua',
   detailed = [[
      LPeg is a new pattern-matching library for Lua, based on Parsing
      Expression Grammars (PEGs). The nice thing about PEGs is that it
      has a formal basis (instead of being an ad-hoc set of features),
      allows an efficient and simple implementation, and does most things
      we expect from a pattern-matching library (and more, as we can
      define entire grammars).

			This version is re-packaged for lua4win with code borrowed from
			Gary V. Vaughan <gary@vaughan.pe>
   ]],
   homepage = 'https://www.inf.puc-rio.br/~roberto/lpeg.html',
   maintainer = 'Alexander Pickering <alex@lua4.win>',
   license = 'MIT/X11'
}
dependencies = {
   'lua >= 5.1'
}
build = {
   type = 'builtin',
   modules = {
      lpeg = {
         'lpcap.c', 'lpcode.c', 'lpcset.c', 'lpprint.c', 'lptree.c', 'lpvm.c'
      },
      re = 're.lua'
   }
}