Re: [racket-users] Clearer code in DrRacket?
Looks interesting. Do you know any package of this type for DrRacket (or another program) that works semantically while you program? (not just as a checking tool like View Syntax) --Adam. On Fri, Oct 9, 2020 at 7:48 PM Shu-Hung You wrote: > Here is an example that provides different colors for some particular > forms such as define, require, lambda etc. However, these forms > ('keywords') are recognized literally by the lexer instead of > semantically as in Check Syntax. Therefore it will classify > non-keywords as keywords from time to time. > https://github.com/shhyou/drracket-scheme-dark-green > > More color schemes can be found here: > https://pkgd.racket-lang.org/pkgn/search?tags=colorscheme > > On Fri, Oct 9, 2020 at 9:12 AM Adam El Mazouari > wrote: > > > > An example is this: > > > > (define (square-all lst) (if (null? lst) > > > > '() > > (cons (square (car lst)) > > > > (square-all (cdr lst) > > > > > > As you can see, you've got: > > > > methods included by default (define, cons) > > booleans (null?) > > user-introduced vars (lst) > > > > shown in the same color. It's really not clear. I'd like for them to be > in different colors. > > > > --Adam. > > > > On Fri, Oct 9, 2020 at 3:35 PM Sam Tobin-Hochstadt > wrote: > >> > >> Can you give an example of which things you'd like to be different? We > >> usually use "variable" and "identifier" for very similar meanings when > >> discussing Racket, for example. > >> > >> Sam > >> > >> On Fri, Oct 9, 2020 at 8:16 AM Adam El Mazouari > >> wrote: > >> > > >> > Hello everyone. > >> > > >> > I've started using DrRacket a couple of weeks ago and I can't get > used to the color theme. Variables, identifiers, methods, all of them are > in blue. It's really unintuitive. Does anybody know a good plugin that > differentiates these in a clear way for the human eye? > >> > > >> > Or, if you know something better than DrRacket in that regard, feel > free to write down. > >> > > >> > Thanks in advance! > >> > > >> > Adam > >> > > >> > -- > >> > 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. > >> > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/0ddf205e-c461-40d3-857b-4b5f75e60284n%40googlegroups.com > . > > > > -- > > 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. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/CAEGV_UybZ_m15Np%2BrJ51JWPhVkMhahESp9pRUet1%3DOTG5YOddQ%40mail.gmail.com > . > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAEGV_Uwn0giLDHLdqhbX07kMgMLOKvyukpEUBY3Dj7ZqmfqBCA%40mail.gmail.com.
Re: [racket-users] Clearer code in DrRacket?
... and what is this thing exactly? --Adam. On Fri, Oct 9, 2020 at 4:15 PM Jason Hemann wrote: > https://racket-mode.com/ > > > > ¯\_(ツ)_/¯ > > JBH > > On Fri, Oct 9, 2020 at 10:12 AM Adam El Mazouari < > adam.elmazou...@gmail.com> wrote: > >> An example is this: >> >> (define (square-all lst) (if (null? lst) >> >> '() >> (cons (square (car lst)) >> >> (square-all (cdr lst) >> >> As you can see, you've got: >> >>- methods included by default (define, cons) >>- booleans (null?) >>- user-introduced vars (lst) >> >> shown in the same color. It's really not clear. I'd like for them to be >> in different colors. >> >> --Adam. >> >> On Fri, Oct 9, 2020 at 3:35 PM Sam Tobin-Hochstadt >> wrote: >> >>> Can you give an example of which things you'd like to be different? We >>> usually use "variable" and "identifier" for very similar meanings when >>> discussing Racket, for example. >>> >>> Sam >>> >>> On Fri, Oct 9, 2020 at 8:16 AM Adam El Mazouari >>> wrote: >>> > >>> > Hello everyone. >>> > >>> > I've started using DrRacket a couple of weeks ago and I can't get used >>> to the color theme. Variables, identifiers, methods, all of them are in >>> blue. It's really unintuitive. Does anybody know a good plugin that >>> differentiates these in a clear way for the human eye? >>> > >>> > Or, if you know something better than DrRacket in that regard, feel >>> free to write down. >>> > >>> > Thanks in advance! >>> > >>> > Adam >>> > >>> > -- >>> > 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. >>> > To view this discussion on the web visit >>> https://groups.google.com/d/msgid/racket-users/0ddf205e-c461-40d3-857b-4b5f75e60284n%40googlegroups.com >>> . >>> >> -- >> 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. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/racket-users/CAEGV_UybZ_m15Np%2BrJ51JWPhVkMhahESp9pRUet1%3DOTG5YOddQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/racket-users/CAEGV_UybZ_m15Np%2BrJ51JWPhVkMhahESp9pRUet1%3DOTG5YOddQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > JBH > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAEGV_Uz05Xjg6z3S_MavqZeKh2QFkH6usnF9cdFUGZ5dtRGHqA%40mail.gmail.com.
Re: [racket-users] Clearer code in DrRacket?
An example is this: (define (square-all lst) (if (null? lst) '() (cons (square (car lst)) (square-all (cdr lst) As you can see, you've got: - methods included by default (define, cons) - booleans (null?) - user-introduced vars (lst) shown in the same color. It's really not clear. I'd like for them to be in different colors. --Adam. On Fri, Oct 9, 2020 at 3:35 PM Sam Tobin-Hochstadt wrote: > Can you give an example of which things you'd like to be different? We > usually use "variable" and "identifier" for very similar meanings when > discussing Racket, for example. > > Sam > > On Fri, Oct 9, 2020 at 8:16 AM Adam El Mazouari > wrote: > > > > Hello everyone. > > > > I've started using DrRacket a couple of weeks ago and I can't get used > to the color theme. Variables, identifiers, methods, all of them are in > blue. It's really unintuitive. Does anybody know a good plugin that > differentiates these in a clear way for the human eye? > > > > Or, if you know something better than DrRacket in that regard, feel free > to write down. > > > > Thanks in advance! > > > > Adam > > > > -- > > 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. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/0ddf205e-c461-40d3-857b-4b5f75e60284n%40googlegroups.com > . > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAEGV_UybZ_m15Np%2BrJ51JWPhVkMhahESp9pRUet1%3DOTG5YOddQ%40mail.gmail.com.
[racket-users] Clearer code in DrRacket?
Hello everyone. I've started using DrRacket a couple of weeks ago and I can't get used to the color theme. Variables, identifiers, methods, all of them are in blue. It's really unintuitive. Does anybody know a good plugin that differentiates these in a clear way for the human eye? Or, if you know something better than DrRacket in that regard, feel free to write down. Thanks in advance! Adam -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/0ddf205e-c461-40d3-857b-4b5f75e60284n%40googlegroups.com.