fn_express 1.1.2 copy "fn_express: ^1.1.2" to clipboard
fn_express: ^1.1.2 copied to clipboard

A Dart package for parsing and evaluating mathematical expressions with support for variables, functions, and constants.

example/fn_express_example.dart

import 'dart:io';

import 'package:fn_express/fn_express.dart';

void main() => Repl(
      onInput: () => stdin.readLineSync(),
      onOutput: (output, {newline = true}) =>
          newline ? stdout.writeln(output) : stdout.write(output),
    ).start();
0
likes
0
points
137
downloads

Publisher

verified publisherlgsim.io

Weekly Downloads

A Dart package for parsing and evaluating mathematical expressions with support for variables, functions, and constants.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on fn_express