[BLACKBOX] Changes to Coco

From: [at]} <Aubrey.McIntosh{>
Date: Mon, 6 Jul 2009 10:09:40 -0500

----boundary-LibPST-iamunique-520487065_-_-
Content-type: text/plain

There is a BB version of Coco. I have made some modifications to it
so that all the scanner variables are in the abstract type Scanner,
and the Parser is an extension of scanner. The productions are all
methods attached to xS.Scanner or xP.Parser.

The move of the global variables into the records allows multiple
instance to be open at once, such as may be useful in writing network
software such as an email receiver.

I did package this and sent it to Helmut and the other people who have
email addresses somewhere in the package for preliminary testing. All
the email except Helmut's bounced, and his role is more publisher than
developer. He wondered if the Coco community thinks it is ready for
distribution.

Helmut did find a trap when there is an input error. I have
reproduced the trap.

I am using it as-is to produce a CSV to SQLight converter in BB and
working with some currency exchange database that interests me. The
Coco changes seem stable. I plan to package the .csv converter, and a
simpler example that color codes terminal and non terminal EBNF
productions in a BB viewer.

So, that is where things sit. I think the BB community doesn't like
to find beta software in the wild, Helmut should receive only stable
software, I would like to send something to a beta tester this week
and/or learn of others who are working with BB/Coco.


On Mon, Jul 6, 2009 at 8:02 AM, Josef
Templ<Josef.Templ{([at]})nowhere.xy
> Since BB is not using Coco, I cannot imagine
> how to get Coco involved here.

> I think it is a hand-coded transformation of the abstract syntax tree
> that the BB compiler is building during parsing.
>
> - JT
>
>
>


-- 
-- 
Aubrey McIntosh, Ph.D.
1502 Devon Circle
Austin TX 78723-1814
http://home.grandecom.net/~amcintosh/aubrey/Search/
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-520487065_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w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 : Thu Sep 26 2013 - 06:30:43 UTC