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.

Libraries

coffeescript
dart
dart_head
dart_head_import
dart_import
javascript
lexer
lexer
main
poprouter
remote_command_line
token
tools
types
typescript
unistring
unprocessed_token