diff --git a/README.html b/README.html index 1f994fa9..dd30e2e3 100644 --- a/README.html +++ b/README.html @@ -51,7 +51,7 @@ This is an alpha release for a luaj 2.0. The most recent stable release is 1.0.
-The following libraries are loaded by default in Java ME and Java SE platforms: +The following libraries are loaded in py both JsePlatform.standardGlobals() and JmePlatform.standardGlobals():
base coroutine + io math + os package string table
-The following libraries are optional, but preconfigured for some platforms and tools: +The JsePlatform.standardGlobals() globals also include:
- io - os - debug luajava-
+The JsePlatform.debugGlobals() and JsePlatform.debugGlobals() functions produce globals that include: +
+ debug +
-The Java ME platform has an optional, partial implementation of the io in +The JmePlatform.standardGlobals() instantiated the io library io in
src/jme/org/luaj/vm2/lib/jme/JmeIoLib.java+The JsePlatform.standardGlobals() includes support for random access and is in +
+ src/jse/org/luaj/vm2/lib/jse/JseIoLib.java ++
+The basic os library implementation us used by JmePlatform and is in:
src/core/org/luaj/lib/OsLib.java-A slightly more complete version for Java SE is in: +A richer version for use by JsePlatform is :
src/jse/org/luaj/vm2/lib/jse/JseOsLib.java@@ -317,31 +323,22 @@ and most time and date formatting, locales, and other features are not implemented.
- debug -+The debug library is not included by default by +JmePlatform.standardGlobals() or JsePlatform.standardGlobsls() . -Install from Java using: -
- _G.load( new DebugLib() ); -+The functions JmePlatform.debugGlobals() and JsePlatform.debugGlobsls() +create globals that contain the debug library in addition to the other standard libraries. -or change startup code to use: -
- LuaValue _G = JsePlatform.debugGlobals(); -- -To install from lua use: +To install dynamically from lua use java-class-based require::
require 'org.luaj.vm2.lib.DebugLib'-The lua command line utility includes the debug library by default. +The lua command line utility includes the debug library by default.
@@ -363,6 +360,9 @@ See a longer sample in src/test/res/swingapp.lua for details, or try ru
The Java ME platform does not include this library, and it cannot be made to work because of the lack of a reflection API in Java SE. +
+The lua connand line tool includes luajava. +
-A large array of test scripts may be found in -
- test/lua/*.lua -- -
-A large set of JUnit tests are invoked by the JUnit 3 suite: +The main luaj JUnit tests are organized into a JUnit 3 suite:
test/junit/org/luaj/vm2/AllTests.lua
-These tests are used for to produce code coverage statistics using build-coverage.xml. +Unit test scripts can be found in these locations +
+ test/lua/*.lua + test/junit/org/luaj/vm2/compiler/lua5.1-tests.zip + test/junit/org/luaj/vm2/compiler/regressions.zip + test/junit/org/luaj/vm2/vm1/luajvm1-tests.zip ++ +
+A build script for running unit tests and producing code coverage statistics is in +
+ build-coverage.xml ++ +It relies on the cobertura code coverage library.