lua_dardo 0.0.5 copy "lua_dardo: ^0.0.5" to clipboard
lua_dardo: ^0.0.5 copied to clipboard

A Lua virtual machine written in Dart, which implements Lua5.3 version.

example/example.dart

import 'package:lua_dardo/lua.dart';


void main(List<String> arguments) {
  LuaState state = LuaState.newState();
  state.openLibs();
  state.loadString(r'''
a=10
while( a < 20 ) do
   print("a value is", a)
   a = a+1
end
''');
  state.call(0, 0);
}
36
likes
125
pub points
67%
popularity

Publisher

unverified uploader

A Lua virtual machine written in Dart, which implements Lua5.3 version.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

sprintf

More

Packages that depend on lua_dardo