lualike 0.0.1-alpha.2
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.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate lualikeUse it
The package has the following executables:
$ lualike
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add lualikeWith Flutter:
$ flutter pub add lualikeThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
lualike: ^0.0.1-alpha.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:lualike/lualike.dart';