In source code Source embeddable languages embed small pieces of executable code inside a piece of free-form text, often a web page. Client-side embedded languages are limited by the abilities of the browser or intended client. They aim to provide dynamism to web pages without the need to recontact the server. Server-side embedded languages are much more flexible, since almost any language can be built into a server. The aim of having fragments of server-side code embedded in a web page is to generate additional markup dynamically; the code itself disappears when the page is served, to be replaced by its output.
Server side •
PHP •
VBScript •
Tcl – server-side in
NaviServer and an essential component in electronics industry systems The above examples are particularly dedicated to this purpose. A large number of other languages, such as
Erlang,
Scala,
Perl and
Ruby can be adapted (for instance, by being made into
Apache modules).
Client side •
ActionScript •
JavaScript (aka ECMAScript or JScript) •
VBScript (Windows only)
In object code A wide variety of dynamic or scripting languages can be embedded in compiled executable code. Basically, object code for the language's
interpreter needs to be linked into the executable. Source code fragments for the embedded language can then be passed to an evaluation function as strings. Application control languages can be implemented this way, if the source code is input by the user. Languages with small interpreters are preferred. •
AngelScript •
Ch • EEL •
Io •
jq (C and Go) •
Julia •
Lua •
Luau •
Python •
Ruby (via
mruby) •
Squirrel •
Tcl == Educational programming languages ==