Questions tagged [embedded-language]

Anything related to languages (designed to be) embedded in other applications and their implementations. DO NOT use this tag to mark questions related to embedded devices, unless it also relates to embedding a language in a bigger application.

84 questions
0
votes
0 answers

How is emdeding of cython syntax inside python syntax implemented?

Looking on simple example of cython code I wonder if CPython interpreter needed some hard-coded hacks to understand cython syntax (e.g. cdef int N) or if it is implemented using some concepts of standard python syntax (e.g. functions, classes,…
Prokop Hapala
  • 2,424
  • 2
  • 30
  • 59
0
votes
1 answer

Maintaining a Python Object when embedding in C

Due to refactoring/reworking on a controller I've had to embed a Python Interpreter inside a C application. I can now call python functions and pass/get Objects into Python fine. The python code is a controller for a robot (currently simulated), …
NBenatar
  • 153
  • 7
0
votes
1 answer

Lua in Visual Basic.net

I'm trying to just get a VB.net app to be able to execute a lua script in a external file, and be able to add some functions to lua too, To do this I have this code: Imports LuaInterface Public Class Form1 Public luascripting As New Lua() Private…
James T
  • 3,292
  • 8
  • 40
  • 70
0
votes
1 answer

Is there such a thing as an embedded batch language?

I was recently looking through a configuration file for a game I was playing, when it struck me how much the language used in the configuration file resembled a batch language with each line formulated as a command, how simple the syntax was and how…
0
votes
3 answers

A scripting language to simply compile

I'm looking for a simple script language which I can compile easily by just putting the .h files under an include folder and the .c/.cpp files under a source directory. Something without any Makefile. Must be written in C/C++ rather C++. Okay so…
user187418
0
votes
1 answer

Get a C reference to an embedded python function by name?

Assuming I have some embedded python code containing a function foo, what is the best way to get a reference to that function (for use with PyObject_CallObject)? One way is to have some function register each function along with the function name…
patros
  • 7,719
  • 3
  • 28
  • 37
0
votes
2 answers

SQL query comparision in ProC with and without using cursor

Which, query performance wise, is more effective? Considering T is a table, and PK is the primary key in the table T. Are they different or they are just a matter of choice? select col1, col2 into :var1, :var2 from T where PK = a ...or: EXEC…
Sachin
  • 20,805
  • 32
  • 86
  • 99
0
votes
1 answer

Escaping blocks of foreign code in C++

I'm currently working on a toy language that works like this: one can embed blocks written in this language into a C++ source, and before compilation, these blocks are translated into C++ in an extra preprocessing step, producing a valid C++…
xcvii
  • 450
  • 3
  • 17
0
votes
2 answers

Are there any embedded languages that can be embedded into C# and actionscript?

I'm looking for a embedded language that can be used to script common code between a server app written in C# and a client app written in Flash/Actionscript. It is important that the embedded language interpreter run natively in the environment it…
AnthonyF
1 2 3 4 5
6