lex 0.0.1
lex: ^0.0.1 copied to clipboard

Dart lexer for various programming languages.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add lex

With Flutter:

 $ flutter pub add lex

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

dependencies:
  lex: ^0.0.1

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:lex/base/lexer.dart';
import 'package:lex/base/token.dart';
import 'package:lex/base/types.dart';
import 'package:lex/base/unprocessed_token.dart';
import 'package:lex/lexer.dart';
import 'package:lex/lexers/coffeescript.dart';
import 'package:lex/lexers/dart.dart';
import 'package:lex/lexers/javascript.dart';
import 'package:lex/lexers/typescript.dart';
import 'package:lex/main.dart';
import 'package:lex/unistring.dart';
1
likes
65
pub points
0%
popularity

Dart lexer for various programming languages.

Homepage

Documentation

API reference

License

unknown (LICENSE)

Dependencies

equatable

More

Packages that depend on lex