Questions tagged [scripting-language]

A scripting language or script language is a programming language that supports the writing of scripts, programs written for a software environment that automate the execution of tasks which could alternatively be executed one by one by a human operator.

A scripting language or script language is a programming language that supports the writing of scripts, programs written for a software environment that automate the execution of tasks which could alternatively be executed one by one by a human operator.

Scripts can be written and executed on the fly, without explicit compile and link steps; they are typically created or modified by the person executing them. A scripting language is usually interpreted from source code or bytecode. By contrast, the software environment the scripts are written for is typically written in a compiled language and distributed in machine code form; the user may not have access to its source code, let alone be able to modify it.

For more information see Wikipedia Entry about Scripting language

275 questions
1
vote
1 answer

Batch - Meaning of escaped vertical bar | before equal sign =

I am currently struggling understanding a line of an introduction to windows batch scripting: SET /A errno=0 SET /A ERROR_SOMECOMMAND_NOT_FOUND=2 ... ... SET /A errno^|=%ERROR_SOMECOMMAND_NOT_FOUND% According to this answer the circumflex ^ is an…
goulashsoup
  • 2,639
  • 2
  • 34
  • 60
1
vote
2 answers

what kind of scripting language is this?

I have to modify a scr.file at work. The script was purchased externally several years ago. I can unterstand the code to some extent, but i can't recognize what scripting language it's written in. Heres a code snippet: main() { _ErrLevel->Set(0); …
Shaggy
  • 27
  • 1
1
vote
7 answers

Are there any C-like (in syntax) scripting languages other than JavaScript and PHP?

I am looking for a general-purpose (considering PHP is actually made and initially meant (I understand they are be used different ways some times) for server side Web and JavaScript for client-side web) with C/C++/C#/Java-like syntax. Do you know of…
Ivan
  • 63,011
  • 101
  • 250
  • 382
1
vote
1 answer

Do R programs always have an underlying C layer?

I have read that much of the functionality of R is done by C code that is called by R under the hood when an R program is run. Is this the case for every R program? Does this mean that every R statement is converted to C which is then compiled by a…
Minaj
  • 165
  • 5
1
vote
1 answer

Apache Velocity 2.0 Scripting Compilable not working

I'm trying to check velocity scripting engine 2.0 which Provide JSR 223 implementation and support of Compilable the Compilable interface has been implemented in the process. I use jars: velocity-engine-scripting-2.0.jar, velocity-1.7.jar,…
Ori Marko
  • 56,308
  • 23
  • 131
  • 233
1
vote
1 answer

JMeter Script Engine which allow caching and compilation

JSR223 Sampler have a statement that Groovy is implementing Compilable interface different than other scripting languages and therefore is recommended To benefit from caching and compilation, the language engine used for scripting must implement…
Ori Marko
  • 56,308
  • 23
  • 131
  • 233
1
vote
1 answer

Understanding GameMonkey Script Mixed Arrays

I was just reading some introductory stuff from GameMonkey Script on https://www.gamedev.net/articles/programming/engines-and-middleware/introduction-to-gamemonkey-script-r3297/ and when they were explaining about Mixed Arrays they say that you can…
Gerard097
  • 815
  • 4
  • 12
1
vote
1 answer

What's the scripting language that works best when binding with c++?

I am working on a project that heavily relies on many c++ objects that I created. In stead of compiling the codes every time when I use different objects, I am thinking using scripts that can instantiate c++ objects and call their functions without…
CaptainSegFault
  • 82
  • 1
  • 10
1
vote
2 answers

Is there any low-effort way to embed a scripting language in a .NET application with Intellisense support?

I have a .NET application with commands in it which I'd like users to be able to extend by writing their own commands which will run in an AppDomain with limited permissions. I have a model class which I will be injecting into the environment they…
David Silva Smith
  • 11,498
  • 11
  • 67
  • 91
1
vote
3 answers

bash scripting on returning values from functions

I have a bash method that looks like this function getServiceId() { serviceId=$(docker -H $1 ps -qf label=com.docker.swarm.service.name=$2) $3=serviceId return 0 } I execute this function like this getServiceId $node1 $service1…
curiousengineer
  • 2,196
  • 5
  • 40
  • 59
1
vote
2 answers

what are scripting languages?

Possible Duplicate: When is a language considered a scripting language? What languages are scripting languages?? Couldn't we write scripting languages as a stand alone??
Mishthi
  • 1,101
  • 3
  • 12
  • 13
1
vote
7 answers

Are algorithm benchmarks in PHP pointless?

As PHP is simpler for me I wished to benchmark algorithms in it for fun, and I chose to do factorials. The recursive function completely flunked in speed when I got up to 80! compared to the iterative method, and it gradually skyrocketed upwards…
John
  • 1,110
  • 3
  • 14
  • 28
1
vote
1 answer

Create a ksh function that unsets itself

In ksh93 this barfs: source foo.ksh foo die when foo.ksh contains just: foo() { echo Foo! if [[ "$1" = "die" ]]; then unset -f foo fi } in bash, it works. How can a function unset itself in ksh?
1
vote
0 answers

What scripting language is this?

I am trying to edit the outputs for a program called SpaceSniffer but I'm not sure what the scripting language is. {script} { if {<%isfile%>} == {true} ? { [{leftpad{<%disksize%>}{ }{8}}] <%file%>{&br}} : { if {<%containsfiles%>} == {true} …
Sam Lucas
  • 233
  • 1
  • 4
  • 16
1
vote
1 answer

How to fix the error "Calling Function without definition !: init" in the Ring programming language?

Why the next program produce the runtime error message "Error (R3) : Calling Function without definition !: init" load "guilib.ring" new qApp() { new qWidget() { setWindowTitle("First App!") resize(400,400) show() …
Ibn Nile
  • 47
  • 4