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

Control Error Shell Exec

I Have the following code for a VBScript in Windows Dim strOutPut Set objExecObject = objShell.Exec(MyApp.exe) Do While Not objExecObject.StdOut.AtEndOfStream strOutPut = strOutPut & objExecObject.StdOut.ReadLine() & vbCrLf Loop In some computers…
JPKI
  • 71
  • 6
2
votes
1 answer

How to fix the error "package not found! : system.web" in the Ring programming language?

While trying the next program from the Ring programming language documentation Load "weblib.ring" Import System.Web WebPage() { Text("Hello World!") } I get the error message "Error in package name, Package not found! : system.web in file …
Ibn Nile
  • 47
  • 4
2
votes
3 answers

Looking for a scripting language

I'm looking for an embedable scripting language that is - compiled statically typed garbage collected lightweight and fast cross platform Thanks.
Alon Gubkin
  • 56,458
  • 54
  • 195
  • 288
2
votes
8 answers

Good compilers for compiling perl/python/php scripts into linux executables?

I am working on a project that requires reading text files, extracting data from them, and then generating reports (text files). Since there are a lot of string parsing, I decided to do it in Perl or Python or PHP (preference in that order). But I…
Ethan
  • 18,584
  • 15
  • 51
  • 72
2
votes
1 answer

Advantages and drawbacks to implementing core methods of a scripting language in the underlying language

Background: I am writing a scripting language interpreter as a way to test out some experimental language ideas. I am to the point of writing the core set of standard methods (functions) for built-in types. Some of these methods need to directly…
2
votes
5 answers

VB6 Parser/Lexer/Scripter

I've got a game in VB6 and it works great and all, but I have been toying with the idea of creating a scripting engine. Ii'm thinking I'd like VB6 to read in flat text script files for me and then lex/parse/execute them. I have good programming…
rlb.usa
  • 14,942
  • 16
  • 80
  • 128
2
votes
4 answers

Efficient way to find to compare lines of two huge but sorted files

I'm actually stuck on something, and need some help .. I have two huge txt files (tab separator), with this kind of format : File1 : 1 robert youh xpla@ioaio.fr 2 patrick yuad qqqq@ioaio.fr 3 bob fsgfq ddd@ioaio.fr 8 tim qqjh …
Damien
  • 119
  • 1
  • 9
2
votes
2 answers

Print word frequencies in a text file Perl

I am trying to print the line count, word count, character count, and print out the words in a file as well as the amount of times they occur. I am getting errors with the last part (i.e. printing the words out and their occurences). Everything else…
chomp
  • 125
  • 9
2
votes
1 answer

How does $env:Username work in PowerShell?

So someone told me the following in a previous question: "$env:Username allways refers to the user that has created the powershell session, not to the currently logged on user." But isn't the currently logged on user always the one creating the…
anon
2
votes
1 answer

record the lines in which each word in a given file appears using awk

Having a few problems doing this. The output needs to be of the following format: on each line, a word is first printed, followed by a colon “:”, then a space, and then the list of the line numbers where the word appears (separated by comma). If a…
chomp
  • 125
  • 9
2
votes
3 answers

Storing date and time as epoch vs native datetime format in the database

For most of my tasks I find it much easier to work with date and time in the epoch format: it's trivial to calculate timespan or determine if some event happened before or after another, I don't have to deal with time-zone issues if the data comes…
zakovyrya
  • 9,579
  • 6
  • 39
  • 28
2
votes
2 answers

Text file generator using Python

I have 3 files- file1: A B C file2: 10,20,30,40 40,20,50,60 60,20,80,90 file3: 20 30 40 How do I merge the files to generate a single file in the form: A 10,20,30,40 20 B 40,20,50,60 30 C 60,20,80,90 40 Where every column is separated by a…
HackCode
  • 1,837
  • 6
  • 35
  • 66
2
votes
2 answers

What is the programming language with syntax like this?

I have some scripts written in proprietary language. I want to know whether there is any language with similar syntax like this ? PROCEDURE MY_PROC_NAME DO { DECLARE VARIABLE ABC AS NUMBER [ABC] := 123; IF ([ABC] =…
Morpheus
  • 1,722
  • 5
  • 27
  • 38
2
votes
1 answer

Any implicit else in a bracket less if-statement? Language unknown

After getting in a discussion about the iOS Crypto Flaw also discussed on Ars Technica, someone mentioned that they encountered a case where, the line following a bracket-less if expression, was treated as an else. if ()
vol7ron
  • 40,809
  • 21
  • 119
  • 172
2
votes
3 answers

Unix sorting processes by date

hello guys I am having troubles sorting by date, I have to keep just the newest proccess and kill the older ones ps -ef | grep -i my_username then I get let's say 5 or 6 process but I don't know which one is the newest one pls help.
Rubenex
  • 469
  • 2
  • 8
  • 23