The Lua language will be later used for User Interface programming for my C game. First some basic information on my environment: Windows 7 64-bit. Visual studio 2010. Lua for Windows 5.1 (latest build I could download from google code) Here is the code I am trying to compile. Embed Embed this gist in your website. Share Copy sharable link for this gist. Clone via HTTPS Clone with Git or checkout with SVN using the repository’s web address.
HsLua provides bindings, wrappers, types, and helperfunctions to bridge Haskell and Lua.
This package contains a full Lua interpreter version 5.3.6.If you want to link it with a system-wide Lua installation,use the system-lua
flag.
Example programsare available in a separate repository.
[Skip to Readme]Versions [RSS] [faq] | 0.1, 0.2, 0.3, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.6.1, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.4.0, 0.4.1, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.5.1, 0.9.5.2, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.3.1, 1.0.3.2, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.3.0, 1.3.0.1 (info) |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.8 && <5), base-compat (>=0.10), bytestring (>=0.10.2 && <0.11), containers (>=0.5 && <0.7), exceptions (>=0.8 && <0.11), fail (>=4.9 && <5), mtl (2.2.*), semigroups (>=0.18 && <0.20), text (>=1.0 && <1.3) [details] |
License | MIT |
Copyright | © 2007–2012 Gracjan Polak© 2012–2016 Ömer Sinan Ağacan© 2016–2020 Albert Krewinkel |
Author | Gracjan Polak, Ömer Sinan Ağacan |
Maintainer | albert+hslua@zeitkraut.de |
Category | Foreign |
Home page | https://hslua.github.io/ |
Bug tracker | https://github.com/hslua/hslua/issues |
Source repo | head: git clone https://github.com/hslua/hslua.git |
Uploaded | by tarleb at 2021-02-06T14:13:14Z |
Distributions | Arch:1.3.0.1, Debian:0.9.5.2, Fedora:1.0.3.2, FreeBSD:0.4.0, LTSHaskell:1.2.0, NixOS:1.3.0.1, Stackage:1.3.0.1, openSUSE:1.2.0 |
Downloads | 120577 total (991 in the last 30 days) |
Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
Your Rating |
|
Status | Docs uploaded by user Build status unknown [no reports yet] |
Modules
[Index] [Quick Jump]
Lua C Injector
- Foreign
- Foreign.Lua
- Foreign.Lua.Core
- Raw
- Foreign.Lua.Types
- Foreign.Lua
Flags
Compile Flags Lua C Embed In Word
Name | Description | Default | Type |
---|---|---|---|
system-lua | Use the system-wide Lua instead of the bundled copy. | Disabled | Manual |
apicheck | Compile Lua with -DLUA_USE_APICHECK. | Disabled | Manual |
lua_32bits | Compile Lua with -DLUA_32BITS | Disabled | Manual |
allow-unsafe-gc | Allow optimizations which make Lua's garbage collectionpotentially unsafe; haskell finalizers must be handledwith extreme care. | Enabled | Manual |
export-dynamic | Add all symbols to dynamic symbol table; disabling thiswill make it possible to create fully static binaries,but renders loading of dynamic C libraries impossible. | Enabled | Manual |
pkg-config | Use | Disabled | Manual |
hardcode-reg-keys | Don't use CAPI to determine the names of certain registrykey names but Use hard coded values for instead. Thisflag is required when compiling against Lua 5.3.3 orearlier, as those do not expose the necessary informationin the | Disabled | Manual |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- hslua-1.3.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Compile Flags Lua C Embed File
Candidates
- 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.9.4, 0.9.5, 0.9.5.1, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.3.1, 1.1.0, 1.1.2, 1.2.0, 1.3.0