On Fri, Jan 15, 2010 at 05:04:00PM +0000, David Chisnall wrote: > I have been using the ?toil? style, and rewriting your code to match > it as I go along. The ?toil? style uses tabs for indenting, spaces > for alignment.
The only Etoile style guide I found was about Objective-C, and is, as the introduction tells, derived from other Objective-C style guides. Smalltalk has quite different syntax than Objective-C, and thus usually has a different style, too. For example, I've really _never_ seen [ being put into the next line after ifThen: before. Why don't we just use what pretty printers for all other Smalltalk dialects do, too? Apart from that, mixed coding styles in the same file confuse me a lot. -Guenther > > David > > On 15 Jan 2010, at 17:01, Guenther Noack wrote: > > >Hi David, > > > >I'd be really happy if we could agree on a common coding style for > >Pragmatic Smalltalk. > > > >As I already wrote in the initial commit message of OMGrammar.st, > >I used two spaces for indenting, no lines above 80 characters, one- > >liner > >syntax for short methods, opening square brackets at the end of the > >line. > > > >-Guenther > > > >On Fri, Jan 15, 2010 at 03:07:32PM -0000, David Chisnall wrote: > >>Author: theraven > >>Date: Fri Jan 15 16:07:31 2010 > >>New Revision: 5815 > >> > >>URL: http://svn.gna.org/viewcvs/etoile?rev=5815&view=rev > >>Log: > >>Renamed all of the *Expr classes to *Expression for consistency. > >> > >>Added classes that allow recursive rule invocation with either an > >>arbitrary object or a key from a partial match dictionary. > >> > >>This time, the underlying code really is expressive enough to > >>implement OMeta (modulo a few bugs where classes send parseList: > >>not parseList:withPartialMatch: to nested expressions). > >> > >> > >>Modified: > >> branches/guenther/ObjMeta/OMTest.tool/Resources/OMGrammar.st > >> branches/guenther/ObjMeta/OMTest.tool/Resources/OMTest.st > >> branches/guenther/ObjMeta/OMTest.tool/Resources/OMTestSuite.st > >> > >> > >>_______________________________________________ > >>Etoile-cvs mailing list > >>etoile-...@gna.org > >>https://mail.gna.org/listinfo/etoile-cvs > > > -- Sent from my Apple II > _______________________________________________ Etoile-dev mailing list Etoile-dev@gna.org https://mail.gna.org/listinfo/etoile-dev