lualike 0.0.1-alpha.2 copy "lualike: ^0.0.1-alpha.2" to clipboard
lualike: ^0.0.1-alpha.2 copied to clipboard

A Lua-like scripting language for Dart, designed to be easy to embed and extend. It provides a simple REPL, supports Lua-like syntax, and allows for seamless integration with Dart code.

140/ 160
pub points
241
downloads

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

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Funding URL doesn't exist.

At the time of the analysis https://www.buymeacoffee.com/kingwill101 was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

551 out of 1067 API elements (51.6 %) have documentation comments.

Some symbols that are missing documentation: base_command, base_command.BaseCommand.BaseCommand.new, execute_command, execute_command.ExecuteCommand.ExecuteCommand.new, execute_command.ExecuteCommand.code.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:lualike/lualike.dart that imports:
  • package:lualike/src/value_class.dart that imports:
  • package:lualike/src/value.dart that imports:
  • package:lualike/src/io/lua_file.dart that imports:
  • package:lualike/src/stdlib/lib_io.dart that imports:
  • package:lualike/src/stdlib/library.dart that imports:
  • package:lualike/src/interpreter/interpreter.dart that imports:
  • package:lualike/src/stdlib/init.dart that imports:
  • package:lualike/src/stdlib/lib_os.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:lualike/lualike.dart that imports:
  • package:lualike/src/value_class.dart that imports:
  • package:lualike/src/value.dart that imports:
  • package:lualike/src/io/lua_file.dart that imports:
  • package:lualike/src/stdlib/lib_io.dart that imports:
  • package:lualike/src/stdlib/library.dart that imports:
  • package:lualike/src/interpreter/interpreter.dart that imports:
  • package:lualike/src/stdlib/init.dart that imports:
  • package:lualike/src/stdlib/lib_os.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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 10 issues. Showing the first 2:

INFO: The argument type 'Value' isn't related to 'String'.

lib/src/interpreter/assignment.dart:244:19

    ╷
244 │             table[index] = wrappedValue;
    │                   ^^^^^
    ╵

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

INFO: The argument type 'Value' isn't related to 'String'.

lib/src/interpreter/table.dart:93:29

   ╷
93 │     final result = tableVal[indexVal];
   │                             ^^^^^^^^
   ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
archive ^4.0.7 4.0.7 4.0.7
args ^2.7.0 2.7.0 2.7.0
characters ^1.4.1 1.4.1 1.4.1
collection ^1.19.1 1.19.1 1.19.1
convert ^3.1.2 3.1.2 3.1.2
crypto ^3.0.6 3.0.6 3.0.6
dart_console ^4.1.2 4.1.2 4.1.2
glob ^2.1.3 2.1.3 2.1.3
http ^1.4.0 1.5.0 1.5.0
logging ^1.3.0 1.3.0 1.3.0
path ^1.9.1 1.9.1 1.9.1
petitparser ^7.0.0 7.0.1 7.0.1
pointycastle ^4.0.0 4.0.0 4.0.0
source_span ^1.10.1 1.10.1 1.10.1
web ^1.1.1 1.1.1 1.1.1
xrandom ^0.7.2 0.7.2 0.7.2
yaml ^3.1.3 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
clock - 1.1.2 1.1.2
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
meta - 1.17.0 1.17.0
posix - 6.0.3 6.0.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
win32 - 5.14.0 5.14.0

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
140
points
241
downloads

Publisher

verified publisherglenfordwilliams.com

Weekly Downloads

A Lua-like scripting language for Dart, designed to be easy to embed and extend. It provides a simple REPL, supports Lua-like syntax, and allows for seamless integration with Dart code.

Repository (GitHub)
View/report issues

Topics

#lua #scripting #interop #interpreter #repl

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

archive, args, characters, collection, convert, crypto, dart_console, glob, http, logging, path, petitparser, pointycastle, source_span, web, xrandom, yaml

More

Packages that depend on lualike