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.
Questions tagged [embedded-language]
84 questions
4
votes
1 answer
Python object to C++ pointer problem
this is my first post :). I could convert a python extended object into a C++ pointer, but I have a problem. First I will show you my code and then I will explain the problem.
This is my class:
#include
using namespace…

user575883
- 91
- 1
- 4
4
votes
4 answers
C# instead of IronRuby as an embedded "scripting" language in .NET 3.5
What is the best practice for using C# as an embedded internal scripting application for a .NET 3.5 application? I have an app with a few small IronRuby scripts in it. None of which is really exploiting the dynamic nature of IronRuby.
Apparently its…

BuddyJoe
- 69,735
- 114
- 291
- 466
4
votes
4 answers
Any systematic way to avoid "reentry" problem? (embedded system)
We are using C to build a system on ARM core (i.e. an embedded system). The question is: how can we avoid reentry problem in a formal way so that we are confident all reentry bugs are removed. This may not be a practical wish but surely important…
user258416
4
votes
2 answers
Which javascript interpreter is the easiest to embedd in a C application?
There are a few available and i want to support many platforms so i guess V8 isn't that good unless someone has written an interpreter patch for it.

Lothar
- 12,537
- 6
- 72
- 121
4
votes
1 answer
Embedded mono crashes with GetThreadContext failed (Windows 7)
I'm using mono-2.11.4 on Windows 7 in 32 bit and 64 bit for embedding into my C++ application. Since updating from an rather old 2.6.4 mono I'm getting an error "GetThreadContext failed" from the GC every now and then (there seems to be no…

FFox
- 1,550
- 2
- 17
- 26
3
votes
2 answers
What is the easiest way to build Python26.zip for embedded distribution?
I am using Python as a plug-in scripting language for an existing C++ application. I am able to embed the python interpreter as stated in the Python documentation. Everything works successfully with the initialization and de-initialization of the…
J-S
3
votes
3 answers
How do I set an embedded Groovy scripts classpath?
I am trying to extend an Eclipse code builder (for generating DTOs from Hibernate VOs) - and it uses Groovy for its template system.
The code it uses to create the groovy Script is a little weird (not what I see in the Groovy docs) but it works,…

Jason Maskell
- 1,716
- 1
- 17
- 26
3
votes
1 answer
Can IntelliJ treat a Java text block as syntax such as SQL or XML to assist editing/formatting?
Java 15 brings us the new JEP 378: Text Blocks feature. This eases working with multi-line strings.
Can IntelliJ be made to parse the text within that block as some kind of syntax? Is there a way for me to tell IntelliJ that a text block is SQL…

Basil Bourque
- 303,325
- 100
- 852
- 1,154
3
votes
5 answers
Embedding Mono vs Google V8?
We want to add scripting to a project.
We are hesitating which script engine to use.
I have used in the past V8 and it's quite impressive. I have used Mono as well but in toy-projects or prototypes only.
The constraints are :
speed of…

Ghassen Hamrouni
- 3,138
- 2
- 20
- 31
3
votes
4 answers
PHP: Is it possible to embed HTML in the middle of a ternary operator somehow?
For example, can I do something like the following?
$foobar = 1;
$foobar==0 ? ?>
html goes here.
: ?>
something else.
; ?>
That code won't work. So i'm guessing it's not possible, or is it?

trusktr
- 44,284
- 53
- 191
- 263
3
votes
1 answer
How can I dynamically load perl extensions in an embeded perl interpreter?
I am embeding perl interpreter in my C code (what fun!).
I need to dynamically load perl extensions (an extension that extends perl, written in C). When I run a perl script (using my embeded perl interpreter) that needs to use that extension, it…

Vertilka
- 183
- 2
- 13
3
votes
2 answers
Embedding a Prolog engine in Obj-C projects
I'm looking for a light-weight Prolog engine to be embedded in an Obj-C application under Mac OSX. In Java there are some excellent implementations with the characteristics I need: deployability, lightness, dynamic configurability, integration with…

qfwfq
- 976
- 11
- 30
3
votes
2 answers
Pros/cons of embedded scripting environments?
There are several scripting environments available for .NET applications (e.g.this post).
My question is, what are the pros/cons of using each of them?
Examples include (but not limited to)
PowerShell
IronPython
Lua
JavaScript
I am trying to…

pomeroy
- 1,377
- 1
- 12
- 21
3
votes
2 answers
Calling a Lua string with C
I'm trying to learn how to use Lua with C, so by now I want to try running a script without loading it from a file, since I don't want to be bothered with messing up with files.
Can anybody tell me which functions do I need to call for executing a…
user187418
3
votes
6 answers
What is the best scripting language to embed in Mac OS X 10.6 applications?
Is there any other scripting language that can be used to embed scripts inside applications, which can access Mac OS X, or application classes with the same features, or most of the features seen in F-script?

apaderno
- 28,547
- 16
- 75
- 90