[BLACKBOX] Coco and methods

From: [at]} <Aubrey.McIntosh{>
Date: Thu, 28 May 2009 10:02:38 -0500

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

I'm at that point in the project when I want to change all the
libraries and tools instead of going ahead with the work in front of
me.

However, this is one change that I think of over and over, so I'll mention it.

I use the object capability in Blackbox a fair amount in my current
approach. I also have a tendency to cast problems as something that
can be approached with a Coco grammar.

I wonder if it makes sense to add some support of type bound methods
to Coco. Possibly something very constrained, such as

PRODUCTIONS
    scanner.Key = ident.
    scanner.Value = number.
    scanner.Entry = scanner.Key "=" scanner.Value.

Where the scanner base is implicitly defined in the Scanner module,
and extended in the parser module.

-- 
-- 
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-1950624066_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEknbSBhdCB0aGF0IHBvaW50IGluIHRoZSBwcm9q
ZWN0IHdoZW4gSSB3YW50IHRvIGNoYW5nZSBhbGwgdGhlXHBhcg0KbGlicmFyaWVzIGFuZCB0b29s
cyBpbnN0ZWFkIG9mIGdvaW5nIGF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GV2b24gQ2lyY2xlXHBhcg0KQXVzdGluIFRYIDc4NzIzLTE4MTRccGFyDQpo
dHRwOi8vaG9tZS5ncmFuZGVjb20ubmV0L35hbWNpbnRvc2gvYXVicmV5L1NlYXJjaC9ccGFyDQpc
cGFyDQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGgg
Ym9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIfX0AWCIg
dA==
----boundary-LibPST-iamunique-1950624066_-_---
Received on Thu May 28 2009 - 17:02:38 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:46 UTC