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.

27
likes
105/ 140
pub points
71%
popularity

We analyzed this package 2 days ago, and awarded it 105 pub points (of a possible 140):

failed
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:4:107

  ╷
4 │ <p>A Lua virtual machine written in <a href="https://github.com/dart-lang/sdk">Dart</a>, which implements <a href="http://www.lua.org/manual/5.3/">Lua5.3</a> version.</p>
  │                                                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

partial
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

7 out of 137 API elements (5.1 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: debug, debug.LuaStateDebug, debug.LuaStateDebug.printStack, lua, lua.DartFunction.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:lua_dardo/debug.dart that imports:
  • package:lua_dardo/lua.dart that imports:
  • package:lua_dardo/src/api/lua_type.dart that imports:
  • package:lua_dardo/src/api/lua_state.dart that imports:
  • package:lua_dardo/src/state/lua_state_impl.dart that imports:
  • package:lua_dardo/src/stdlib/basic_lib.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 86 issues. Showing the first 2:

INFO: The value of the case clause ('LuaType.luaNil') is equal to the value of an earlier case clause ('LuaType.luaNil').

lib/debug.dart:24:14

   ╷
24 │         case LuaType.luaNil:
   │              ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/debug.dart

INFO: Use 'isNotEmpty' rather than negating the result of 'isEmpty'.

lib/src/compiler/codegen/exp_helper.dart:11:12

   ╷
11 │     while (!exps.isEmpty) {
   │            ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/compiler/codegen/exp_helper.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
sprintf ^6.0.0 6.0.2 7.0.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^6.0.0` on sprintf does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions sprintf to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

27
likes
105
pub points
71%
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