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).
2
votes
3answers
114 views
Parsing Text Tokens in Script Files
My team is wanting to migrate away from compiled code to dynamic code. We have a wide variety of customers and each has different business rules. Instead of having a single compiled code base, we are ...
0
votes
5answers
314 views
scripting support in a C# application [closed]
what is the simplest and fastest way to support simple scripting in a .Net application?
I search a lot but only find many things with practical no documentation or outdated since years.
I only need to ...
2
votes
2answers
160 views
May non-GPL-compatible scripts be linked at runtime to a GPLv3 library, by that (GPL) library itself?
First of all, pardon the title, as it's not very clear. I have an application I am writing that is GPLv3, and is in Java, which means that classfiles are generated and linked to for general operation. ...
0
votes
0answers
8 views
Perl replace with variable [migrated]
I'm trying to replace a word in a string. The word is stored in a variable so naturally I do this:
$sentence = "hi this is me";
$foo = "me";
$newsentence =~ s/$foo/you/;
print ...
2
votes
1answer
168 views
When to use embedded script language?
I already read some post about the why use embedded script language but I want to ask when to use it.
I have implemented an Objective-C / Javascript binding framework which allow me to write ...
-2
votes
2answers
209 views
Timeline of a programmer in terms of languages? [closed]
Alan Perlis once said: "A language that doesn't affect the way you
think about programming, is not worth knowing".
I am not proud of the fact that I started programming with scripting languages ...
3
votes
5answers
382 views
Is it bad to place “include directive” within main function?
It is always said that the include directives should be placed at the beginning of a script. The main reason is to make the functions available throughout the script. Regardless of this fact, is it ...
1
vote
1answer
100 views
LuaJit FFI and hiding C implementation details
I would like to extend an application using LuaJit FFI. Having seen http://luajit.org/ext_ffi_tutorial.html this is surprisingly easy when comparing this to the Lua C API. So far so good. However I do ...
1
vote
3answers
528 views
Is node.js a good fit for background processing?
I'm slowly learning node.js and have a small project I want to start. The project will have a lot of background processes (downloading data from external sites, parsing CSV files, etc.).
A big "win" ...
2
votes
1answer
165 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 ...
2
votes
0answers
39 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
105 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
1answer
152 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 ...
0
votes
0answers
57 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 ...
5
votes
2answers
311 views
How to make support for bindings for a scripting language
Main
I'm making a scripting language using C++. I plan to use it with a simple test game editor. But I have to make a support for bindings to call game engine's nodes' methods to update positions, ...
1
vote
2answers
210 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 ...
5
votes
2answers
461 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 ...
3
votes
2answers
369 views
Is bash “finished”? [closed]
Should bash be expected to change in ways that break non-trivial amounts of existing scripts at some point in the (near/<5y) future? How much change has it gone trough in the last ten years ...
68
votes
10answers
2k 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 ...
2
votes
1answer
163 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 ...
4
votes
2answers
230 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, ...
0
votes
0answers
21 views
client side scripting and server side scripting [duplicate]
Possible Duplicate:
What are the difference between server-side and client-side programming?
Most of the websites in the internet are coded in both server side scripting language and client ...
-5
votes
7answers
587 views
Should code completion be a consideration when choosing a programming language for a project? [closed]
For high level RAD,
Java / C# is stronger typed than python / ruby looser typed.
So Java / C# can provide more accurate code completion which boost productivity.
We don't want to do meaningless ...
1
vote
3answers
1k 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
157 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 ...
0
votes
3answers
280 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 ...
0
votes
2answers
456 views
Is JScript dying? And if so, what is Microsoft pushing for in its stead? [closed]
I specifically became interested in JScript because of its sheer similarity to Javascript (yes, I know, they're "the same thing"). My uses for it are console apps, the kind that can receive standard ...
1
vote
2answers
136 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 ...
8
votes
2answers
176 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 ...
5
votes
1answer
246 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
157 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 ...
2
votes
2answers
204 views
Automated deployment/installation of development tools [closed]
My team is looking to automate installation/deployment of all of our development tools.
The main driver for this is to ensure that everyone in the team has a consistent development environment setup ...
5
votes
2answers
734 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
880 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 ...
0
votes
0answers
220 views
Should I use a heredoc or an external template file in my bash script?
I realise that this question may be down to personal preference but I'm pretty new to bash/shell scripting so thought it'd be worth some research to see if there's some sort of standard/best practise ...
2
votes
1answer
224 views
Is it possible to call an ASPX from UNIX shell script [on hold]
I want to call an ASPX page from a UNIX script running on a separate server from the ASP Web Server and send the ASPX page information in the URL. Is this possible? If so, what is the script command ...
5
votes
4answers
408 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 ...
4
votes
3answers
2k 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 ...
5
votes
5answers
671 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?
2
votes
2answers
236 views
What defines a language as a scripting language? [duplicate]
Possible Duplicate:
What is the main difference between Scripting Languages and Programming Languages?
I'd like to know what defines a language as a scripting language compared against ...
0
votes
0answers
72 views
Is there any officially recognized, specific determinants that make a language programming/scripting? [duplicate]
Possible Duplicate:
What is the main difference between Scripting Languages and Programming Languages?
I remember when I was first learning web-based programming everyone was intent on ...
1
vote
1answer
86 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 ...
5
votes
1answer
798 views
What are my choices for server side sandboxed scripting?
I'm building a public website where users share data and scripts to run over some data. The scripts are run serverside in some sort of sandbox without other interaction this cycle:
my Perl program ...
1
vote
2answers
692 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 ...
4
votes
4answers
510 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
170 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, ...
6
votes
2answers
564 views
Help understanding server-side scripting
As far as I understand, there are basically 3 options for doing server-side scripting these days:
Using scripting languages that can be directly interpreted/executed by the web server (e.g., PHP and ...
5
votes
4answers
612 views
Can JavaScript be used as a general scripting language?
I've used JavaScript and some frameworks (jQuery, Prototype, some node.js) for client-side web programming, but never on the desktop, where I do most of my scripting work in either Python or Bash.
...
1
vote
1answer
922 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 ...
7
votes
3answers
1k 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 ...