./lang/hs-lua, Low-level bindings to Lua, an embeddable scripting language

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.3.1nb1, Package name: hs-lua-2.3.1nb1, Maintainer: pkgsrc-users

This package provides low-level bindings and types to bridge Haskell and
Lua.


Master sites:

Filesize: 256.649 KB

Version history: (Expand)


CVS history: (Expand)


   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-24 14:24:34 by Masatake Daimon | Files touched by this commit (4)
Log message:
lang/hs-lua: Update to 2.3.1

lua-2.3.1 - Released 2023-03-17.

* New module Lua.Debug: the module provides bindings to a subset of
  functions of the Lua debug interface. Currently the module only binds
  lua_getupvalue and lua_setupvalue.

lua-2.3.0 - Released 2023-03-13.

* New function hslua_setwarnf: The function allows to set a C function as a
  hook that is called on all complete warning messages. It is intended as a
  simple way to set a custom warning function.
* Export version and copyright info from Lua.Constants: the following
  patterns are made available, with content identical to that of the
  respective C functions: LUA_VERSION, LUA_RELEASE, and LUA_COPYRIGHT.
* Added a new flag cross-compile. When enabled, the code is setup in a way
  that allows cross-compilation of the package, but some of the string
  constants will be hard-coded and may not match the Lua version against
  which the library is compiled.
* Type is now an instance of Read.
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-24 17:39:26 by Masatake Daimon | Files touched by this commit (5)
Log message:
lang/hs-lua: Update to 2.2.1

lua-2.2.1 -- Released 2022-06-19
* Make string-peeking independent of the current foreign encoding: always
  use char8 encoding to retrieve values of LUA_PRELOAD_TABLE and
  LUA_LOADED_TABLE.

lua-2.2.0 -- Released 2022-02-19
* Update to Lua 5.4, include Lua 5.4.4 by default.
* Removed hardcode-reg-keys flag: this is no longer required for Lua 5.4.
* Support arbitrary number of uservalues: Lua 5.4 allows an arbitrary
  number of uservalues to be associated with userdata objects. The
  functions lua_newuserdata, lua_getuservalue, and lua_setuservalue are
  replaced with the new functions lua_newuserdatauv, lua_getiuservalue, and
  lua_setiuservalue, respectively.
* The function hslua_newhsuserdata is renamed to hslua_newhsuserdatauv and
  takes the number of associated uservalues as an additional argument.
* Support for the new warnings system: export binding to lua_warning.
* The function lua_gc now takes three data arguments of type CInt. This is
  a workaround for the fact that the C function has become variadic.
* The new patterns LUA_GCGEN and LUA_GCINC are usable with lua_gc to switch
  to generational and incremental garbage collection, respectively.
   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
   2022-02-12 09:51:00 by Masatake Daimon | Files touched by this commit (575)
Log message:
revbump after changing the default Haskell compiler
   2022-02-11 12:59:11 by Masatake Daimon | Files touched by this commit (6)
Log message:
Import lua-2.1.0

This package provides low-level bindings and types to bridge Haskell and
Lua.