[tsc-devel] Embedded script language (was: More on dependencies)

Marvin Gülker | Mon, 16 Oct 2017 19:07:51 UTC

Am 15. October 2017 um 21:22 Uhr -0500 schrieb Chris Jacobsen <…9@y…>:
> > IMO the only other good embedded scripting languages would be Lua and
> > Wren. (Well, I like embedding Python via pybind11, but most wouldn't
> > consider its size to be embed-worthy. ;)
> As you can probably guess, I'd be interested in Python if we find
> something embedable.  Its widespread use in computer science encourages
> contributions.  For something embedable, we'd probably want to find
> something not clearly heavy weight, but I would not get too caught up on
> smaller size differences users won't notice.
> 
> It doesn't hurt to look at heavy weight implementations for the sake of
> discussion, though, and think about what the effects on users are.

We can draw from the existing experiences with mruby, and while I have
pretty much experience with Ruby, I have exactly none with Python. And
Python has syntactic whitespace, which I don't necessaryly like.

Specifically with regard to Lua, I think mruby is a better choice
because TSC exposes a lot of objects and classes (just think about all
the enemy classes) to the level designer. Lua is not really
object-oriented, which might make this a little difficult. Also, the
basic Ruby syntax can be easily grasped by people who do not usually
program, just like with Lua, but for those who *do* know how to
(semi-)professionally program, mruby provides all the features one needs
for fully-fledged OOP. I have worked with Lua earlier, and I prefer
mruby from that experience.

Marvin

-- 
Blog: https://www.guelkerdev.de
PGP/GPG ID: F1D8799FBCC8BC4F

By Thread
2017-10-14 21:07:37Marvin Gülker[tsc-devel] More on dependencies
2017-10-15 20:50:43Chris JacobsenRe: [tsc-devel] More on dependencies
2017-10-15 22:54:14Ryan GonzalezRe: [tsc-devel] More on dependencies
2017-10-16 02:22:48Chris JacobsenRe: [tsc-devel] More on dependencies
2017-10-16 19:07:51Marvin Gülker[tsc-devel] Embedded script language (was: More on dependencies)
2017-10-16 18:59:19Marvin Gülker[tsc-devel] GUI library (was: More on dependencies)
2017-10-16 19:18:38Marvin GülkerRe: [tsc-devel] More on dependencies
By Date
[tsc-devel] More on dependenciesMarvin Gülker2017-10-14 21:07:37
Re: [tsc-devel] More on dependenciesChris Jacobsen2017-10-15 20:50:43
Re: [tsc-devel] More on dependenciesRyan Gonzalez2017-10-15 22:54:14
Re: [tsc-devel] More on dependenciesChris Jacobsen2017-10-16 02:22:48
[tsc-devel] GUI library (was: More on dependencies)Marvin Gülker2017-10-16 18:59:19
[tsc-devel] Embedded script language (was: More on dependencies)Marvin Gülker2017-10-16 19:07:51
Re: [tsc-devel] More on dependenciesMarvin Gülker2017-10-16 19:18:38