|
1 | 1 | LuaJIT Language Toolkit |
2 | 2 | === |
3 | 3 |
|
4 | | -The LuaJIT Language Toolkit is an implementation of the Lua programming language written in Lua iself. |
| 4 | +The LuaJIT Language Toolkit is an implementation of the Lua programming language written in Lua itself. |
5 | 5 | It works by generating a LuaJIT's bytecode including the debug informations and use the LuaJIT's virtual machine to run the generated bytecode. |
6 | 6 |
|
7 | 7 | On itself the language toolkit does not do anything useful since LuaJIT itself does the same things natively. |
@@ -113,7 +113,7 @@ local function parse_return(ast, ls, line) |
113 | 113 | end |
114 | 114 | ``` |
115 | 115 |
|
116 | | -As you cas see the AST function are invoked using the `ast` object. |
| 116 | +As you can see the AST function are invoked using the `ast` object. |
117 | 117 |
|
118 | 118 | In addition the parser provides additional informations about: |
119 | 119 |
|
@@ -183,7 +183,7 @@ extern int luaopen_langloaders(lua_State *L); |
183 | 183 |
|
184 | 184 | The functions above can be used to create a custom LuaJIT executable that use the language toolkit implementation. |
185 | 185 |
|
186 | | -When the function `language_*` are used an indipendent `lua_State` is created behind the scenes and used to compile the bytecode. |
| 186 | +When the function `language_*` is used, an independent `lua_State` is created behind the scenes and used to compile the bytecode. |
187 | 187 | Once the bytecode is generated it is loaded into the user's `lua_State` ready to be executed. |
188 | 188 | The approach of using a separate Lua's state ensure that the process of compiling does not interfere with the user's application. |
189 | 189 |
|
@@ -333,4 +333,4 @@ The implementation is now complete in term of features and well tested, even for |
333 | 333 | The language toolkit is currently capable of executing itself. |
334 | 334 | This means that the language toolkit is able to correctly compile and load all of its module and execute them correctly. |
335 | 335 |
|
336 | | -Yet some bugs are probably present and you should be cautious when you use the language toolkit. |
| 336 | +Yet some bugs are probably present and you should be cautious when you use LuaJIT language toolkit. |
0 commit comments