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
6
votes
2 answers

Scripting Language in a Sandbox for a C#/.NET Application

[This question is similar to this one, but I am also interested in the possibility of a sandbox.] I am considering embedding a scripting language in my C#/.NET application and then exposing some of my application's API to the scripts. There seem to…
Kevin Albrecht
  • 6,974
  • 7
  • 44
  • 56
6
votes
2 answers

Global and local recursive functions in lua

I am very new to lua and I would like to understand following behaviour. When I try to run following recursion function: local func = function ( n ) if n == 1 then return 1 else return n * func( n - 1 ) end end print( func( 5 ) ) The program…
esgaldir
  • 823
  • 9
  • 11
6
votes
2 answers

fsi.exe Assembly: Anyone know how to embed it?

Long time reader, very first question. fsi.exe is a .NET executable and therefore contains its own assembly complete with all the yummy methods and whatnot fsi uses to execute F# scripts. Looking at the assembly in .NET Reflector (pick your class,…
Tom
  • 121
  • 8
6
votes
2 answers

Why are most scripting languages loosely typed?

why most of the scripting languages are loosely typed ? for example javascript , python , etc ?
Mariselvam
  • 1,093
  • 2
  • 15
  • 28
6
votes
3 answers

Simple, secure scripting language implemented in JavaScript?

I would like to implement a scripting language to assist in partially automating certain tasks on a public wiki. I cannot install anything such as Google Caja on the server or modify the wiki software itself, but I can install JavaScript code for…
PleaseStand
  • 31,641
  • 6
  • 68
  • 95
6
votes
2 answers

Check if a process is running and exit if it is already running

I have a shell script with methods: start(){ echo "Hello world" } stop(){ ps -ef|grep script.sh|grep -v grep|xargs kill } while [ "$1" != "" ]; do case "$1" in start) start ;; stop) stop …
user6348718
  • 1,355
  • 5
  • 21
  • 28
6
votes
2 answers

Shell script to check if the process is already running and exit if yes

I have a shell script with methods status() and start(). The code is below: #function to check the jmeter processes running status(){ PID=$(ps -ef | grep jmeter|grep -v grep) echo "The jmeter processes running are: \n$PID" } #function to…
user123
  • 243
  • 4
  • 10
6
votes
10 answers

Creating a scripting language to be used to create web pages

I am creating a scripting language to be used to create web pages, but don't know exactly where to begin. I have a file that looks like this: mylanguagename(main) { OnLoad(protected) { Display(img, text, link); } …
anon271334
6
votes
5 answers

What do people mean when they say “Perl is very good at parsing”?

What do people mean when they say "Perl is very good at parsing"? How is Perl any better or more powerful than other scripting languages such as Python or Ruby?
Quintin Par
  • 15,862
  • 27
  • 93
  • 146
6
votes
1 answer

Writing a language for the Windows Scripting Host (WSH)

Has anyone had any experience targetting WSH in the way that VBScript, JScript, PerlScript, xbScript and ForthScript (among other) do, such that the language can be used from the command line and embedded in server-side web pages? Where do I go to…
bugmagnet
  • 7,631
  • 8
  • 69
  • 131
6
votes
11 answers

Debugging a scripting language like ruby

I am basically from the world of C language programming, now delving into the world of scripting languages like Ruby and Python. I am wondering how to do debugging. At present the steps I follow is, I complete a large script, Comment everything…
Alphaneo
  • 12,079
  • 22
  • 71
  • 89
5
votes
0 answers

what actually is scripting language?

I was reading the material about the groovy language and spotted the word scripting language.At http://en.wikipedia.org/wiki/Scripting_language, this is the statement: A scripting language or script language is a programming language that …
M Sach
  • 33,416
  • 76
  • 221
  • 314
5
votes
1 answer

Translating a Gravity (a scripting language) call to a native C function call

I am currently looking into implementing a cleaner way to call native C functions from the Gravity scripting language. So far, the most simplistic example would be this one: int add(int lhs, int rhs) { return lhs + rhs; } static void…
5
votes
4 answers

Which scripting languages support long (64 bit) integers well?

Perl has long been my choice scripting language but I've run into a horrible problem. By default there is no support for long (64 bit) integers. Most of the time an integer is just a string and they work for seeking in huge files but there are…
hippietrail
  • 15,848
  • 18
  • 99
  • 158
5
votes
4 answers

Why would one want to use ruby over python or vice versa?

I wanted to know, while deciding which language or technology to use for implementing an idea; a design, what are the factors involved in making a decision? Specifically talking about popular scripting languages, why would one choose to use ruby…
Chirantan
  • 15,304
  • 8
  • 49
  • 75
1 2
3
18 19