jfmherokiller Posted April 9, 2021 Share Posted April 9, 2021 Has anyone thought of or attempted to modify the compiler using tools such as harmony?I have been trying to setup a thing myself here https://github.com/jfmherokiller/PaparusCompilerSetupIdeaThe basic idea is to possibly add support for transpiling other languages to papyrus or even adding additional optimization steps. Link to comment Share on other sites More sharing options...
jfmherokiller Posted April 9, 2021 Author Share Posted April 9, 2021 I will also say that I did attempt to create a kind of js to paparus transpiler frontend early on but i threw it out because It needed extensive patches to the base executable and other dlls. I tried to use a version of antlr3 close to the original and succeeded to generate a lexer and parser but I was unable to figure out how to best connect the needed parts of the original. By original parts i mean the "scriptObjectType", "scriptPropertyType", "scriptscope", "ScriptVariableType" types. Link to comment Share on other sites More sharing options...
Recommended Posts