monkey_lang 0.9.7 copy "monkey_lang: ^0.9.7" to clipboard
monkey_lang: ^0.9.7 copied to clipboard

Monkey programming language interpreter in Dart.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate monkey_lang

Use it

The package has the following executables:

$ monkey

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add monkey_lang

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

dependencies:
  monkey_lang: ^0.9.7

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:monkey_lang/ast/ast.dart';
import 'package:monkey_lang/evaluator/builtins.dart';
import 'package:monkey_lang/evaluator/evaluator.dart';
import 'package:monkey_lang/lexer/lexer.dart';
import 'package:monkey_lang/monkey/monkey.dart';
import 'package:monkey_lang/object/environment.dart';
import 'package:monkey_lang/object/object.dart';
import 'package:monkey_lang/parser/parser.dart';
import 'package:monkey_lang/token/token.dart';
3
likes
15
pub points
0%
popularity

Publisher

unverified uploader

Monkey programming language interpreter in Dart.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

More

Packages that depend on monkey_lang