Title
Running Lua Scripts on the CLR through Bytecode Translation
Abstract
The. 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.
Year
Venue
Keywords
2005
JOURNAL OF UNIVERSAL COMPUTER SCIENCE
virtual machines,compilers,common language runtime,bytecodes
Field
DocType
Volume
Programming language,Virtual machine,Computer science,Compiler,Porting,Common Language Runtime,Bytecode,Syntax,Operating system,Semantics,Scripting language
Journal
11
Issue
ISSN
Citations 
7
0948-695X
1
PageRank 
References 
Authors
0.43
2
2
Name
Order
Citations
PageRank
Fabio Mascarenhas1285.29
Roberto Ierusalimschy246354.25