In computer programming, a script is a program or sequence of instructions that is interpreted or carried out by another program rather than by the computer processor (like a compiled program is).

learn more… | top users | synonyms

17
votes
3answers
28k views

Why Python and not Lua? [closed]

Why has Python been backed by google and become so rapidly popular and Lua has not? Do you know why Lua has stayed in background?
3
votes
1answer
2k views

Static code analysis for bash scripts

I program CLI utilities in bash to automate much of my work as a DBA. I would like improve my code and make it more robus,t maybe with the help of some static code analysis tool like the one I used ...
3
votes
0answers
43 views

How to document legacy code (shell scripts)? [duplicate]

I got involved into a project where we are taking over a bunch of legacy code. Code is basically shell scripts and PL/SQL packages/procedures/functions. There is no documentation how the code works ...
0
votes
1answer
400 views

Could I have a real-world example of using the Spring scripting module in your Java application?

The Spring framework supports the use of scripting languages (specifically JRuby, Groovy and BeanShell) whereby a script in any of these can call Java code and vice versa. I have read that a possible ...
0
votes
3answers
879 views

Which language and GUI toolkit would you use for a prototype program? [closed]

Suppose, I have an idea and I have to put it into code quickly. And then I am presenting it to someone who is not so computer savvy. Which language should I use for quick and dirty coding? And which ...
0
votes
1answer
347 views

Is VB.NET a viable migration path for an application currently scripted in VBScript? [closed]

Our C++ MFC application gives the user the ability to define custom scripts in vbscript (via the VBScript engine). Since (parts of) the application are moving to .NET anyway, and since vbscript seems ...
2
votes
1answer
265 views

Is there any Windows installer maker with decent scripting capabilities? [closed]

I need to do complex dependency processing during the installation of our solution, install a few related programs from their own installers and also probably run a few simple tests to determine ...
25
votes
5answers
8k views

Is programming in Python faster than in C, C++ or Java?

There's a widespread belief among programmers that the more dynamic and loosely typed the language, the more productive the programmer will be in it. Guido van Rossum wrote about programming ...
1
vote
0answers
63 views

Checking out and compiling repository. What is the correct approach for starting the compilation process?

I am writing a Bash script that automatically updates a repository containing source code and then compiles it. I have been a bit stuck on the part about how to start the compilation itself, i.e. if I ...
1
vote
2answers
410 views

Should I use a formal grammar for my interpreted scripting language

I have a scripting engine I just published as an open source project. It's been sitting on my harddrive waiting for about a year. My engine of course isn't complete in any way, but it does work for ...
6
votes
2answers
1k views

Alternative Scripting Language to Lua?

I would like to add scripting support to an applications and with plenty scripting languages available I am a bit overwhelmed. At first I thought about Python but I guess Python is a little too big ...
69
votes
10answers
3k views

When would using a scripting language within a larger program be useful?

I have heard of several situations of people using say, JavaScript or Python (or something), inside a program written in C#. When would using a language like JavaScript to do something in a C# program ...
8
votes
2answers
301 views

Should extension scripts be run in a sandbox?

In particular, this is about game extensions written in lua (luajit-2.0). I was contemplating whether I should restrict what these scripts can do, and arrived at the conclusion that I probably ...
4
votes
2answers
476 views

What is a good script language for writing server administration tasks? [closed]

I am administering hundreds of RHEL servers. There are many daily tasks to perform. Right now I am working with bash scripting and python. I was wondering if other languages such as Erlang, Lua, Ruby, ...
4
votes
3answers
12k views

Scripting language for filling out web form

I have a job as an intern at a technology company, I was given the unfortunate job of performing some data entry into our web management system. The information entered into the web form is stored in ...
1
vote
3answers
2k views

How did Python become popular as a scripting language? [closed]

I looked at it in my field of work, which is film and pretty much every software we use comes with python as a scripting language: http://en.wikipedia.org/wiki/List_of_Python_software That made me ...
2
votes
1answer
444 views

REST efficiency on count and sum methods

For example, if I have a Customer Transactions Table and I create a REST for it. The fields are: date, description, and total_amount. I am trying to figure out which one is much more efficient when ...
1
vote
3answers
390 views

What is the standard term for my role?

I'm doing work that involves writing code and managing developers in a "special projects" division of a large company. I'd like to define my role better and figure out if there's an industry standard ...
1
vote
2answers
301 views

Requiring multithreading/concurrency for implementation of scripting language

Here's the deal: I'm looking at designing my own scripting/interpreted language for fun. I'm only in the planning stages right now; I want to make sure I have a very strong hold on exactly how I will ...
5
votes
1answer
582 views

Scripting custom drawing in Delphi application with IF/THEN/ELSE statements?

I'm building a Delphi application which displays a blueprint of a building, including doors, windows, wiring, lighting, outlets, switches, etc. I have implemented a very lightweight script of my own ...
8
votes
2answers
190 views

Where should I define constants in scripts?

When writing scripts using a modern scripting language, e.g. Powershell or JavaScript, where should I define constants? Should I make all constants global for readability and ease of use, or does it ...
6
votes
2answers
2k views

What does (Lua) game scripting mean?

I've read that Lua is often used for embedded scripting and in particular game for scripting. I find it hard to picture how it is used exactly. Can you describe why and for which features and for ...
1
vote
3answers
2k views

What scripting languages can be embedded within HTML?

Most of scripting languages (like Pythong, Perl, etc) generates the whole HTMLfile. However, PHP code can be embedded within html codes. PHP will process only code between <?php ?> tags and ...
5
votes
4answers
747 views

What software models are appropriate for daily builds and continuous integration?

On reading the joel test and about daily builds, a discussion with a few tech-lead friends of mine in various companies revealed that they never did daily builds or continuous integration because ...
2
votes
6answers
404 views

In a 4 hour Powershell 101 class should I skip for/while/do and just teach ForEach-Object [closed]

I'm making a syllabus to teach non-programmer co-workers PowerShell. The first non-pilot group I will run the course with will be a team that deploys and configures one of our software products. They ...
7
votes
13answers
4k views

Would a statically typed alternative to JavaScript on webpages be practical?

Preference for dynamic and static typing is largely a matter of taste, and different people find them more or less suitable in different situations. My question is, would it be technically possible ...
7
votes
5answers
2k views

Is it a good idea to write an OS in a scripting language? [closed]

Is it a good idea to create an OS that's written in a scripting language? For example, how about creating an OS using Python?
1
vote
1answer
98 views

Differentiating between user script input formats

I have a .NET project at work that provides a couple of (Iron)Python scripts to the customers, to allow them to customize the output of the program. The application generates code for certain ...
2
votes
6answers
697 views

Learning a scripting language [closed]

I believe every programmer must learn about a core programming language and a scripting language. Seriously I've no hand in any languages like Python, JavaScript, JScript, CScript etc. I'm native ...
1
vote
2answers
1k views

Adding scripting capability to a .NET application

I already have a working implementation that adds scripting to an application. The application currently generates and compiles scripts from C# snippets (taken from different user provides ...
15
votes
17answers
3k views

When does a “scripter” become a “programmer”? [closed]

Is there a difference between 'scripters' and 'programmers'? What is the dividing line between scripters and programmers? Perhaps all scripters be considered to be a programmer. If not all ...
0
votes
2answers
5k views

A good tool for browser automation/client-side Web scripting [closed]

I'm interested in adopting a tool/scripting language to automate some daily tasks connected with fighting forum spammers. A brief overview of these tasks: analyze new registrations and posts on a ...
5
votes
7answers
457 views

Should a .NET, JavaScript and SQL Web App developer learn Perl?

I'm a front and backend .NET web developer (most solutions use MS SQL Server) and I won't be using any non-MS solutions for a while. Will Perl be useful for situations that require scripting in an MS ...
4
votes
4answers
1k views

When are scripts inside HTML not considered a bad practice?

I am new to web development. While studying the Play framework and JSP, I noticed that they both give an option to place script (in jsp scriptlet) inside HTML, but in both books I am reading they both ...
0
votes
1answer
203 views

Lua-type Java integration with C++

So I'm curious: I've implemented Lua within C++ a few times before, and while it was relatively simple, it still didn't harness the power that I would have liked. I love how eclipse works, ...
9
votes
3answers
4k views

Can I use Ruby to automate everything?

I face various types of applications (web-based, GUI-based, command-line, etc.) on various platforms (Windows, Linux, etc.) to operate everyday. There is a great opportunity for me to automate tasks ...
12
votes
5answers
993 views

Question about Creating a Scripting Language

Say, for example, I wanted to pay somebody to create a programming language or scripting language for me. What type of document would they need, in order to fully understand what it is exactly that I ...
10
votes
2answers
712 views

What is a good way to familiarize myself with PHP, coming from an ASP.NET background? [closed]

Currently, I'm very comfortable with building tools/web apps in an ASP.NET environment. I'm not really looking to leave tbh, as I really like C#, ASP.NET, MVC 3, Visual Studio, etc. However, right ...
1
vote
1answer
1k views

LUA vs Shell scripting vs C for cgi-scripting on embedded devices

I am going to try CGI scripting for implementing a web based Graphical User Interface on an embedded device. What advantages does LUA scripting have over shell scripting or C for implementing dynamic ...
0
votes
1answer
282 views

How do I add another script engine to web browsers under Linux / Windows / Mac?

In my ample (NOT!) spare time, I'm fiddling with Lhogho and wondering how to go about morphing it into a script engine for web browsers, viz <h1>My First Web Page</h1> ...
8
votes
3answers
285 views

Migration strategies for deprecating in-house scripting language

We have a scripting language that we use internally for many things. It began as a simple evaluation statements for dynamic labels to become a Turing complete language used pervasively throughout our ...
15
votes
5answers
809 views

Why is $ in identifier names for so many languages?

A lot of scripting languages like Perl, Awk, Bash, PHP, etc. use a $ sign before identifier names. I've tried to look up why but never had a satisfactory answer.
0
votes
2answers
543 views

PowerShell guide or reference for .Net Framework?

I'm a java dev that is new to powershell. I know that it's built on the .Net Framework, but I don't have much knowledge with that framework. Is there a reference guide of some sort that shows what ...
-2
votes
3answers
463 views

What scripting language to use for large file transfers on windows xp client machines

I'm a java developer that is tasked with creating some scripts that will handle large xml document file transfers by hitting some web service api's from windows xp client machines. There may be other ...
-2
votes
1answer
228 views

Should we embed virtual machines rather than languages

Ok, so I am trying to learn front-end programming. Trying to figure out how javascript is a pain, and various projects (GWT, Coffeescript, Capuccino's objective/j...) are trying to fix this with ...
2
votes
1answer
302 views

Is a partially familiar scripting language desirable?

Given that a program (under development) needs a scripting language, and that for various reasons it's not possible to use an off-the-shelf one as is, I'm considering basing it on the syntax and some ...
4
votes
2answers
1k views

What's better right now: IronRuby or IronPython? [closed]

I have plenty of experience with both Ruby and Python, and I'm looking to embed either one of these on a C# application I'm developing. I don't really care which, but I'd like to know which one ...
0
votes
1answer
78 views

Should I implement functionality for an xml file+schema?

I am working on a script to get data from excel spreadsheets to a database. The data is from surveys conducted by our office where the data comes in with very little formatting. At the moment, the ...
6
votes
4answers
1k views

Understand scripting language

Quoted from Wikipedia: A scripting language, script language or extension language is a programming language that allows control of one or more applications and makes the compiler of the ...