flight_script 0.0.2 copy "flight_script: ^0.0.2" to clipboard
flight_script: ^0.0.2 copied to clipboard

outdated

A small flutter compatible embeded scripting language scripting language. Because sometimes you just have to load your function from a database and have it change without a full app rebuild.

example/main.dart

import 'package:flight_script/flight_script.dart';

/// Flight uses a reverse-polish notation. Arguments go before the function call
/// This program is equivalent to print("Hello, Dart!");
const program = """
  "Hello, Flight Script!" print()
""";

void main() {
  final interpreter = Interpreter();
  interpreter.eval(program);
}
2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A small flutter compatible embeded scripting language scripting language. Because sometimes you just have to load your function from a database and have it change without a full app rebuild.

Repository

License

unknown (LICENSE)

More

Packages that depend on flight_script