<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <title>Copas - Coroutine Oriented Portable Asynchronous Services for Lua</title>
    <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<div id="container">

<div id="product">
	<div id="product_logo"><a href="http://www.keplerproject.org">
		<img alt="Copas logo" src="copas.png"/>
	</a></div>
	<div id="product_name"><big><strong>Copas</strong></big></div>
	<div id="product_description">Coroutine Oriented Portable Asynchronous Services for Lua</div>
</div> <!-- id="product" -->


<div id="main">

<div id="navigation">
<h1>Copas</h1>
<ul>
    <li><strong>Home</strong>
        <ul>
            <li><a href="index.html#over">Overview</a></li>
            <li><a href="index.html#status">Status</a></li>
            <li><a href="index.html#download">Download</a></li>
            <li><a href="index.html#dependencies">Dependencies</a></li>
            <li><a href="index.html#history">History</a></li>
            <li><a href="index.html#credits">Credits</a></li>
            <li><a href="index.html#contact">Contact us</a></li>
        </ul>
    </li>
    <li><a href="manual.html">Manual</a>
        <ul>
            <li><a href="manual.html#introduction">Introduction</a></li>
            <li><a href="manual.html#why">Why use Copas?</a></li>
            <li><a href="manual.html#using">Using Copas</a></li>
        </ul>
    </li>
    <li><a href="reference.html">Reference</a></li>
    <li><a href="http://luaforge.net/projects/copas/">Project</a>
        <ul>
            <li><a href="http://luaforge.net/tracker/?group_id=100">Bug Tracker</a></li>
            <li><a href="http://luaforge.net/scm/?group_id=100">CVS</a></li>
        </ul>
    </li>
    <li><a href="license.html">License</a></li>
</ul>
</div> <!-- id="navigation" -->

<div id="content">
 
<h2><a name="over"></a>Overview</h2>

<p>
Copas is a dispatcher based on coroutines that can be used by
TCP/IP socket request/response servers. It uses
<a href="http://www.cs.princeton.edu/~diego/professional/luasocket/">LuaSocket</a>
as the interface with the TCP/IP stack.
</p>
<p>
A server registered with Copas should provide a handler for requests and use
Copas socket functions to send the response. Copas loops through requests and
invokes the corresponding handlers. For a full implementation of a Copas HTTP
server you can refer to <a href="http://www.keplerproject.org/xavante">Xavante</a>
as an example.
</p>
<p>
Copas follows the
<a href="http://www.keplerproject.org/compat">package model</a>
for Lua 5.1, therefore this package should be "installed".
In other words, if you are using Lua 5.0, the file <tt>compat-5.1.lua</tt>
must be installed in the <tt>LUA_PATH</tt>. If you are using Lua 5.1,
you should not use Compat-5.1.
</p>
<p>
Since Copas is coroutine based, using it within a pcall or xpcall context
does not work with Lua 5 yielding. If you need to use 
those functions we strongly suggest using Xavante's 
<a href="http://luaforge.net/frs/?group_id=6">coxpcall</a>, a coroutine safe
version of the Lua 5 protected calls.</p>

<p>Copas is free software and uses the same <a href="license.html">license</a>
as Lua 5.</p>


<h2><a name="status"></a>Status</h2>

<p>Current version is 1.1. It was developed for Lua 5.0 and Lua 5.1.</p>

 
<h2><a name="download"></a>Download</h2>

<p>
Copas can be downloaded from its
<a href="http://luaforge.net/frs/?group_id=100">LuaForge</a> page.
</p>

<p>CVS access is also available from LuaForge.</p>

<h2><a name="dependencies"></a>Dependencies</h2>

<p>Copas 1.1 depends only on
<a href="http://www.cs.princeton.edu/~diego/professional/luasocket/">LuaSocket 2.0</a>
and <a href="http://www.keplerproject.org/compat">Compat-5.1 Release 5</a> (if you are using Lua 5.0).</p>

<h2><a name="history"></a>History</h2>

<dl class="history">
    <dt><strong>1.1</strong> [06/17/2006]</dt>
    <dd>Copas.addthread() added</dd>

    <dt><strong><a href="http://www.keplerproject.org/copas/1.0">1.0</a></strong> [05/17/2005]</dt>
    <dd>Copas.step() added</dd>
    
    <dt><strong>1.0 Beta</strong>[02/17/2005]</dt>
    <dd>First public version</dd>
</dl>

 
<h2><a name="credits"></a>Credits</h2>

<p>Copas was designed and implemented by <NAME> and
<NAME> as part of the
<a href="http://www.keplerproject.org">Kepler Project</a> which
holds its copyright. Copas development had significative contributions from <NAME>,
<NAME>, <NAME> and <NAME>.</p>

 
<h2><a name="contact"></a>Contact us</h2>

<p>For more information please
<a href="mailto:<EMAIL>">contact us</a>.
Comments are welcome!</p>

<p>You can also reach other Kepler developers and users on the Kepler Project
<a href="http://luaforge.net/mail/?group_id=104">mailing list</a>.</p>

</div> <!-- id="content" -->

</div> <!-- id="main" -->

<div id="about">
	<p><a href="http://validator.w3.org/check?uri=referer">
    <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
	<p><small>$Id: index.html,v 1.22 2006/07/13 21:01:48 carregal Exp $</small></p>
</div> <!-- id="about" -->

</div> <!-- id="container" -->
</body>
</html><commit_msg>Updated release date<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <title>Copas - Coroutine Oriented Portable Asynchronous Services for Lua</title>
    <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<div id="container">

<div id="product">
	<div id="product_logo"><a href="http://www.keplerproject.org">
		<img alt="Copas logo" src="copas.png"/>
	</a></div>
	<div id="product_name"><big><strong>Copas</strong></big></div>
	<div id="product_description">Coroutine Oriented Portable Asynchronous Services for Lua</div>
</div> <!-- id="product" -->


<div id="main">

<div id="navigation">
<h1>Copas</h1>
<ul>
    <li><strong>Home</strong>
        <ul>
            <li><a href="index.html#over">Overview</a></li>
            <li><a href="index.html#status">Status</a></li>
            <li><a href="index.html#download">Download</a></li>
            <li><a href="index.html#dependencies">Dependencies</a></li>
            <li><a href="index.html#history">History</a></li>
            <li><a href="index.html#credits">Credits</a></li>
            <li><a href="index.html#contact">Contact us</a></li>
        </ul>
    </li>
    <li><a href="manual.html">Manual</a>
        <ul>
            <li><a href="manual.html#introduction">Introduction</a></li>
            <li><a href="manual.html#why">Why use Copas?</a></li>
            <li><a href="manual.html#using">Using Copas</a></li>
        </ul>
    </li>
    <li><a href="reference.html">Reference</a></li>
    <li><a href="http://luaforge.net/projects/copas/">Project</a>
        <ul>
            <li><a href="http://luaforge.net/tracker/?group_id=100">Bug Tracker</a></li>
            <li><a href="http://luaforge.net/scm/?group_id=100">CVS</a></li>
        </ul>
    </li>
    <li><a href="license.html">License</a></li>
</ul>
</div> <!-- id="navigation" -->

<div id="content">
 
<h2><a name="over"></a>Overview</h2>

<p>
Copas is a dispatcher based on coroutines that can be used by
TCP/IP socket request/response servers. It uses
<a href="http://www.cs.princeton.edu/~diego/professional/luasocket/">LuaSocket</a>
as the interface with the TCP/IP stack.
</p>
<p>
A server registered with Copas should provide a handler for requests and use
Copas socket functions to send the response. Copas loops through requests and
invokes the corresponding handlers. For a full implementation of a Copas HTTP
server you can refer to <a href="http://www.keplerproject.org/xavante">Xavante</a>
as an example.
</p>
<p>
Copas follows the
<a href="http://www.keplerproject.org/compat">package model</a>
for Lua 5.1, therefore this package should be "installed".
In other words, if you are using Lua 5.0, the file <tt>compat-5.1.lua</tt>
must be installed in the <tt>LUA_PATH</tt>. If you are using Lua 5.1,
you should not use Compat-5.1.
</p>
<p>
Since Copas is coroutine based, using it within a pcall or xpcall context
does not work with Lua 5 yielding. If you need to use 
those functions we strongly suggest using Xavante's 
<a href="http://luaforge.net/frs/?group_id=6">coxpcall</a>, a coroutine safe
version of the Lua 5 protected calls.</p>

<p>Copas is free software and uses the same <a href="license.html">license</a>
as Lua 5.</p>


<h2><a name="status"></a>Status</h2>

<p>Current version is 1.1. It was developed for Lua 5.0 and Lua 5.1.</p>

 
<h2><a name="download"></a>Download</h2>

<p>
Copas can be downloaded from its
<a href="http://luaforge.net/frs/?group_id=100">LuaForge</a> page.
</p>

<p>CVS access is also available from LuaForge.</p>

<h2><a name="dependencies"></a>Dependencies</h2>

<p>Copas 1.1 depends only on
<a href="http://www.cs.princeton.edu/~diego/professional/luasocket/">LuaSocket 2.0</a>
and <a href="http://www.keplerproject.org/compat">Compat-5.1 Release 5</a> (if you are using Lua 5.0).</p>

<h2><a name="history"></a>History</h2>

<dl class="history">
    <dt><strong>1.1</strong> [06/27/2006]</dt>
    <dd><a href="reference.html">copas.addthread()</a> added</dd>

    <dt><strong><a href="http://www.keplerproject.org/copas/1.0">1.0</a></strong> [05/17/2005]</dt>
    <dd><a href="reference.html">copas.step()</a> added</dd>
    
    <dt><strong>1.0 Beta</strong>[02/17/2005]</dt>
    <dd>First public version</dd>
</dl>

<h2><a name="credits"></a>Credits</h2>

<p>Copas was designed and implemented by <NAME> and
<NAME> as part of the
<a href="http://www.keplerproject.org">Kepler Project</a> which
holds its copyright. Copas development had significative contributions from <NAME>,
<NAME>, <NAME> and <NAME>.</p>

 
<h2><a name="contact"></a>Contact us</h2>

<p>For more information please
<a href="mailto:<EMAIL>">contact us</a>.
Comments are welcome!</p>

<p>You can also reach other Kepler developers and users on the Kepler Project
<a href="http://luaforge.net/mail/?group_id=104">mailing list</a>.</p>

</div> <!-- id="content" -->

</div> <!-- id="main" -->

<div id="about">
	<p><a href="http://validator.w3.org/check?uri=referer">
    <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
	<p><small>$Id: index.html,v 1.23 2006/07/27 18:55:37 carregal Exp $</small></p>
</div> <!-- id="about" -->

</div> <!-- id="container" -->
</body>
</html>
{'fraction_non_alphanumeric': 0.20314389359129384, 'fraction_numerical': 0.02288159241000837, 'mean_word_length': 3.806437192668753, 'pattern_counts': {'":': 0, '<': 479, '<?xml version=': 0, '>': 479, 'https://': 0, 'lorem ipsum': 0, 'www.': 22, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5065189', 'n_tokens_mistral': 4116, 'n_tokens_neox': 3887, 'n_words': 925}