?

Log in

No account? Create an account
Hi! I'm new here (no duh). I'm currently working on a console-mode… - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[Jun. 8th, 2002|02:35 am]
LiveJournal Client Discussions
lj_clients
[cyberlizard]

Hi! I'm new here (no duh).

I'm currently working on a console-mode scriptable Win32 client. So far, things have been working great. I haven't released it yet, though. As I mentioned, I want to make it scriptable. Should I use JavaScript, or should I build a scripting language of my own?

linkReply

Comments:
[User Picture]From: sol3
2002-06-07 11:55 am (UTC)
I'm of the mindset that if you're going to add scripting support to an app, you should use an existing language. Little annoys me more than having to learn a new scripting language for every damn application that i use :)

--Dg
(Reply) (Thread)
[User Picture]From: xb95
2002-06-07 12:25 pm (UTC)
I agree. It's also much easier to use a parser someone else has made, because it's really more difficult than it looks to write a parser. Especially with all the nuances and such that can be inside expressions. Anyway, I'd recommend you check out Python, PerlScript, JavaScript, and VBScript. There are probably other scripting languages you can embed, but the above are the best. G'luck, I'd like to see it when you're done.
(Reply) (Parent) (Thread)
[User Picture]From: sameer
2002-06-07 06:05 pm (UTC)
build a scripting language! and then an operating system to support it! Maybe also new hardware to go with it, but maybe that's for tomorrow!
(Reply) (Thread)
[User Picture]From: mart
2002-06-07 06:44 pm (UTC)

If you're working on Win32, do it the Win32 way — use the ActiveX scripting engine that has come with Windows since Windows '98, and don't reinvent the wheel. That engine supports any language the user has installed, which is by default VBScript and JScript, but can also be perl and (I think) python, and potentially anything someone bothers to implement.

(Reply) (Thread)