#sql #highlighter #reedline

reedline_sql_highlighter

A SQL keyword highlighter for reedline

1 unstable release

0.1.0 Mar 7, 2024

#1356 in Database interfaces

MIT license

150KB
118 lines

reedline_sql_highlighter

diagram

A SQL keyword highlighter for reedline.

Compatibility

It uses reedline 0.30.x;

Performance

The implementation is quite in-efficient, it tokenizes the (the whole) input string and highlights the keywords, on every input buffer change.

Dependencies

~7–20MB
~245K SLoC