diff options
Diffstat (limited to 'lpeg.html')
| -rw-r--r-- | lpeg.html | 18 |
1 files changed, 9 insertions, 9 deletions
| @@ -1,10 +1,10 @@ | |||
| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 2 | "//www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | 3 | <html xmlns="//www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 | <head> | 4 | <head> |
| 5 | <title>LPeg - Parsing Expression Grammars For Lua</title> | 5 | <title>LPeg - Parsing Expression Grammars For Lua</title> |
| 6 | <link rel="stylesheet" | 6 | <link rel="stylesheet" |
| 7 | href="http://www.inf.puc-rio.br/~roberto/lpeg/doc.css" | 7 | href="//www.inf.puc-rio.br/~roberto/lpeg/doc.css" |
| 8 | type="text/css"/> | 8 | type="text/css"/> |
| 9 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | 9 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
| 10 | </head> | 10 | </head> |
| @@ -15,7 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | <div id="product"> | 16 | <div id="product"> |
| 17 | <div id="product_logo"> | 17 | <div id="product_logo"> |
| 18 | <a href="http://www.inf.puc-rio.br/~roberto/lpeg/"> | 18 | <a href="//www.inf.puc-rio.br/~roberto/lpeg/"> |
| 19 | <img alt="LPeg logo" src="lpeg-128.gif"/></a> | 19 | <img alt="LPeg logo" src="lpeg-128.gif"/></a> |
| 20 | 20 | ||
| 21 | </div> | 21 | </div> |
| @@ -55,16 +55,16 @@ | |||
| 55 | <p> | 55 | <p> |
| 56 | <em>LPeg</em> is a new pattern-matching library for Lua, | 56 | <em>LPeg</em> is a new pattern-matching library for Lua, |
| 57 | based on | 57 | based on |
| 58 | <a href="http://pdos.csail.mit.edu/%7Ebaford/packrat/"> | 58 | <a href="//bford.info/packrat/"> |
| 59 | Parsing Expression Grammars</a> (PEGs). | 59 | Parsing Expression Grammars</a> (PEGs). |
| 60 | This text is a reference manual for the library. | 60 | This text is a reference manual for the library. |
| 61 | For a more formal treatment of LPeg, | 61 | For a more formal treatment of LPeg, |
| 62 | as well as some discussion about its implementation, | 62 | as well as some discussion about its implementation, |
| 63 | see | 63 | see |
| 64 | <a href="http://www.inf.puc-rio.br/~roberto/docs/peg.pdf"> | 64 | <a href="//www.inf.puc-rio.br/~roberto/docs/peg.pdf"> |
| 65 | A Text Pattern-Matching Tool based on Parsing Expression Grammars</a>. | 65 | A Text Pattern-Matching Tool based on Parsing Expression Grammars</a>. |
| 66 | (You may also be interested in my | 66 | (You may also be interested in my |
| 67 | <a href="http://vimeo.com/1485123">talk about LPeg</a> | 67 | <a href="//vimeo.com/1485123">talk about LPeg</a> |
| 68 | given at the III Lua Workshop.) | 68 | given at the III Lua Workshop.) |
| 69 | </p> | 69 | </p> |
| 70 | 70 | ||
| @@ -1375,11 +1375,11 @@ and the new term for each repetition. | |||
| 1375 | <h2><a name="download"></a>Download</h2> | 1375 | <h2><a name="download"></a>Download</h2> |
| 1376 | 1376 | ||
| 1377 | <p>LPeg | 1377 | <p>LPeg |
| 1378 | <a href="http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz">source code</a>.</p> | 1378 | <a href="//www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz">source code</a>.</p> |
| 1379 | 1379 | ||
| 1380 | <p> | 1380 | <p> |
| 1381 | Probably, the easiest way to install LPeg is with | 1381 | Probably, the easiest way to install LPeg is with |
| 1382 | <a href="https://luarocks.org/">LuaRocks</a>. | 1382 | <a href="//luarocks.org/">LuaRocks</a>. |
| 1383 | If you have LuaRocks installed, | 1383 | If you have LuaRocks installed, |
| 1384 | the following command is all you need to install LPeg: | 1384 | the following command is all you need to install LPeg: |
| 1385 | <pre>$ luarocks install lpeg</pre> | 1385 | <pre>$ luarocks install lpeg</pre> |
