Pretty 0.3.1 released

Changes:
- Code is now using rules files to parse files specified by user
- Rules fixed

Usage: pretty [-language] filename(-s)

Project now need people who will write rules files for another
languages. This is rule file for Ruby:

line.size > 80 !!! Too long line
line =~ /^;/ !!! Don't use ;
line =~ /[$]\w+/ !!! Using global variables is not good idea except that
you are using special variables like $_

If you write rule file for some language please post it to this forum. I
will add ot to project immediately.

···

--
Posted via http://www.ruby-forum.com/.

Is there somewhere I can download this?

···

On Tue, Aug 19, 2008 at 7:03 AM, Mateusz Tybura <wujciol@gmail.com> wrote:

Changes:
- Code is now using rules files to parse files specified by user
- Rules fixed

Usage: pretty [-language] filename(-s)

--
Avdi

Home: http://avdi.org
Developer Blog: Avdi Grimm, Code Cleric
Twitter: http://twitter.com/avdi
Journal: http://avdi.livejournal.com

Changes:
- Code is now using rules files to parse files specified by user
- Rules fixed

Usage: pretty [-language] filename(-s)

Project now need people who will write rules files for another
languages. This is rule file for Ruby:

line.size > 80 !!! Too long line
line =~ /^;/ !!! Don't use ;

really = %{code
; comment
}

line =~ /[$]\w+/ !!! Using global variables is not good idea except that
you are using special variables like $_

are_you_sure = "Make some $money"

Robert

···

On Tue, Aug 19, 2008 at 1:03 PM, Mateusz Tybura <wujciol@gmail.com> wrote:
--
http://ruby-smalltalk.blogspot.com/

There's no one thing that's true. It's all true.
--
Ernest Hemingway

Avdi Grimm wrote:

···

On Tue, Aug 19, 2008 at 7:03 AM, Mateusz Tybura <wujciol@gmail.com> > wrote:

Changes:
- Code is now using rules files to parse files specified by user
- Rules fixed

Usage: pretty [-language] filename(-s)

Is there somewhere I can download this?

--
Avdi

Home: http://avdi.org
Developer Blog: Avdi Grimm, Code Cleric
Twitter: http://twitter.com/avdi
Journal: http://avdi.livejournal.com

You can download it from http://rubyforge.org/projects/pretty/
or just install: gem install pretty
--
Posted via http://www.ruby-forum.com/\.

Thanks :slight_smile: Might want to include that info in future announcements...

···

On Tue, Aug 19, 2008 at 1:38 PM, Mateusz Tybura <wujciol@gmail.com> wrote:

You can download it from http://rubyforge.org/projects/pretty/
or just install: gem install pretty

--
Avdi

Home: http://avdi.org
Developer Blog: Avdi Grimm, Code Cleric
Twitter: http://twitter.com/avdi
Journal: http://avdi.livejournal.com