scripting-language

Why are the interpreters of all popular scripting languages written in C (if not in C at least not in C++)?

I recently asked a question on switching from C++ to C for writing an interpreter for speed and I got a comment from someone asking why on earth I would switch to C for that. So I found out that I actually don't know why - except that C++ object oriented system has a much higher abstraction and therefore is slower. Why are the interpr...

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 from different geographical sources, in case of scripting languages what I usually get...

Game engine deployment strategy for the Android?

In college, my senior project was to create a simple 2D game engine complete with a scripting language which compiled to bytecode, which was interpreted. For fun, I'd like to port the engine to android. I'm new to android development, so I'm not sure which way to go as far as deploying the engine on the phone. The easiest way I suppose ...

Using Groovy as a scripting language...

I prefer to use scripting languages for short tasks, anything such as a really simple http bot, bulk importing/exporting data to/from somewhere, etc etc... Basic throw-away scripts and simple stuff. The point being, that a scripting language is just an efficient tool to write quick programs with. As for my understanding of Groovy at this...

Scripting language to embed into a Java server application

I want to make a business logic of server side Java application as a set of scripts. So I need from a scripting engine: Maximum Java interoperability (i.e. Spring framework) Script reloading and recompiling Easy DB access from scripting language Clear and simple syntax (some DSL capabilities would be nice to have), easy learning cu...

How to identify which server side script language is using with a web site?

How to identify which server side script language was used with a web site? Asp.Net? PHP? RoR? Java? or other? For example, Which server side script language was used with stackoverflow.com? ...

How fast should an interpreted language be today?

Is speed of the (main/only viable) implementation of an interpreted programming language a criteria today? What would be the optimal balance between speed and abstraction? Should scripting languages completely ignore all thoughts about performance and just follow the concepts of rapid development, readability, etc.? I'm asking this be...

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 experience, and I've built a simple C compiler, as well as a LOGO emulator before. My questi...

Where does scripting fit in today

I was wondering what place scripting has in today's world of IDEs and GUIs. I'm new to programming and am wondering at what point I should, if at all, open up the PowerShell terminal for a particular task. What do people here use scripting for and how important is it to a modern developer working full time with C++/C#/Java? ...

Scripting language for C++

Dear all: 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 important for me, could be compiled into C++ or some DLL/.SO (plus its .h) so that ...

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 don't want to expose the source code to my client. Is there any good compiler for compiling...

Groovy Scripting - Regex Replacements - Code Review My Script

Use Case: Take an HTML file with comments in a specific format (a format I specified), and change it to a JSP page that fills in these special areas with custom JSP code. Simple Example: <html> <!-- start:custom-title-content --> <h1>this is the generic title content used to develop the HTML page</h1> <!-- end:custom-title-content --...

Looking for an embeddable scripting language for C++ with 64-bit support and Cross Platform

I'm looking for a scripting language that works on 32-bit and 64-bit machines as well as on Windows and Linux. I will be embedding it into a C++ application so I prefer it to be natively written in C++ rather than C. I also would prefer the script to have thread/asynchronous support. So far the languages that I have looked at are GameM...

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. ...

C# Scripting - advice required please

I am developing an application to carry out pre-defined "tasks" on MSSQL database tables. It is really a tool to help with some repetitive data conversion/import tasks we have. In its SIMPLEST form it could be an "instruction" acting on a table ie. Take the contents of Field A and merge with Field B then write to Field C I have implem...

Implementing a simple XML based Scripting Language for an XNA Game

Hello, I'm working with a team on a RPG engine in C# and XNA. We're planning on targeting Windows and Windows Phone 7, but are running into issues with AI interactions and controlling player actions during cutscenes. FOr the most part, everything is extracted using the MVC design pattern, but abstracting all logic and movement into a con...

time to create a bot for second life using linden scripting language ?

how much time does it take to create a simple dance performing bot in second life using Linden Scripting Language ?? , i have no prior knowledge of lsl , but i know various object oriented and event driven programming languages . ...

Simple, secure scripting language implemented in JavaScript?

For a specific web application, I would like to implement a scripting language to assist in partially automating certain tasks. I cannot modify the web application itself, but I can send JavaScript code to each client that connects. Because multiple users of this publicly accessible site will be creating and posting scripts, I cannot use...

How to use try catch in NSIS

hi im getting a weird error on few machines in my nsis installer while installing. Its is giving "Invalid win32 file handle" while installing fonts using fontreg.nsh i've tried google but didnt got an answer to this issue. now im thinking to suppress this message, so is there any way to suppress the message or if possible suggest me sol...

Obtaining line numbers for diagnostics when writing a scripting-language compiler?

I'm currently writing a scripting language compiler using LLVM that can compile to executable code and use a JIT too. The problem I have is to show line numbers in diagnostic messages. Here is some sample code which might be output by my backend (not exactly, but roughly) ; allocate three values. Two for the operands and one for the r...