Looking at the documentation of ACE: It seems it is possible to
import TextMate / Sublime Grammars. Therefore I think you can
use the files used for the Github highlighting directly.

/Jens Axel


2018-05-05 17:32 GMT+02:00 Jens Axel Søgaard <jensa...@soegaard.net>:

> Look in generate-keywords.rkt
>
> https://github.com/soegaard/racket-highlight-for-github
>
> 2018-05-05 17:12 GMT+02:00 Shu-Hung You <shu-hung.you@eecs.
> northwestern.edu>:
>
>> Here's a list of *some* keywords and regular expressions used by
>> DrRacket, from line 387 to line 477:
>> https://github.com/racket/gui/blob/master/gui-lib/framework/
>> private/main.rkt#L387
>>
>>
>>
>> On Sat, May 5, 2018 at 9:44 AM, piv det <piv...@gmail.com> wrote:
>> > I want to write a Racket mode for ace,
>> >
>> > Relate issue: https://github.com/ajaxorg/ace/issues/3659
>> >
>> > I was wondering if maybe I could find the full list of keywords of
>> Racket.
>> >
>> > The example of scheme language would be:
>> >
>> >             var e = "case|do|let|loop|if|else|when",
>> >                 t = "eq?|eqv?|equal?|and|or|not|null?",
>> >                 n = "#t|#f",
>> >                 r =
>> > "cons|car|cdr|cond|lambda|lambda*|syntax-rules|format|set!|
>> quote|eval|append|list|list?|member?|load",
>> >                 i = this.createKeywordMapper({
>> >                     "keyword.control": e,
>> >                     "keyword.operator": t,
>> >                     "constant.language": n,
>> >                     "support.function": r
>> >                 }, "identifier", !0);
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "Racket Users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an
>> > email to racket-users+unsubscr...@googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to racket-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> --
> Jens Axel Søgaard
>
>


-- 
-- 
Jens Axel Søgaard

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to