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.

36
likes
125/ 160
pub points
67%
popularity

We analyzed this package 2 hours ago, and awarded it 125 pub points (of a possible 160):

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 136 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

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

10/10 points: Package has an example

failed
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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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
30 / 40trigger 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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

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