scripting-language

Best way to automate tasks in windows

Mac has applescript 'built in' and I've found its pretty nice to work with for automating stuff. What's the best windows equivalent? ...

New languages...

Does anybody know of a website that lists new scripting/programming languages (or old ones). I'm not talking about new versions of existing languages, just new or old ones that probably nobody has ever heard of. Even if they're not good languages...? ...

Which ingame scripting language should I support?

The ingame script will control NPC/AI logic. If I were to implement ingame scripting feature which language should it support? JavaScript (builtin browser support) TCL (interpreter in java) Lua (popular) Squirrel CSI Other Keep in mind my implementation will run on multiple platforms like .net, flash, javascript and java. What...

Java 6: Examples for implementing own scripting language using javax.script?

Hello! I really can't find good examples for implementing own scripting language using javax.script ... I need just something to start. Documentations Examples Tutorials Videos Presentations slides (PDF) Note 1: I'm really not talking about javascript ;) Note 2: I don't need examples, how to use existing implementations, I want to ...

Debugging a scripting language like ruby

I am basically from the world of C language programming, now delving into the world of scripting languages like Ruby and Python. I am wondering how to do debugging. At present the steps I follow is, I complete a large script, Comment everything but the portion I want to check Execute the script Though it works, I am not able to deb...

How to get number of pages in a PDF document regardless of version ? Some scripting language

How I can get the number of pages in a PDF document ? The document can have images too, and text in different font size. It should work with different PDF document versions. The answer can be in any scripting language, I will port them later to Ruby. ...

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 were plug-ins as external libraries and Lua scripting. The problem with libraries (DLL...

What is a good scripting language for modifying and moving blocks of text in existing files?

I have been starting to write scripts to do some simple work in modifying existing code files - mostly finding some block of text, and making a few changes based on regular expressions within that block. These are the kinds of tasks that are beyond simple sed (or even awk) style search and replace or modify in a stream. Basically one o...

Converting XML or HTML to Wiki mark up - what approach would you choose?

I need to convert HTML documents (generated from DocBook XML documents) to the Wiki mark up language, in particular to the PM Wiki mark up language. The goal is to include the company's application operations guides in our newly created wiki. This means that I actually have two options: Convert the HTMLs (generated from DocBook XMLs) t...

Programming game in flash/as3

Hi, I have a bunch of ideas for different games (for programmers) where you have to write some program to complete the puzzle; The language shouldn't be too complicated and I even started thinking about a graphical language like Scratch (http://scratch.mit.edu/). Anyway, I wanted to explore what people had done already porting various ...

Please recommend good reading about Squirrel

Please, share your favorite links on this language where one can learn the best of it. And also, please describe in few words the most important features of this language differing it form others languages like Lua. I just cannot understand why to reinvent another Lua/python/etc. Maybe I just missed something... But I like the idea of...

What is the smallest Lisp-ish interpreter? Compiler?

I'm looking at ways to embed Lisp or Scheme in a C program, but I want to do so without growing the program size considerably. It doesn't need to be fast, or support lots of features. (Though macros would be nice.) This is not a math-intensive application. Please list the smallest embeddable interpreter for a Lisp-like language you k...

What do people mean when they say “Perl is very good at parsing”?

What do people mean when they say "Perl is very good at parsing"? How is Perl any better or more powerful than other scripting languages such as Python or Ruby? ...

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 some sort of text file? How do I get started? I tried to read some Lua examples, but I don...

How can I automate and share sessions between Firefox and Perl?

Is it possible to do part of a web flow in Perl and then transfer the rest of the session to Firefox? I need to retry(with Perl) logging in to a website which returns 500 every now and then on a successful login, transfer the authenticated session to Firefox, from where I can continue my normal browsing. Is this possible? If this is poss...

Erlang Scripting Language Interpreter

Does anyone know of an implementation of a scripting language interpreter (something appropriate for a game) in Erlang? Something like Javascript or Lua would be great. ...

Use of general-purpose scripting languages

Hello! 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 general-purpose but actually everybody is using it with rails for web development only.. ...

Going for an scripting language from C world

I came from a C-Java-C# world... where the parentheses were VIP citizens and types were loved by everyone : ) Sometimes I need to develop some piece of code to automatize a repetitive task, convert some complex frame, order an input file, send programatic request to a server... you know what I mean? But sometimes I wonder how easier c...

New scripting language

Hi All I am trying to create a scripting language by myself (it doesn't have to be perfect - although that would be great if it was), mostly because i'm doing it for fun and to learn about how they're created etc. According to the answer over here: http://stackoverflow.com/questions/2439929/creating-a-scripting-language what I'm suppos...

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 because it would be far too slow. However, what about compilers? If you would write a compiler...