Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML bindings for a new programming language.  (Read 3640 times)

0 Members and 1 Guest are viewing this topic.

LinkOS

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • Email
SFML bindings for a new programming language.
« 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML bindings for a new programming language.
« Reply #1 on: February 24, 2011, 08:54:14 pm »
How are we supposed to help you, since we know nothing about the target language? ;)
Laurent Gomila - SFML developer

LinkOS

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • Email
SFML bindings for a new programming language.
« Reply #2 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

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML bindings for a new programming language.
« Reply #3 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
Laurent Gomila - SFML developer

LinkOS

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • Email
SFML bindings for a new programming language.
« Reply #4 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML bindings for a new programming language.
« Reply #5 on: February 24, 2011, 10:48:44 pm »
You can directly use the compiled CSFML binaries.
Laurent Gomila - SFML developer

LinkOS

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • Email
SFML bindings for a new programming language.
« Reply #6 on: February 25, 2011, 12:09:13 am »
Hello,
I guess I found it :) thank you very much.
LinkOS.

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
SFML bindings for a new programming language.
« Reply #7 on: February 25, 2011, 03:35:11 pm »
Can we ask what language it is?
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

 

anything