Commit be9f0df6 authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Renamed LuaInterface -> NLua

parent 2e203153
NLua
====
========
[![Logo](https://secure.gravatar.com/avatar/77ecf0fb9d8419be7715c6e822e66562?s=150)]()
NLua is a fork of project LuaInterface (from Fábio Mascarenhas/Craig Presti).
NLua is a fork of project NLua (from Fábio Mascarenhas/Craig Presti).
NLua allow use Lua from C#, using Windows, Linux, Mac, iOS , Android, Windows Phone 7 and Windows Phone 8.
......@@ -39,27 +39,34 @@ iOS: [![Build Status](http://jenkins-nlua.sytes.net:8080/job/NLua_iOS/badge/icon
}
```
Copyright (c) 2013 Vinicius Jarina
LuaInterface 2.0.4
------------------
NLua 1.0.0
----------
* Forked from LuaInterface 2.0.4
* Added iOS support using KeraLua (C# PInvoke Lua)
LuaInterface
--------------
Copyright (c) 2003-2006 Fabio Mascarenhas de Queiroz
Maintainer: Craig Presti, craig@vastpark.com
lua51.dll and lua51.exe are Copyright � 2005 Tecgraf, PUC-Rio
lua51.dll and lua51.exe are Copyright (c) 2005 Tecgraf, PUC-Rio
Getting started with NLua:
-------------------------
Getting started with LuaInterface:
---------
* Use LuaRunner.exe to run samples/testluaform.lua
* Run TestLua.exe to see some more test cases
* Look at src/TestLuaInterface/TestLua to see example usage from C#
(optionally run this from inside of the LuaInterface solution in
* Look at src/TestNLua/TestLua to see example usage from C#
(optionally run this from inside of the NLua solution in
the debugger). Also provides a good example of how to override .net
methods from Lua and use LuaInterface from within your .net application.
methods from Lua and use NLua from within your .NET application.
* Look at samples/testluaform.lua to see examples of how to use
.net from inside Lua
.NET from inside Lua
* More instructions for installing and using in the doc/guide.pdf file.
What's new in LuaInterface 2.0.3
......@@ -165,7 +172,7 @@ interface.
Add CLRPackage.lua to the samples directory. This class makes it much easier to automatically
load referenced assemblies. In the next release this loading will be automatic.
To see an quick demonstration of LuaInterface, cd into luainterface/samples and then
To see an quick demonstration of LuaInterface, cd into nlua/samples and then
type: ..\..\Built\debug\LuaRunner.exe testluaform.lua
Various other minor fixes that I've forgotten. I'll keep better track next time.
......@@ -181,7 +188,7 @@ What's New in LuaInterface 1.3
LuaInterface now works with LuaBinaries Release 2 (http://luabinaries.luaforge.net)
and Compat-5.1 Release 3 (http://luaforge.net/projects/compat). The loader DLL is now
called luanet.dll, and does not need a luainterface.lua file anymore
called luanet.dll, and does not need a nlua.lua file anymore
(just put LuaInterface.dll in the GAC, luanet.dll in your package.cpath, and
do require"luanet").
......@@ -210,8 +217,8 @@ What's New in LuaInterface 1.2
LuaInterface now can be loaded as a module, so you can use the lua standalone
interpreter to run scripts. Thanks to Paul Winwood for this idea and sample code
showing how to load the CLR from a C++ program. The module is "luainterface". Make
sure Lua can find luainterface.lua, and LuaInterfaceLoader.dll is either in the
showing how to load the CLR from a C++ program. The module is "nlua". Make
sure Lua can find nlua.lua, and LuaInterfaceLoader.dll is either in the
current directory or the GAC. The samples now load LuaInterface as a module, in
its own namespace.
......
---
--- This lua module provides auto importing of .net classes into a named package.
--- Makes for super easy use of LuaInterface glue
--- Makes for super easy use of NLua glue
---
--- example:
--- Threading = CLRPackage("System", "System.Threading")
......
Some example scripts, showing what LuaInterface can do.
Some example scripts, showing what NLua can do.
form A simple form, basic event handling
socket Fetches the content of a web site and prints to the
......
......@@ -2,7 +2,7 @@ require("CLRPackage")
Forms = CLRPackage("System.Windows.Forms", "System.Windows.Forms")
Drawing = CLRPackage("System.Drawing", "System.Drawing")
LuaInterface = CLRPackage("LuaInterface", "LuaInterface")
NLua = CLRPackage("NLua", "NLua")
IO = CLRPackage("System.IO", "System.IO")
System = CLRPackage("System", "System")
......@@ -13,7 +13,7 @@ ListBox=Forms.ListBox
Button=Forms.Button
Point=Drawing.Point
Size=Drawing.Size
Lua=LuaInterface.Lua
Lua=NLua.Lua
OpenFileDialog=Forms.OpenFileDialog
File=IO.File
StreamReader=IO.StreamReader
......
......@@ -2,7 +2,7 @@
Forms=luanet.System.Windows.Forms
Drawing=luanet.System.Drawing
LuaInterface=luanet.LuaInterface
NLua=luanet.NLua
IO=luanet.System.IO
Form=Forms.Form
......@@ -12,7 +12,7 @@ ListBox=Forms.ListBox
Button=Forms.Button
Point=Drawing.Point
Size=Drawing.Size
Lua=LuaInterface.Lua
Lua=NLua.Lua
OpenFileDialog=Forms.OpenFileDialog
File=IO.File
StreamReader=IO.StreamReader
......
#! /bin/sh
PROJECT=LuaInterface
PROJECT=NLua
FILE=
CONFIGURE=configure.ac
......
dnl Warning: This is an automatically generated file, do not edit!
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.54])
AC_INIT([LuaInterface], [2.x])
AC_INIT([NLua], [2.x])
AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE
......@@ -69,11 +69,11 @@ dnl package checks, per config
AC_CONFIG_FILES([
Core/KopiLua/kopilua.pc
Core/KopiLua/Makefile
Core/LuaInterface/luainterface.pc
Core/LuaInterface/Makefile
Core/NLua/nlua.pc
Core/NLua/Makefile
Core/Makefile
Test/TestLuaInterface/testluainterface
Test/TestLuaInterface/Makefile
Test/TestNLua/testnlua
Test/TestNLua/Makefile
Applications/LuaRunner/luarunner
Applications/LuaRunner/Makefile
Makefile
......
File added
......@@ -2,7 +2,7 @@
using System;
using NUnit.Framework;
namespace LuaInterfaceTest
namespace NLuaTest
{
[TestFixture]
public class Core
......
......@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>LuaInterfaceTest</string>
<string>NLuaTest</string>
<key>CFBundleIdentifier</key>
<string>org.nlua.nluatest</string>
<key>MinimumOSVersion</key>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment