Karolis2011 Posted July 3, 2020 Share Posted July 3, 2020 Hello, I am Karolis, you may know me as ex-developer / ex-mod for Aurora station. A few months ago, I started to work with Taco on refactoring and improving / expanding exisiting NTSL2 language interpreter. Unfortunately, due to Taco's disappearance it never happened. Currently, I am unable to comprehend current interpreter code, and none can maintain it, besides Taco. Meanwhile, I was researching existing language runtimes that could be utilized, and I settled on ChakraCore JavaScript engine (Same engine that powers Edge browser), as it provided some fail safes like memory limit and script interruption. You can play around with first implementation of this replacement here: https://limitless-citadel-57623.herokuapp.com/ Overall if change is to be made from Taco’s interpreter to ChakraCore a few things would happen: Most scripts will need to be ported. A few infrastructural systems will need to be rewritten. Script execution will be changed from step based to time based. This means you can’t have infinite loops that do not terminate in reasonable time. A whole array of JavaScript abilities will be available - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects (Make sure that it‘s supported under Edge 12 - 16) Easier API additions, this means that there would be filesystem API, and potentially more APIs to interact with game. So, to make sure that transition would go smoothly I would like to collect your current scripts and analyze them for potential downfalls and to have real life examples of scripts. So, I am asking you to post bellow your scripts with short description what it should do, where it’s executed and what are requirements to running it. Link to comment
Recommended Posts