dartfx 1.0.4 copy "dartfx: ^1.0.4" to clipboard
dartfx: ^1.0.4 copied to clipboard

outdated

A simple lightly function expression runer for dart and javascript.

example/main.dart

// Copyright (c) 2022, the dartfx project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:dartfx/dartfx.dart';
import 'package:args/args.dart';

void main(List<String> arguments) {
  final parser = ArgParser()
    ..addFlag('expression', negatable: false, abbr: 'e');

  ArgResults argResults = parser.parse(arguments);
  var expression = argResults.rest.first;

  var result = fx(expression);
  print('Fx result: $result');
}
1
likes
0
points
57
downloads

Publisher

verified publisherdev.apptoy.cc

Weekly Downloads

A simple lightly function expression runer for dart and javascript.

Homepage

License

unknown (license)

Dependencies

analyzer, convert, crypto, intl, logger, meta

More

Packages that depend on dartfx