SFML community forums

General => General discussions => Topic started by: LinkOS on February 24, 2011, 07:28:48 pm

Title: SFML bindings for a new programming language.
Post by: LinkOS on February 24, 2011, 07:28:48 pm
Hi,
 I'm making a new programming language, I'm not it's author, but I got it on sourceforge, it's development stopped since 2009, I guess, and I'm optimizing it. The language is created in pure C, and I would like to make SFML bindings, does any one have an Idea about how to it ?
Thank you  very much.
LinkOS.
Title: SFML bindings for a new programming language.
Post by: Laurent on February 24, 2011, 08:54:14 pm
How are we supposed to help you, since we know nothing about the target language? ;)
Title: SFML bindings for a new programming language.
Post by: LinkOS on February 24, 2011, 09:39:40 pm
Hello,
 Yes, you are right :) I'm ready provide you with all the informations you need to know :) I just don't know how to get started. Is there an IRC or a way to chat ?
Thanks a lot !
LinkOS
Title: SFML bindings for a new programming language.
Post by: Laurent on February 24, 2011, 10:19:57 pm
Usually, languages all know how to load C DLLs and import functions from them. Your language should have a similar feature, at least.

Then you can interface with the CSFML binding, and... that's it :D
Title: SFML bindings for a new programming language.
Post by: LinkOS on February 24, 2011, 10:34:25 pm
Thank you for your reply,
 Yes ! my language have a such feature ! So I guess I need to compile CSFML binding to DLL, that's right ? if so, how to do I get started ?
Thank you very much !
LinkOS.
Title: SFML bindings for a new programming language.
Post by: Laurent on February 24, 2011, 10:48:44 pm
You can directly use the compiled CSFML binaries.
Title: SFML bindings for a new programming language.
Post by: LinkOS on February 25, 2011, 12:09:13 am
Hello,
I guess I found it :) thank you very much.
LinkOS.
Title: SFML bindings for a new programming language.
Post by: Groogy on February 25, 2011, 03:35:11 pm
Can we ask what language it is?