MESSAGE
DATE | 2016-01-24 |
FROM | Ruben Safir
|
SUBJECT | Subject: [Learn] Fwd: Re: basics ABC
|
From learn-bounces-at-nylxs.com Sun Jan 24 23:11:13 2016 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www.mrbrklyn.com (www.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 410351624C9; Sun, 24 Jan 2016 23:11:12 -0500 (EST) X-Original-To: learn-at-nylxs.com Delivered-To: learn-at-nylxs.com Received: from [10.0.0.19] (stat13.mrbrklyn.com [10.0.0.19]) by mrbrklyn.com (Postfix) with ESMTP id 348C916112B for ; Sun, 24 Jan 2016 22:03:48 -0500 (EST) References: <56A58AC0.4090102-at-mrbrklyn.com> To: learn-at-nylxs.com From: Ruben Safir X-Forwarded-Message-Id: <56A58AC0.4090102-at-mrbrklyn.com> Message-ID: <56A59094.6050109-at-mrbrklyn.com> Date: Sun, 24 Jan 2016 22:03:48 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <56A58AC0.4090102-at-mrbrklyn.com> Subject: [Learn] Fwd: Re: basics ABC X-BeenThere: learn-at-nylxs.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: learn-bounces-at-nylxs.com Sender: "Learn"
-------- Forwarded Message -------- From: 56 2016 <> X-Mozilla-Status: 0001 X-Mozilla-Status2: 00800000 X-Mozilla-Keys: Subject: Re: basics ABC To: Christopher League References: <56A49DA4.2050506-at-mrbrklyn.com> <8737tn2hw5.fsf-at-lydrik.home.lan> <56A4F136.1030907-at-mrbrklyn.com> <87lh7e214l.fsf-at-lydrik.home.lan> <56A56A89.6070201-at-mrbrklyn.com> <874me21ohi.fsf-at-lydrik.home.lan> <56A57E64.3030708-at-mrbrklyn.com> <871t961ktr.fsf-at-lydrik.home.lan> <56A586EB.5090107-at-mrbrklyn.com> <87vb6iz8vn.fsf-at-lydrik.home.lan> From: Ruben Safir Message-ID: <56A58AC0.4090102-at-mrbrklyn.com> Date: Sun, 24 Jan 2016 21:38:56 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <87vb6iz8vn.fsf-at-lydrik.home.lan> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit
On 01/24/2016 09:32 PM, Christopher League wrote: > > NICE...! You just came up with a test case that broke *my* solution. I > failed to consider that. So I just pushed two new tests:
I haven't coded a damn thing yet, just played with the pretty pictures according to the instructions.
> > -at-Test > public void testCommentDoubleParen() { > assertChanged( > "Hello ((*comment*))okay", > "Hello ()okay" > ); > } > > -at-Test > public void testCommentDoubleStar() { > assertChanged( > "Hello (*comment**)okay", > "Hello okay" > ); > } > > and now I'll be fixing my solution. > > But yes it seems like you're on the right track... multiple open-parens > should stay in the same state. > > CL > > > Ruben Safir writes: > >> On 01/24/2016 08:58 PM, Christopher League wrote: >>> As for as supporting another `/` in the midst of a comment, I think >>> that's handled by the outgoing "other" from state 3. So state 3 >>> represents that we're in the body of the comment. The only way to get >>> out of that is by finding a `*` -- anything else stays in state 3. >> >> >> right but the problem is in state Two. In State two we are NOT yet in >> the body of the comment. we just have a single / which might be part of >> a comment delimiter, or might not be, depending on what is to follow. >> >> Now, if I get an OTHER which is not a * and not a / (if other is defined >> as such), then fine, back to stage 1. If we get a * - Up to stage 3. >> BUT, if we get a another /, we should not be at state 1, but still at >> state two! >> >> Nuh? >> >> In L1 we are looping 1's in stage 1. I'm thinking I have to loop ( at >> stage 2 and I'm not sure what is the difference. >> >> >> >> -- >> So many immigrant groups have swept through our town >> that Brooklyn, like Atlantis, reaches mythological >> proportions in the mind of the world - RI Safir 1998 >> http://www.mrbrklyn.com >> >> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 >> http://www.nylxs.com - Leadership Development in Free Software >> http://www2.mrbrklyn.com/resources - Unpublished Archive >> http://www.coinhangout.com - coins! >> http://www.brooklyn-living.com >> >> Being so tracked is for FARM ANIMALS and and extermination camps, >> but incompatible with living as a free human being. -RI Safir 2013 >
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
_______________________________________________ Learn mailing list Learn-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/learn
|
|