Homebrew Can anyone help me with embedding a scripting language into c?

joshjosh100

Member
OP
Newcomer
Joined
Oct 11, 2015
Messages
24
Trophies
0
Age
26
XP
77
Country
United States
I looking to embed python/perl into c for programming myself a games and various other stuff in c and scripting with python/perl..... also rather not use lua as i'm more familiar with python

anybody can explain how i can program a python/perl into a c program, im having trouble figuring it out
 

joshjosh100

Member
OP
Newcomer
Joined
Oct 11, 2015
Messages
24
Trophies
0
Age
26
XP
77
Country
United States
basically from what ive seen, if I embed a interpreter into my c program i can do this, but i need to know how to embed it

--------------------- MERGED ---------------------------

Basically I need to find a way to embed python/perl/ruby into c... where it can read scripts to do things that c could not do as easy
 

robot56

Well-Known Member
Newcomer
Joined
Sep 13, 2015
Messages
94
Trophies
0
Age
34
XP
111
Country
United States
Honestly, I don't know how implementing a scripting language interpreter would be useful for "doing things C couldn't do easily". If anything, it complicates things further -- take a look at the Lua Player Plus port to the 3DS.

Maybe you should learn a bit more of C? Or use C++? Depending on what you're trying to accomplish you might be able to use an existing library made for what you're having difficulty with.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    a_username_that_is_cool @ a_username_that_is_cool: Idk