PxdScript Tutorials March 2001 - Telemachos This is a series of tutorials that describe how to design and implement a scripting language to be run with a virtual machine. Writing a Compiler January 2002 - Michelle Donalies This is an article on how to write a compiler, complete with explanation of how to describe the syntax in Backus Naur Form, and how to best implement the parsing and compilation of the source code using C++. Implementing a Scripting Engine May 1999 - Jan Niestadt This article implements a scripting language with a virtual stack machine. It talks about optimizations to the byte code. And also mentions high level constructs such as class inheritance etc. FuBi: Automatic Function Exporting for Scripting and Networking 2001 - Scott Bilas This article explains how the scripting engine in Dungeon Siege is able to automatically bind to the game engine's functions in order to call them efficiently. Compiler Construction: A Practical Approach Jan 2003 - F. J. F. Benders, J. W. Haaring, T. H. Janssen, D. Meffert, A. C. van Oostenrijk This online book (246 pages) explains in detail how to design a programming language and how to write a compiler for it. The Implementation of Lua 5.0 Feb, 2005 - Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes This article gives a brief overview of the implementation of Lua 5.0. It shows a little of how the authors were thinking when designing the language, which could in turn give ideas when implementing your own language. Parrot An open source VM designed to be able to be used by any scripting language. System.Reflection.Emit Namespace This is the documentation for the .NET Framework Class Library. The classes in this namespace are mainly targetted at scripting libraries and compilers that want to generate code compatible with .NET. IronPython This is an implementation of Python that targets the .NET framework. LuaInterface This interface allows Lua and .NET applications to interact. SoftWire source code SoftWire library source code, before it was bought by TransGaming. UnrealScript Language Reference Dec, 1998 - Tim Sweeney An interesting article for those that have interests in designing scripting languages. DynCall library Daniel Adler, Tassilo Philipp This library implements support for dynamically calling C/C++ functions and methods, by pushing arguments on a virtual stack and then invoking the function. It is similar to how AngelScript internally calls C/C++ functions and methods. |