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
8
votes
1 answer
Embedding Google V8 into ANSI C Application - where to start?
I would like to embed a javascript engine into an ANSI C application.
In fact, I would like to be able to run some code entered on runtime, while being able to interact with some C variables and functions.
So, is V8 the only choice? Where should I…

Stasik
- 2,568
- 1
- 25
- 44
8
votes
3 answers
Is it possible to load and execute C# snippets using DLR?
The majority of material I have found regarding DLR is related to IronPython. Can you parse and execute C# using DLR? If so is there over head that would prevent you from attempting this on a web server with about 30 users?
More specifically I…

David Robbins
- 9,996
- 7
- 51
- 82
7
votes
3 answers
SpiderMonkey vs JavaScriptCore vs?
I have a C++ desktop application (written in wxWidgets) and I want to add support for some scripting language.
Scripting would mostly be used for run-time conversions of strings, numbers and dates by user supplied JavaScript code.
I'd like to use…

Milan Babuškov
- 59,775
- 49
- 126
- 179
7
votes
1 answer
How to import a closure from groovy to java?
I'm trying to extract a closure from a groovy script. I define the closure as
def printMe = {str ->println str}
in my groovy file, and then try to use it by grabbing it from the binding as follows:
GroovyScriptEngine gse = new…

brice
- 24,329
- 7
- 79
- 95
7
votes
1 answer
Embedded Python - Blocking operations in time module
I'm developing my own Python code interpreter using the Python C API, as described in the Python documentation. I've taken a look on the Python source code and I tried to follow the same steps that are carried out in the standard interpreter when…

R. C.
- 71
- 1
7
votes
3 answers
How do I compile Perl code within a C program?
I have a C program with an embedded Perl interpreter. I want to be able to precompile some Perl code from within the program. How do I do that?
Rationale (if anyone is interested) is to be able to compile it once, store the parse tree, and execute…
Madhu
7
votes
3 answers
Embedded script languages for PHP?
i was wondering if anybody knows of a nice scripting language that can be embedded into php?
Javascript would be favorite and although there are several attempts they are either much too shaky/slow/outdated (phpjs, j4p5) or a real pain to get up and…

Rolf
- 73
- 4
6
votes
1 answer
How to use JPL (bidirectional Java/Prolog interface) on windows?
I'm interested in embedding a Prolog interpreter in Java. One option is using JPL, but the download links on the JPL site are broken, and the installation page mentions a jpl.zip that I can't find. I downloaded SWI-Prolog which seems to include JPL…

Firas Assaad
- 25,006
- 16
- 61
- 78
6
votes
3 answers
Embedding XQuery in Java
I need to retrieve some details from a MusicXML (xml) file in Java.
I managed to read xml files in java - but through a web service (where I have to be online, connected to internet when I'm running my code).
I came across XQuery where you can…

Dolphin
- 375
- 2
- 8
- 16
6
votes
4 answers
Macro/Scripting language for non-developers with a simple GUI-based editor
We wish to provide people to be able to add some logic to their accounts(say, given a few arguments, how to compute a particular result). So, essentially, this would be tantamount to writing simple business rules with support for conditionals and…

kpowerinfinity
- 81
- 1
- 3
6
votes
1 answer
Embed a Python persistance layer into a C++ application - good idea?
say I'm about to write an application with a thin GUI layer, a really fat calculation layer (doing computationally heavy calibrations and other long-running stuff) and fairly simple persistance layer. I'm looking at building the GUI + calculation…

Rickard
- 1,754
- 1
- 12
- 17
5
votes
2 answers
How do I dynamically load a Clojure script from outside of my classpath from java?
I wish to enable user defined Clojure scripts to interact with my Java App. The problem is, I don't know in advance where the Clojure scripts will be located, so I can't include them in my classpath when running the app.
How do I dynamically load a…

brice
- 24,329
- 7
- 79
- 95
5
votes
5 answers
Looking for an embeddable scripting language for C++ with 64-bit support and Cross Platform
I'm looking for a scripting language that works on 32-bit and 64-bit machines as well as on Windows and Linux. I will be embedding it into a C++ application so I prefer it to be natively written in C++ rather than C. I also would prefer the script…

Tr41n
- 93
- 1
- 7
4
votes
1 answer
Lua 5.2 Sandboxing in different objects with C API
Consider the following C++ code using the Lua C API:
#include
#include
#include
class AwesomeThing
{
lua_State* _lua;
std::string _name;
public:
AwesomeThing(lua_State* L, const std::string& name,…

Addy
- 2,414
- 1
- 23
- 43
4
votes
2 answers
embedded scala vs embedded groovy
i'm searchin embedded language for my application. application writen in pure scala. i want to added some functional at runtime. and i have question, is scala embedded more faster than groovy embedded ?

webus
- 49
- 2