Running Lua Scripts on the CLR through Bytecode Translation

dc.creatorMascarenhas,Fabio
dc.creatorIerusalimschy,Roberto
dc.date2005
dc.date.accessioned2024-02-06T12:53:47Z
dc.date.available2024-02-06T12:53:47Z
dc.descriptionThe .NET Common Language Runtime (CLR) aims to provide interoperability among code written in several different languages, but porting scripting languages to it, so that scripts can run natively, has been hard. This paper presents our approach for running scripts written in Lua, a scripting language, on the .NET CLR. Previous approaches for running scripting languages on the CLR have focused on extending the CLR, statically generating CLR classes from user-defined types in the source languages. They required either language extensions or restrictions on the languages' dynamic features. Our approach, on the other hand, focused on keeping the syntax and semantics of the original language intact, while giving the ability to manipulate CLR objects. We implemented a translator of Lua virtual machine bytecodes to CLR bytecodes. Benchmarks show that the code our translator generates performs better than the code generated by compilers that use the previous approaches.
dc.formattext/html
dc.identifierhttps://doi.org/10.3217/jucs-011-07-1275
dc.identifierhttps://lib.jucs.org/article/28446/
dc.identifier.urihttps://openrepository.mephi.ru/handle/123456789/8811
dc.languageen
dc.publisherJournal of Universal Computer Science
dc.relationinfo:eu-repo/semantics/altIdentifier/eissn/0948-6968
dc.relationinfo:eu-repo/semantics/altIdentifier/pissn/0948-695X
dc.rightsinfo:eu-repo/semantics/openAccess
dc.rightsJ.UCS License
dc.sourceJUCS - Journal of Universal Computer Science 11(7): 1275-1290
dc.subjectvirtual machines
dc.subjectcompilers
dc.subjectcommon language runtime
dc.subjectbytecodes
dc.titleRunning Lua Scripts on the CLR through Bytecode Translation
dc.typeResearch Article
Файлы
Коллекции