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
3
votes
1 answer

Scripting Language with "edit and continue" or "hot swap" support? ( Maybe possible in Lua?)

I am making my existing .Net Application Scriptable for non programming users. I added lua, it works like a charm. Then I added debug functionality(pause/continue/step) via debug.sethook. It works also like a charm. Now I realize that my Application…
3
votes
7 answers

What are modern and old compilers written in?

As a compiler, other than an interpreter, only needs to translate the input and not run it the performance of itself should be not that problematic as with an interpreter. Therefore, you wouldn't write an interpreter in, let's say Ruby or PHP…
3
votes
5 answers

Use of general-purpose scripting languages

There are many scripting language communities claiming that the language can be used for everything but in fact, nearly everybody uses it for one specific thing, e.g.: web development. If I take a look at Ruby, for example, they tell you its…
lamas
  • 4,528
  • 7
  • 38
  • 43
3
votes
3 answers

How to get started with embeddable scripting?

I am working on a game in C++. I've been told, though, that I should also use an embeddable scripting language like Lua or Angelscript, but to be honest, I have no idea how or why. What advantages would this bring me, over storing all of my data in…
rlbond
  • 65,341
  • 56
  • 178
  • 228
3
votes
3 answers

Is Lua the best/fastest choice for a gaming server?

I am working on a project where I want users to be able to modify and customize as much as possible. Open source might be a good choice but not due to the fact that I want to keep a few internal classes closed. Two other options that I thought about…
Spoofy
  • 105
  • 5
3
votes
0 answers

Is Python a good candidate for deployment automation?

I am looking for a scripting language for deployment automation (installing, uninstalling, copying files etc.). Main requirements are: cross-platform, debuggable, good documentation, good IDE (or possible integration with Microsoft Visual…
Captain O.
  • 383
  • 1
  • 9
2
votes
4 answers

write a scripting language in python

I'm relatively new to programming, and I would like to write a simple scripting language as an exercise, and to learn a bit. I have experience with Python, C, and Ruby, and would like to learn to write a scripting language in Python. What should be…
tekknolagi
  • 10,663
  • 24
  • 75
  • 119
2
votes
1 answer

DLR: Put statement and declaration objects to CodeCompileUnit or CodeCompileUnit-like objects

IronRuby and IronPython have custom built-ins, standard modules and you can write code straight out of hand(Directly using statements and declarations in the code), instead of using namespaces and classes like in C# and VB.NET. I am trying to use…
2
votes
2 answers

Sorting an array in perl and returning the result in one line

I am trying to sort an array in Perl from Z to A and return the sorted array in one line. What I am doing is: sub mainTexts { my @texts = (); print ("Enter text 1: "); my $text1 = ; push @texts, $text1; print ("Enter…
tavalendo
  • 857
  • 2
  • 11
  • 30
2
votes
1 answer

How to Resume Python Script After System Reboot?

I'm still new to writing scripts with Python and would really appreciate some guidance. I'm wondering how to continue executing my Python script from where it left off after a system restart. The script essentially alternates between restarting and…
2
votes
1 answer

Bash - readarray contains only one element

I'm writing this script to count some variables from an input file. I can't figure out why it is not counting the elements in the array (should be 500) but only counts 1. #initializing variables…
Philip
  • 71
  • 1
  • 1
  • 6
2
votes
2 answers

Can an Object-oriented type system be implemented by a language with an Object-oriented type system?

Suppose you have an imaginary type system for an imaginary scripting language which is written in C++ (for example), and each type (and object) in the scripting language has a corresponding type (and object) in the underlying implementation…
Sergei
  • 21
  • 1
2
votes
3 answers

Code Validation Tools for Scripting Languages

I spent some two hours trying to understand why the JavaScript file I am including in my Facebook application is not showing when I view the source of my page. Then guess what the problem turned out to be? I forget to add the final closing bracket…
Rafid
  • 18,991
  • 23
  • 72
  • 108
2
votes
1 answer

Callback in Java vs Scripting Languages

I was looking at How do I perform a JAVA callback between classes?. And the first answer, answered my query. interface CallBack { void methodToCallBack(); } class CallBackImpl implements CallBack { public void methodToCallBack() { …
Veer Shrivastav
  • 5,434
  • 11
  • 53
  • 83
2
votes
1 answer

Automatically converting Excel Files to Google Sheets

I have a google account that uses the save emails and attachments add-on. https://chrome.google.com/webstore/detail/save-emails-and-attachmen/nflmnfjphdbeagnilbihcodcophecebc?hl=en The email account only receives excel sheets as attachments, and…
Eric Hendershott
  • 633
  • 3
  • 8
  • 15