BeBits Information Developer Central Submit Application Your Account Web Links Contact Us
BeBits
Lua
version 5.0
contact publisher
home page
screenshots
version history
other reviews
send updates for this application
talkback
1 comment
 Published by cowlibob
   Click here for more information about this publisher...
 Date Posted:   February 14th, 2004
 Last Updated:   February 14th, 2004
 License: Other Open Source License
 Downloads: 315 total; 8 recently
 Page Views: 6,746 total
 User Rating: awaiting 10 votes Give this application a rating
 Jump to the Downloads section
About Lua:
Lua 5 packaged for BeOS r5. Contains both end user and developer installs. Complete source is included.

Lua is a powerful, light-weight programming language designed for extending applications. Lua is also
frequently used as a general-purpose, stand-alone language.

Lua combines simple procedural syntax (similar to Pascal) with powerful data description constructs based on
associative arrays and extensible semantics. Lua is dynamically typed, interpreted from bytecodes, and has
automatic memory management with garbage collection, making it ideal for configuration, scripting, and rapid
prototyping
Latest Version
   
Details about this version:
Changes from version 4.0 to 5.0
  • Language:
    • lexical scoping.
    • Lua coroutines.
    • standard libraries now packaged in tables.
    • tags replaced by metatables and tag methods replaced by metamethods, stored in metatables.
    • proper tail calls.
    • each function can have its own global table, which can be shared.
    • new __newindex metamethod, called when we insert a new key into a table.
    • new block comments: --[[ ... ]].
    • new generic for.
    • new weak tables.
    • new boolean type.
    • new syntax "local function".
    • (f()) returns the first value returned by f.
    • {f()} fills a table with all values returned by f.
    • \n ignored in [[\n .
    • fixed and-or priorities.
    • more general syntax for function definition (e.g. function a.x.y:f()...end).
    • more general syntax for function calls (e.g. (print or write)(9)).
    • new functions (time/date, tmpfile, unpack, require, load*, etc.).
  • API:
    • chunks are loaded by using lua_load; new luaL_loadfile and luaL_loadbuffer.
    • introduced lightweight userdata, a simple "void*" without a metatable.
    • new error handling protocol: the core no longer prints error messages; all errors are reported to the caller on the stack.
    • new lua_atpanic for host cleanup.
    • new, signal-safe, hook scheme. Implementation:
    • new license: MIT.
    • new, faster, register-based virtual machine.
    • support for external multithreading and coroutines.
    • new and consistent error message format.
    • the core no longer needs "stdio.h" for anything (except for a single use of sprintf to convert numbers to strings).
    • lua.c now runs the environment variable LUA_INIT, if present. It can be "@filename", to run a file, or the chunk itself.
    • support for user extensions in lua.c. sample implementation given for command line editing.
    • new dynamic loading library, active by default on several platforms.
    • safe garbage-collector metamethods.
    • precompiled bytecodes checked for integrity (secure binary dostring).
    • strings are fully aligned.
    • position capture in string.find.
    • read('*l') can read lines with embedded zeros.


 
Intel Version - requires R5   (408 KB) 315 downloads
 
 
Dev LinkLink reliability rating  [rating: 10]    Download this app  Report bad link blueyonder.co.uk
 
Add Additional Location
  Source Included and Available Separately
 
Related Links:
Recent Talkback comments:
  • Hmmm - the_leander

    Post your own comment to the Talkback for this application!
    Report a problem with the listing for this application!
  • Like this app? Have questions or comments?
    Why not tell the author? Use the "e-mail publisher" link to get in touch with the publisher; they usually love getting feedback.
     
    The Green Board
      Recent Downloads  -  # 3,327
    Total Downloads  -  # 3,104
    Total Views  -  # 2,590
    User Ratings  -  N/A
      Dev. Languages
    1.  BePodder - 9.80
    2.  QEMU - 9.67
    3.  ScummVM - 9.57
    4.  cpu_fix - 9.42
    5.  Jukebox - 9.40
    6.  Haiku AGP busm... - 9.35
    7.  vim6 - 9.31
    8.  Beezer - 9.26
    9.  HandBrake - 9.25
    10.  BeeF - 9.25
    1.  Realtek RTL81... - 8,744
    2.  BeOS 5 Person... - 8,148
    3.  Ati Radeon Gr... - 7,737
    4.  ATI Rage 128... - 5,211
    5.  Ensoniq Audio... - 4,416
    6.  Broadcom 440x... - 3,178
    7.  USB Serial dr... - 3,099
    8.  USB Joystick... - 2,991
    9.  S3 Trio 64 v2... - 2,786
    10.  VLC Media Pla... - 2,678
    You are not logged in.
     Login

     
    Unless otherwise noted, everything is copyright © 1999-2009 BeBits. All Rights Reserved.
    For more legal trivia, take a gander at our
    Legal Stuff page and our Privacy Statement.