Re: [racket-users] Any place to get keywords and constants of Racket?
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 : > Look in generate-keywords.rkt > > https://github.com/soegaard/racket-highlight-for-github > > 2018-05-05 17:12 GMT+02:00 Shu-Hung You 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 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.
Re: [racket-users] Any place to get keywords and constants of Racket?
Look in generate-keywords.rkt https://github.com/soegaard/racket-highlight-for-github 2018-05-05 17:12 GMT+02:00 Shu-Hung You : > 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 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 -- 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.
Re: [racket-users] Any place to get keywords and constants of Racket?
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 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.
[racket-users] Any place to get keywords and constants of Racket?
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.
[racket-users] Re: [racket] Dr. Racket for iOS
Hi Gregory, I use LispCube (XLISP Scheme) and Gambit on iOS to design the code and test it, then email it to myself and compile in DrRacket with very few changes necessary. I'd love a DrRacket on iOS, or even a simple editor with the Racket compiler embedded. Dexter On Friday, November 15, 2013 at 5:41:49 PM UTC-5, Gregory Gelfond wrote: > Hi All, > > I've been playing with Pythonista for iOS and it's quite a useful app. It > got me thinking however. Are there any plans to bring Dr. Racket (or some > analogous) tool for iOS? > > Thank you kindly, > Gregory Gelfond > -- 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.