Highlighter for Racket or Typed Racket

Announcements, comments, ideas, feedback, and "How do I... ?" questions
Post Reply
User avatar
Posts: 2
Joined: Sat Dec 12, 2015 4:09 am

Highlighter for Racket or Typed Racket

Post by Kenya_A » Mon Jun 11, 2018 9:12 pm

Could the syntax highlighter be improved for racket/typed racket?.
p55highlight.png (285.6 KiB) Viewed 4253 times
- 'for' is highlighted in purple, and the overall comment is he same colour as the background
- 'number', just a word in the commeents, is recognized as a special word, but of the same kind as 'num', which is a variable name, 'local, which is a racket keyword, and '9', which is just a number

For contrast, here is one way that Racket recognizes the differences among types of terms (This is Dr Racket, with white on black colour scheme)
rackhigh.png (234.77 KiB) Viewed 4252 times
rackhigh.png (234.77 KiB) Viewed 4253 times
8-) 835410_BD2wXg2iurN8FEuwdp659qnINUNqNKbA :lol:

Post Reply