lexpro 1.1.0+1 copy "lexpro: ^1.1.0+1" to clipboard
lexpro: ^1.1.0+1 copied to clipboard

outdated

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.

3
likes
30
pub points
0%
popularity

Publisher

unverified uploader

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

Homepage

License

BSD-2-Clause (LICENSE)

Dependencies

equatable

More

Packages that depend on lexpro