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

A starting point of a Dart library.

example/eyamluate_example.dart

import 'package:eyamluate/eval/eval.dart';
import 'package:eyamluate/eval/evaluator.dart';
import 'package:eyamluate/yaml/encoder.dart';
import 'package:eyamluate/yaml/yaml.dart';

void main() {
  final evaluated = Evaluator().evaluate(EvaluateInput(
    source: '''cat: ["Hello", ", ", "eyamluate", "!"]''',
  ));
  final decoded = Encoder().encode(EncodeInput(
    value: evaluated.value,
  ));
  print(decoded.result);
  // Output: "Hello, eyamluate!"
}
0
likes
130
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

A starting point of a Dart library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

characters, collection, embed_annotation, fixnum, json_schema, path, protobuf, yaml, yaml_edit

More

Packages that depend on eyamluate