Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

scripting languages and SEPPLES

Name: Anonymous 2011-11-20 13:08

I want to extend some software I'm working on without recompiling it every time by exposing a part of the code with a scripting language.

Lua looks interesting, it looks fairly easy to call C functions in it and I guess it can probably do C++ functionality (classes and templates) too.

any other options?

Name: 1 2011-11-20 16:34

>>12
I've done that before with a hobby app, it gets ugly...
First you roll your own DOS batch-style language with a forth stack and some dollar sign variables, but then...

but wait, I don't like dollar signs on my variables, nobody likes PHP, they'll make fun of me!... functions might be useful... operator parsing? yes... hmm lambdas... why don't we try making this homoiconic...

And before you know it you caught yourself in the process of upgrading a .BAT clone into your dream language. But instead got a half baked Haskell-Prolog shit that doesn't work because the homemade bytecode VM for it hasn't been finished for a year.

Let some other fool make the scripting engine for your app

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List