lexpro 1.1.0+1

Dart native js
Flutter Android iOS web

Dart lexer for various programming languages base on lex v0.0.1 originally published by thlorenz10@gmail.com edit by jackyanjiaqi@gmail.com

lexpro #

If picture can not be seen, read me at github.

You can also learn from example.dart, it's so easy and full with comments.

Intro: Lexers for different languages in Dart with Regular Expressions adapted from the awesome pygments library.

Edit and Add new features by jackyanjiaqi

Tutoring #

1. Basic Looping && Cover Relationship #

part1

2. Statestack && POP #

3. Error occurs place && other kind of POPS #

4. Include && Empty #

part2

5. How to use nextState prop #

6. Parse.bygroups && strategies combine above all 1+2+3+4+5 #

part3

I think you can handle it.Learn by tests.Especaily newly added lexers/senior/dart_import_test.dart it supports senior grammer build.

1
likes
90
pub points
0%
popularity

Dart lexer for various programming languages base on lex v0.0.1 originally published by thlorenz10@gmail.com edit by jackyanjiaqi@gmail.com

Homepage

Documentation

API reference

Uploader

jackyanjiaqi@gmail.com

License

BSD (LICENSE)

Dependencies

equatable

More

Packages that depend on lexpro