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
4 answers

Implementing lambdas in a scripting language

I have this modified code example I took from the wikipedia article on anonymous functions. comp(threshold) { return lambda(x) { return x < threshold; }; } main() { a = comp(10); lib::print( a(5) ); } Anonymous…
Truncheon
  • 916
  • 2
  • 12
  • 25
1
vote
3 answers

Code obfuscation and runtime behaviour changes

Is there any way that you may create a puzzle of three pieces with your code that you allows you to have an encrypted string, a function built specifically for that string and only for that one, (string that in its decrypted form is actually…
khael
  • 2,600
  • 1
  • 15
  • 36
1
vote
1 answer

Scripting language which is not object oriented

Is there any specific advantage to the scripting languages which are not Object-oriented?
Ava
  • 5,783
  • 27
  • 58
  • 86
1
vote
3 answers

sh script equivalent of python script

Ok, so I have the following situation. I need to edit the PYTHONPATH dynamically on a target PC. Now the structure of the project is: trunk bin start_script dependencies dependencies From python I could do, from…
Bogdan
  • 8,017
  • 6
  • 48
  • 64
1
vote
3 answers

A Script Engine that Interprets Java

I remember running into an open source project that built a Java scripting engine that interprets Java (no, not Rhino, that's for JavaScript, it runs Java). If you have come across that project, please share Link(s). (Of course doing a Google…
vladimir.vivien
  • 512
  • 1
  • 6
  • 8
1
vote
1 answer

When to use cleanup() in Jython

Is it necessary to call cleanup() before close() in a PythonInterpreter in Jython every time? I've been reading the docs, but I don't find much information about this function. The javadocs don't say anything at all. The closest information I've…
Miguel
  • 2,130
  • 1
  • 11
  • 26
1
vote
1 answer

Batch: for /f +xcopy output - Save to .log

I have the next script, and I need it to save all the xcopy files copy outputs to one log file, :tmdeploy title Deploying Edithor - %deployer% set src_folder=S:\ApliTelinver\Compilacion\Edithor 10.5\CompilacionQA set…
BoDiE2003
  • 1,349
  • 6
  • 28
  • 41
1
vote
1 answer

I need a FormCalc or Javascript to use in Adobe Livecycle Designer for an interactive form I am creating

I am not a programmer to I need an example in (pref. Formcalc) or Javascript to enter in the script editor of Livecycle for an interactive order form I am creating. I need "ItemTotal[31]" field to perform a calculation only when "Add-onCheckBox1" is…
Appgal
  • 11
  • 1
  • 2
1
vote
2 answers

Is there a C-like syntax scripting language interpreter for C++?

I've started long ago to work on a dynamic graph visualizer, editor and algorithm testing platform (graphs with nodes and arcs, not the other kinds). For the algorithm testing platform i need to let the user write a script or call a script from a…
Barnack
  • 921
  • 1
  • 8
  • 20
1
vote
1 answer

PowerShell script to Get-RemotePrograms and export to .CSV for multiple AD computer object not working for bulk?

I need to export to .CSV for all computer with Microsoft Office installed, hence I've stumbled upon this script: https://gallery.technet.microsoft.com/Get-RemoteProgram-Get-list-de9fd2b4#content When I run the script using one line of code at the…
1
vote
4 answers

While-loop infinite when wrong input is entered

I am creating a hash that contains names of 4 people. I would like a user to under one of the names and get the profession. At the same time I want the program to continue to ask for entering name if the name input was wrong. However when I run my…
tavalendo
  • 857
  • 2
  • 11
  • 30
1
vote
1 answer

How to execute an untrusted function efficiently in a cross-platform way?

I am writing an open source cross-platform application written in C++ that targets Windows, Mac, and Linux on x86 CPUs. The application produces a stream of data (integers) that needs to be validated, and my application will perform actions…
Bernard
  • 5,209
  • 1
  • 34
  • 64
1
vote
1 answer

Unable to export list of external email recipient using Get-MessageTrackingLog as Sender@domain.com.CSV?

I cannot export the list of the external recipient email address and its total number of email based on multiple inputs of the InternalSender.CSV…
1
vote
2 answers

What is the best solution to create a script for importing a text file in excel?

I want to know what is the best way to create a script in any language for importing a text file in excel. I use to code in java but I'm interrested to learn any other language. The goal is to import a txt file in excel without opening excel for…
user618111
  • 439
  • 5
  • 15
  • 27
1
vote
3 answers

invalid arithmetic operator (error token is " ") with for loop

Following script read n for (( c=1; c<=$n; c++ )) do echo "HI" done gives error solution.sh: line 2: ((: c<=1: syntax error: invalid arithmetic operator (error token is "") I am using BASH. What is wrong with the for loop? edit: I am working on…
picasso13
  • 11
  • 1
  • 5