0

I'm looking to embed some kind of scripting language so that I can use it to handle my map's scripts. I don't want to compile stuff during application's execution - only run the precompiled bytecode. I saw things like luaj, but I'm looking for something as minimalistic as possible. I don't really need the full support of LUA standard libraries, for instance. All I need is basic numeric & string operations + being able to bind my own functions.

I couldn't really find any small-ish VM written in java ( I would want to avoid mixing android's NDK with SDK. My whole game is written in java already ), so if I am forced to - I might just implement some very minimalistic & not fully implemented LUA VM.. (I need procedural programming style only after all. Having only functions without objects etc. would do completely fine)

( Just to clear things out - The VM doesn't need to be LUA VM. It can be any language )

Any thoughts?

Seki
  • 11,135
  • 7
  • 46
  • 70
Maciej Kozik
  • 176
  • 2
  • 8
  • I don't understand; why do you need a VM? Have you explored simple ELs? – Dave Newton Nov 16 '13 at 19:27
  • What do you mean by shortcut "EL"? I cannot seem to connect it to anything I know. If you mean something like "Emulated Language", and by that you somehow understand a simple language interpreter, then I don't think that I can get away with such performance. – Maciej Kozik Nov 16 '13 at 22:24
  • Expression Language, like MVEL, OGNL, etc. Or a simple templating, some of which offer expressions. – Dave Newton Nov 16 '13 at 22:35
  • Oh! This is very interesting! It might be just what I am looking for :) – Maciej Kozik Nov 16 '13 at 22:42

0 Answers0