----- Original Message -----
| From: "Paul van Tilburg" <[email protected]>
| To: [email protected]
| Sent: Sunday, November 5, 2017 8:00:19 AM
| Subject: [vile] Rust syntax highlighting
| 
| Hey all,
| 
| Back in the day I worked on Ruby syntax highlighting, but...
| I just cannot remember how this was approached.
| 
| Currently I am working on some Rust programs which Vile has no
| higlighting for at the moment.  So, I'm wondering...  what do we
| need?
| A keywords file, and some parser similar to the Ruby one?

yes.  I haven't looked to see what Rust's syntax looks like,
but the complication with Ruby (less extreme than Perl) is that
you can have regular expressions in the source with little clue
where the expression starts.

keywords are relatively simple, though it's surprising how hard it
can be to pry that information out of online documentation :-)

(I've been preoccupied with a large effort in ncurses, but can advise
and perhaps be helpful in this).

-- 
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net

_______________________________________________
vile mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/vile

Reply via email to