./lang/hs-hslua-core, Bindings to Lua, an embeddable scripting language

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


Branch: CURRENT, Version: 2.3.2nb1, Package name: hs-hslua-core-2.3.2nb1, Maintainer: pkgsrc-users

Wrappers and helpers to bridge Haskell and Lua.

It builds upon the lua package, which allows to bundle a Lua interpreter
with a Haskell program.


Master sites:

Filesize: 38.719 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-29 06:00:13 by Masatake Daimon | Files touched by this commit (4)
Log message:
lang/hs-hslua-core: Update to 2.3.2

hslua-core-2.3.2 - Released 2024-01-18.
    Relaxed upper bound for text, and bytestring, allowing text-2.1, and \ 
bytestring-0.12.
   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-27 10:31:06 by Masatake Daimon | Files touched by this commit (4)
Log message:
lang/hs-hslua-core: Update to 2.3.1

hslua-core-2.3.1 - Released 2023-03-17.
* New module HsLua.Core.Debug: the module provides bindings to a subset of
  functions of the Lua debug interface. Currently the module only exports
  getupvalue and setupvalue, both of which are also re-exported from
  HsLua.Core.

hslua-core-2.3.0 - Released 2023-03-13.
* The functions loadfile, dofile, and dofileTrace now expect the argument
  to be of type Maybe FilePath. The functions load from stdin when the
  argument is Nothing.
* Added setwarnf' for simple warning messgae handling: The built-in method
  of setting a warn function is flexible but not straight-forward to
  use. The new setwarnf' function allows to set a Haskell action as a
  warning hook: the default warning behavior is kept in place, but, in
  addition to the default action, the hook is called on the concatenated
  warning messages. This can be used to plug Lua warnings into an
  application specific Haskell reporting system.
* Export GCManagedState, newGCManagedState, closeGCManagedState, and
  withGCManagedState from HsLua.Core.
   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-25 05:35:33 by Masatake Daimon | Files touched by this commit (4) | Package updated
Log message:
lang/hs-hslua-core: Update to 2.2.1

hslua-core-2.2.1 - Released 2022-06-19
* Ensure that loadfile works with umlauts in filepath: The OS does not
  necessarily expect filenames to be UTF-8 encoded, especially Windows. On
  non-Windows systems, the current file system encoding is now used to
  convert filenames to C strings. On Windows, the CP_ACP codepage is used,
  as required by the Windows API.
* GC managed Lua state: Add new type GCManagedState and functions
  newGCManagedState, closeGCManagedState, and withGCManagedState. These
  allow to create and use a Lua state in flexible ways in that it does not
  require the state to be closed explicitly. The state will be closed when
  the respective variable is collected.
* Require lua-2.2.1.
* Relax upper bound for mtl, allow mtl-2.3.

hslua-core-2.2.0 - Released 2022-02-19
* Use lua-2.2.0, which requires Lua 5.4.
* Rename newuserdata to newuserdatauv and let it take the number of
  associated uservalues as an additional argument.
* Similarly, newhsuserdata is now newhsuserdatauv.
* Rename getuservalue and setuservalue to getiuservalue and setiuservalue,
  respectively. Like both functions now take an extra argument specifying
  the number of the uservalue that should be retrieved or set.
* It is now possible for setiuservalue to fail, so it returns a boolean to
  indicate whether the action was successful.
* The GCControl type has been updated to match the new gc control:
  - The GCStep constructor takes an argument "stepsize";
  - constructors GCGen and GCInc have been added;
  - constructors GCSetPause and GCSetStepMul have been removed.
   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 13:03:30 by Masatake Daimon | Files touched by this commit (5)
Log message:
lang/hs-hslua-core: import hs-hslua-core-2.1.0

Wrappers and helpers to bridge Haskell and Lua.

It builds upon the lua package, which allows to bundle a Lua interpreter
with a Haskell program.