Re: [racket-users] Style guide linter

2018-03-11 Thread Robby Findler
Oh, yes: I agree with *very cool*!

Robby

On Sun, Mar 11, 2018 at 3:58 PM, Matthias Felleisen
 wrote:
>
> On Mar 11, 2018, at 4:33 PM, 'Paulo Matos' via Racket Users
>  wrote:
>
> Hi,
>
> I found the style guide a really great idea and generally very useful
> (although it's a shame the lack of content on the section of classes).
>
>
>
> Well, I thought of writing one but what came about was this:
>
>  http://felleisen.org/matthias/Class/programming-with-class/
>
> which isn’t a style guide but an essay on first-class classes.
>
>
> I have started a small script to check source code style based on the style
> guide. Simple things like spaces at the end of lines, lack of newline at the
> end of file, lines longer than 102 chars etc. However, I would like to know
> if there's anything already out there before I try to get more complex
> features implemented.
>
>
>
> As Robby says, some very basic style guide thingies are available in
> DrRacket. Many are not.
>
> Leif A. has implemented an indentation checker that takes into account the
> preferences somewhat.
>
> Combining all these pieces into a style checker tool would be __really
> cool__.
>
> — Matthias
>
> --
> 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.


Re: [racket-users] Style guide linter

2018-03-11 Thread Matthias Felleisen

> On Mar 11, 2018, at 4:33 PM, 'Paulo Matos' via Racket Users 
>  wrote:
> 
> Hi,
> 
> I found the style guide a really great idea and generally very useful 
> (although it's a shame the lack of content on the section of classes).


Well, I thought of writing one but what came about was this: 

 http://felleisen.org/matthias/Class/programming-with-class/ 


which isn’t a style guide but an essay on first-class classes. 


> I have started a small script to check source code style based on the style 
> guide. Simple things like spaces at the end of lines, lack of newline at the 
> end of file, lines longer than 102 chars etc. However, I would like to know 
> if there's anything already out there before I try to get more complex 
> features implemented.


As Robby says, some very basic style guide thingies are available in DrRacket. 
Many are not. 

Leif A. has implemented an indentation checker that takes into account the 
preferences somewhat. 

Combining all these pieces into a style checker tool would be __really cool__. 

— Matthias

-- 
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] Style guide linter

2018-03-11 Thread Robby Findler
At least for those three, DrRacket does the 102 thing for you and git
does the line/file ending thing.

Robby


On Sun, Mar 11, 2018 at 3:33 PM, 'Paulo Matos' via Racket Users
 wrote:
> Hi,
>
> I found the style guide a really great idea and generally very useful 
> (although it's a shame the lack of content on the section of classes).
> I have started a small script to check source code style based on the style 
> guide. Simple things like spaces at the end of lines, lack of newline at the 
> end of file, lines longer than 102 chars etc. However, I would like to know 
> if there's anything already out there before I try to get more complex 
> features implemented.
>
> Kind regards,
>
> --
> Paulo Matos
>
> --
> 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] Style guide linter

2018-03-11 Thread 'Paulo Matos' via Racket Users
Hi,

I found the style guide a really great idea and generally very useful (although 
it's a shame the lack of content on the section of classes).
I have started a small script to check source code style based on the style 
guide. Simple things like spaces at the end of lines, lack of newline at the 
end of file, lines longer than 102 chars etc. However, I would like to know if 
there's anything already out there before I try to get more complex features 
implemented.

Kind regards,

-- 
Paulo Matos

-- 
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.