monkey_lang 0.9.7
monkey_lang: ^0.9.7

Dart native js
Flutter Android iOS web

Monkey programming language interpreter in Dart.

Use this package as an executable

1. Install it

You can install the package from the command line:

$ pub global activate monkey_lang

2. Use it

The package has the following executables:

$ monkey

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  monkey_lang: ^0.9.7

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

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

3. 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';
1
likes
75
pub points
25%
popularity

Monkey programming language interpreter in Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

mcreichelt@gmail.com

License

BSD (LICENSE)

More

Packages that depend on monkey_lang