lua

TwitterFacebook
Get flash to fully experience Pearltrees
socket

https://github.com/probablycorey/wax

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

http://lua-users.org/lists/lua-l/2009-10/msg01098.html It's almost midnight on Halloween here. This is the perfect time to release long-awaited, almost mythical open source software ... ;-) Yes, here it is: the first public release of LuaJIT 2.0! Here is a link to the home page: http://luajit.org/luajit.html And a direct link to the download page: http://luajit.org/download.html What is LuaJIT? --------------- LuaJIT is a Just-In-Time (JIT) Compiler for Lua.
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

http://lua-users.org/lists/lua-l/2009-04/msg00261.html

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 . http://www.lua.org/spe.html
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. https://github.com/igrigorik/tokyo-recipes

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

http://www.keplerproject.org/luasql/manual.html
http://www.lua.org/pil/index.html Programming in Lua gives a solid base for any programmer who wants to use Lua. It covers all aspects of Lua—from the basics to its API with C—explaining how to make good use of its features and giving numerous code examples. The book is targeted at people with some programming background, but it does not assume any prior knowledge about Lua or other scripting languages. Programming in Lua Programming in Lua The first edition was aimed at Lua 5.0 and remains largely relevant, although there are some differences .

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. http://luaforge.net/projects/luasocket/
http://ricilake.blogspot.com/2007/10/iterating-bits-in-lua.html

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. http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/introduction.html

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言語として使うにはとても有望な言語だと思っています。

mixi Engineers’ Blog » Lua on Tyrant: DBサーバにLLを組み込む

wiki: Home Page

Welcome to the lua-users wiki , a large community-maintained collection of Lua programming language information and resources. These pages supplement the [official Lua web site] . Here you can author your own pages, share code/ideas/links, and collaborate with other users.

Embeddable scripting with Lua

While interpreted programming languages such as Perl, Python, PHP, and Ruby are increasingly favored for Web applications -- and have long been preferred for automating system administration tasks -- compiled programming languages such as C and C++ are still necessary. The performance of compiled programming languages remains unmatched (exceeded only by the performance of hand-tuned assembly), and certain software -- including operating systems and device drivers -- can only be implemented efficiently using compiled code. Indeed, whenever software and hardware need to mesh seamlessly, programmers instinctively reach for a C compiler: C is primitive enough to get "close to the bare metal" -- that is, to capture the idiosyncrasies of a piece of hardware -- yet expressive enough to offer some high-level programming constructs, such as structures, loops, named variables, and scope.