A
A
AlxMrz2017-08-27 08:25:49
Programming languages
AlxMrz, 2017-08-27 08:25:49

How to combine several PLs in one program?

Hello!
How can you combine 2 programming languages ​​in one program? I often see that, for example, the core of the game is written in C ++, and the scripts are in Python / Lua. I don't understand how it happens. What can be learned about this topic?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
index0h, 2017-08-27
@AlxMrz

https://google.gik-team.com/?q=c%2B%2B+lua

I
Impeeeery, 2017-08-27
@Impeeeery

separate files - modules
you can study any script engine, embed it in your c ++ or where, create an API - and load scripts

T
ThunderCat, 2017-08-27
@ThunderCat

Pascal/C natively understands inline asm.

T
tuccar, 2019-05-22
@tuccar

Good afternoon.
As part of your question, you may be interested in learning about the technologies of the Katahdin language . Can be found here and here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question