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:10:40 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 23DCA1624B5; Sun, 24 Jan 2016 23:10:40 -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 D2F0B16112B for ; Sun, 24 Jan 2016 22:02:18 -0500 (EST) References: <871t961ktr.fsf-at-lydrik.home.lan> To: learn-at-nylxs.com From: Ruben Safir X-Forwarded-Message-Id: <871t961ktr.fsf-at-lydrik.home.lan> Message-ID: <56A5903A.6010208-at-mrbrklyn.com> Date: Sun, 24 Jan 2016 22:02:18 -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: <871t961ktr.fsf-at-lydrik.home.lan> Content-Type: multipart/mixed; boundary="------------040705080808040109050602" 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: , Errors-To: learn-bounces-at-nylxs.com Sender: "Learn"
This is a multi-part message in MIME format. --------------040705080808040109050602 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit
-------- Forwarded Message -------- From: 51 2016 <> X-Account-Key: account1 X-UIDL: 00001725561d71fe X-Mozilla-Status: 0013 X-Mozilla-Status2: 00000000 X-Mozilla-Keys: Return-Path: X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from B-EXH-EDGE1.liunet.edu (b-edge1.smtp.liu.edu [148.4.248.206]) by mrbrklyn.com (Postfix) with ESMTP id 2CDCD16112B for ; Sun, 24 Jan 2016 20:58:54 -0500 (EST) Received: from B-EXH-3.liunet.edu (148.4.250.212) by B-EXH-EDGE1.liunet.edu (148.4.248.206) with Microsoft SMTP Server (TLS) id 14.3.210.2; Sun, 24 Jan 2016 20:58:52 -0500 Received: from localhost (70.199.75.253) by B-EXH-3.liunet.edu (148.4.250.212) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Sun, 24 Jan 2016 20:58:53 -0500 From: Christopher League To: Ruben Safir Subject: Re: basics ABC In-Reply-To: <56A57E64.3030708-at-mrbrklyn.com> 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> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu) Date: Sun, 24 Jan 2016 20:58:40 -0500 Message-ID: <871t961ktr.fsf-at-lydrik.home.lan> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="===-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Originating-IP: [70.199.75.253] X-ClientProxiedBy: U-EXH-CAS.liunet.edu (148.4.184.26) To B-EXH-3.liunet.edu (148.4.250.212)
One hint from those lecture notes that is helpful is just the idea of labeling a transition as "other". So in state 2 if you see a `*` go to state 3, but **otherwise** back to state 1. (If-then-else.)
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.
CL
Ruben Safir writes:
> On 01/24/2016 07:39 PM, Christopher League wrote: >> >> P.S., yes it could be deterministic right away, you don't really need a >> non-deterministic version. >> >> CL > > OK - so it is time now for some research and I'm looking at this > > http://williams.comp.ncat.edu/COMP370/FSA.pdf > > and his result seems to be wrong to me, as you can see in the graphic. > He has NO accounting for a reception of another / > (in our case we use ( ) in his comments parsing diagram. > > Did he just simplifiy his example or am I missing some understanding? > > Ruben > >> >> Ruben Safir writes: >> >>> On 01/24/2016 03:06 PM, Christopher League wrote: >>>> Ruben Safir writes: >>>> >>>>> So then gradle compiles and runs? >>>>> >>>> >>>> Well it can be configured to do lots of things, just like `make`. Of >>>> course it's very common to have `make` install, deploy, run tests, >>>> etc... so this is the same sort of thing. >>>> >>>> CL >>>> >>> >>> >>> I'm doing the diagrams for the finite state automaton and for the HW >>> problem and it seems to deterministic (see attached diagram) UNLESS you >>> expect it to fail rather than ignore a recursive comment of (* >>> >>> If it is to make a rejection of syntax of recurrsive comments >>> >>> (* (* fsdf *) *) >>> >>> then I need to rework the Finite State Automata >>> >>> >>> -- >>> 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
--------------040705080808040109050602 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc"
LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIKCmlRRWNC QUVCQ0FBR0JRSldwWUZRQUFvSkVHdUxzejFQTWJDTGFEMEgvM2Zaa2F6Z1hKUjlYZFppNWxn RmZ2WUcKRVRvU1NETG05UGcyaFNNVjBScEdFUUZFU0N6RGlReXl4cXkySUxobDZHOW1VYnhI bW1HYW1ocXM3dldTQVRMVQpMeUpCUzZyd0MySE9DNENrVDNQYW5pK1ZidWFDazhRby9UdEFm dC9aZ1hpdFBoOHNQUDVFbEJLS3FGcmtINGRYClgxamxQMzRsTDM3Tlh2SVRTK0ZFK2lZeElq alczRVFXdVVINTlObnFFMGM0elJhWUlkOEw4MlVPUUd3bmpQdU0KbnAwNXF5dkZWOFlQM1VO VnBrRXpRSkltL2dQVlRoYjY4YkpqWlRsUmN0TUk2Q0NUVU1nMVlyZjVTQlBycHNnSQplK3V6 ZUdzNElwOU5Oa0dlWE9oejdrMXc4MEFBOFEzNzhrNStlMCtIc3QvRmFZcnV4SzFZcmV6VERt ZDFsQXM9Cj1oaUJaCi0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQo= --------------040705080808040109050602 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Learn mailing list Learn-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/learn
--------------040705080808040109050602--
|
|