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
385
votes
14 answers

Scripting Language vs Programming Language

Can anyone explain the difference between Scripting Language and Programming Language please? Also can you state some examples for each. I have Googled a lot but I always find the best answers from Stack Overflow.
Rahul Reddy
  • 12,613
  • 10
  • 22
  • 21
41
votes
10 answers

Scripting language for C++

I'm getting a little rusty in scripting languages, provided they're popping like mushrooms lately :) Today I thought that it would be nice to have a scripting language that talks seamlessly to C++, that is, could use C++ classes, and, the most…
Diego Sevilla
  • 28,636
  • 4
  • 59
  • 87
31
votes
3 answers

Is Ruby a scripting language or an interpreted language?

I just noticed that in the wikipedia page of Ruby, this language is defined as interpreted language. I understood that probably there's something missing in my background. I have always known the difference between an interpreted language that…
30
votes
6 answers

Copy a list (txt) of files

I've seen some scripts examples over SO, but none of them seems to provide examples of how to read filenames from a .txt list. This example is good, so as to copy all files from A to B folder xcopy c:\olddir\*.java c:\newdir /D /E /Q /Y But I need…
BoDiE2003
  • 1,349
  • 6
  • 28
  • 41
28
votes
10 answers

When to use a scripting language?

When should one use a scripting language over a more verbose, compiled language like C++. C# or Java? And to make the question a little more interesting, let's answer the questions like this: You should use a scripting language when... BLANK... When…
Alex Baranosky
  • 48,865
  • 44
  • 102
  • 150
24
votes
7 answers

Clean, self-contained VM implemented in C and under 100-200K compiled code size?

I'm looking for a VM with the following features: Small compiled code footprint (under 200K). No external dependencies. Unicode (or raw) string support. Clean code/well organized. C(99) code, NOT C++. C/Java-like syntax. Operators/bitwise: AND/OR,…
user656208
24
votes
8 answers

Embedding a Low Performance Scripting Language in Python

I have a web-application. As part of this, I need users of the app to be able to write (or copy and paste) very simple scripts to run against their data. The scripts really can be very simple, and performance is only the most minor issue. And…
Ian
  • 3,619
  • 1
  • 21
  • 32
20
votes
3 answers

Is Bash an interpreted language?

From what I've read so far, bash seems to fit the defintion of an interpreted language: it is not compiled into a lower format every statement ends up calling a subroutine / set of subroutines already translated into machine code (i.e. echo foo…
James Ko
  • 32,215
  • 30
  • 128
  • 239
19
votes
19 answers

Useful PowerShell one liners

Provide one line PowerShell script that you found useful, one script per answer please. There is a similar question here, but this one gives only links to pages with scripts, lets answers one by one here and have a contributed list of most…
Binoj Antony
  • 15,886
  • 25
  • 88
  • 96
19
votes
4 answers

Deploying application with Python or another embedded scripting language

I'm thinking about using Python as an embedded scripting language in a hobby project written in C++. I would not like to depend on separately installed Python distribution. Python documentation seems to be quite clear about general usage, but I…
John Smith
  • 4,402
  • 4
  • 32
  • 34
16
votes
10 answers

Suggestions for writing a programming language?

What tips can you give a person who is looking to write a programming or script language? I am not worried about how to program nor design a compiler but how to develop one quickly using tools and code generators. Last time i tried i coded it in c++…
16
votes
2 answers

What is an embedded scripting language?

What is an embedded scripting language? What are some advantages it would have over the domain specific language? "A number of languages have been designed for the purpose of replacing application-specific scripting languages by being embeddable in…
Travis J
  • 81,153
  • 41
  • 202
  • 273
14
votes
13 answers

Is there a "safe" subset of Python for use as an embedded scripting language?

In the many Python applications I've created, I often create simple modules containing nothing but constants to be used as config files. Additionally, because the config file is actually a Python code file, I can add simple logic for changing…
Soviut
  • 88,194
  • 49
  • 192
  • 260
13
votes
3 answers

Getting ANTLR to generate a script interpreter?

Say I have the following Java API that all packages up as blocks.jar: public class Block { private Sting name; private int xCoord; private int yCoord; // Getters, setters, ctors, etc. public void setCoords(int x, int y) { …
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
13
votes
6 answers

Is there a good scripting Pascal-like language for Delphi?

I'm looking for a good free scripting engine for Delphi. I want to add scripting to an application so that I can write small test scripts. Specifically I need: Pascal-like syntax current (I looked at RemObjects Pascal Scripting but it is…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
1
2 3
18 19