
lua
Get flash to fully experience Pearltrees
socket
probablycorey's wax at master - GitHub
Wax is a framework that lets you write native iPhone apps in Lua . It bridges Objective-C and Lua using the Objective-C runtime. With Wax, anything you can do in Objective-C is automatically available in Lua![ANN] LuaJIT-2.0.0-beta1
Hello Lua users, I'd like to announce "nixio", a multi-functional utility library for Lua for dealing with common programming tasks. It is designed especially for embedded development to serve as an extended standard library but can of course be used for other tasks as well. nixio offers high-level functions as well as many low-level POSIX functions following the calling style - where applicable - of their corresponding C functions.
[ANN] nixio 0.2 - General Purpose, POSIX and I/O library
an extensible extension language
Abstract. This paper describes Lua, a language for extending applications. Lua combines procedural features with powerful data description facilities, by using a simple, yet powerful, mechanism of tables .Video of FutureRuby talk (“Lean & Mean Tokyo Cabinet Recipes”) on InfoQ: Tokyo Cabinet is a library of routines for managing a database. The database is a simple data file containing records, each is a pair of a key and a value.
igrigorik's tokyo-recipes at master - GitHub
Introduction LuaSQL is a simple interface from Lua to a number of database management systems. It includes a set of drivers to some popular databases (currently PostgreSQL, ODBC, MySQL, SQLite, Oracle, and ADO; Interbase and Sybase are in our plans). LuaSQL defines a simple object-oriented API. All drivers should implement this common API, but each one is free to offer extensions.
LuaSQL: Database connectivity for the Lua programming language
Programming in Lua : contents
LuaSocket: Project Info
LuaSocket is the most comprehensive networking support library for the Lua language. It provides easy access to TCP, UDP, DNS, SMTP, FTP, HTTP, MIME and much more.Iterating bits in Lua
Today's question on #lua was (roughly speaking): How do you make a truth table in Lua? OK, Lua has no bit operators, and it may not be the best language for intensive bit manipulation. Still, you can go a long way with the % operator: function bit(p) return 2 ^ (p - 1) -- 1-based indexing end -- Typical call: if hasbit(x, bit(3)) then ... function hasbit(x, p) return x % (p + p) >= p end function setbit(x, p) return hasbit(x, p) and x or x + p end function clearbit(x, p) return hasbit(x, p) and x - p or x end Now, let's consider what a truth table function might look like. We want to compute (and display) the value of some boolean function f of n parameters for every combination of parameters (i.e. 2^n values).LuaSocket is a Lua extension library that is composed by two parts: a C core that provides support for the TCP and UDP transport layers, and a set of Lua modules that add support for the SMTP (sending e-mails), HTTP (WWW access) and FTP (uploading and downloading files) protocols and other functionality commonly needed by applications that deal with the Internet. This introduction is about the C core. Communication in LuaSocket is performed via I/O objects.
LuaSocket: Introduction to the core
LuaSocket: HTTP support
HTTP (Hyper Text Transfer Protocol) is the protocol used to exchange information between web-browsers and servers. The http namespace offers full support for the client side of the HTTP protocol (i.e., the facilities that would be used by a web-browser implementation). The implementation conforms to the HTTP/1.1 standard, RFC 2616 . The module exports functions that provide HTTP functionality in different levels of abstraction."split" [1] and "join" [2] are two common string operators that are essentially inverse operations of each other. Split separates a string containing a delimiter into the list of substrings between that delimiter. Join combines a list of strings into a new string by inserting a delimiter between each string: Other interfaces are possible, largely dependent on the choice of split interface since join is often intended to be the inverse operation of split. Splitting Strings
wiki: Split Join
Lua( 公式サイト によると「るーあ(LOO-ah)」と発音)という言語の名前は聞いたことがあっても、数あるマイナー言語のひとつと思って特に気にかけていない人も多いと思います。私もそうでした。しかし、今では、C言語使いの第2言語・第3言語として使うにはとても有望な言語だと思っています。

