lvg icon indicating copy to clipboard operation
lvg copied to clipboard

scripting issues

Open lieff opened this issue 7 years ago • 0 comments

tcc: tcc needs heavy modifications for web, needs modifications to sandbox file io, ABI issues.

picoc: picoc do not supports floats (only doubles), function pointers, slow.

Possible alternatives:

  • https://github.com/kungfooman/EiC-C-Interpreter
  • https://github.com/EarlGray/c4
  • https://github.com/jnz/q3vm

Ideally we need script->bytecode translator (reuse AVM1?), so player needs support only bytecode, easy sandbox, normal speed, compiler fixes do not affects already installed players.

Useful links: https://github.com/r-lyeh-archived/scriptorium https://github.com/dbohdan/embedded-scripting-languages

lieff avatar Aug 12 '18 18:08 lieff