Wednesday, March 17, 2010

libtcod in LUA, any more requests?

I now have the same demo from yesterday in LUA for download. 



Download

Here are the list of output languages SWIG can target:

  • Allegro CL
  • C#
  • CFFI
  • CLISP
  • Chicken
  • Guile
  • Java
  • Lua
  • Modula-3
  • Mzscheme
  • OCAML
  • Octave
  • Perl
  • PHP
  • Python
  • R
  • Ruby
  • Tcl
  • UFFI 
If anyone is interested in libtcod wrapped in any of the above languages, speak up and I'll see what I can do.

Otherwise, I'm going to work on fixing up the known issues with these SWIG wrappers so I can hand some/all of it off to somebody else and go back to work on Magecrawl.

9 comments:

georgek said...

Not speaking for myself, but I know I've seen interest in a Ruby wrapper (someone even went so far as to start with SWIG I believe but I don't think they continued). I think a Ruby wrapper would be a big addition for libtcod.

Worthstream said...

Wow, it can really be wrapped for php?

Please! :)

I've always wanted to make a RL in PHP/GTK!

Björn Ritzl said...

Unless it is possible to get libtcod working with Java in some other way I think that would be one of the best additional languages to target.

donblas said...

Alright, I'll take a look at java/rub/php. I won't make any promises, but so far adding new languages has been easy.

Mingos said...

Aye, I second Java. Not that I'm a Java coder (a small adventure in 2007 apart), but there have been other requests for a Java wrapper or port. In fact, I'd probably be coding in Java today had there been a Java wrapper in 2007 :D.

jice said...

Wow ! Lua wrapper already ! As soon as I'm done with trying the cmake system, I'll try that !

Pender said...

Is there a build of libtcod available for Xcode on OS X, or a seriously idiot-proof way to put one together? I'd very much like to port my game Brogue to libtcod, both for faster drawing routines and for cross-platform compatibility, but haven't been able to get libtcod to compile in Xcode yet.

donblas said...

@Pender

Yes and No. As a base for this SWIG work, libtcod now has a cmake build system that should work for osx.

However, since i don't have a mac nor do I have access to one, it is incomplete. If you'd like to help, I'd love to get cmake OSX working. Please contact me at chris dot hamons at gmail dot com

paul said...

An O'Caml wrapper for libtcod would be really neat.

Reeealllyy neeaat...