Quote Originally Posted by thinus View Post
I've used HKN before and I turned a friend onto HKN for LOTRO. We both found that the scripting language was a beast to work with as soon as you tried doing something out of the box.

Wouldn't it be much easier to just plug in an established scripting language and extend it by providing the required application specific functionality?
I'm talking about HotkeyNet 2's language, not HotkeyNet 1. HotkeyNet 2 has a real language. Here's an overview:

http://hotkeynet.com/hkn2/ref/LanguageOverview.html

One of the main reasons why I wrote a language from scratch instead of, e.g., adapting Lua was the following paragraph from the page I just linked:

Distributed processing is built into the language. You can put almost any statements inside a "sendto" block, and the local copy of HotkeyNet will send that code (in compiled form) to a remote copy of HotkeyNet where it will execute.
To make the language do that, every internal piece of the language had to be designed for it. The data structures that represent variables, the binding method for functions, the syntax of the language, the way strings of byte code are fed into the interpreter ... everything had to be designed for it. Maybe it would be practical for some people to retrofit that into a complicated program written by other people, but for me, it was easier to start with a clean sheet of paper.