infix_expression_parser 1.0.2 copy "infix_expression_parser: ^1.0.2" to clipboard
infix_expression_parser: ^1.0.2 copied to clipboard

A package used to convert an infix expression into its postfix and prefix notations.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate infix_expression_parser

Use it

The package has the following executables:

$ main

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add infix_expression_parser

With Flutter:

 $ flutter pub add infix_expression_parser

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  infix_expression_parser: ^1.0.2

Alternatively, 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:infix_expression_parser/expression_evaluator.dart';
import 'package:infix_expression_parser/infix_expression_converter.dart';
0
likes
120
points
44
downloads

Publisher

unverified uploader

Weekly Downloads

A package used to convert an infix expression into its postfix and prefix notations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, stack, string_validator

More

Packages that depend on infix_expression_parser