[BLACKBOX] Announcment: example subsystem Bnf7Ebnf and updated BB Coco

From: [at]} <Carl>
Date: Thu, 27 May 2010 01:12:25 -0700

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

On Helmut Zinn's Component Pasc
Announcement: BlackBox and Coco users:

On Helmut Zinn's Component Pascal Collection website <http://www.zinnamturm.eu/>

there is now posted:

1) an update to BlackBox Coco that features automatic generation of a main driver module. This change should make it signifcantly easier to use BB Coco.                                                                         

2. an example use of BB Coco in subsystem Bnf7: an EBNF pretty-printer (i.e., a simple translator). When supplied an EBNF syntax (CocoL/Wirth style), it will perform a syntax-check on the input and pretty-print it. Included are two sample inputs, one an EBNF for a version of EBNF itself (a meta-grammar) and another an EBNF for Oberon.

The latest version of BB Coco must be installed to use the Bnf7 example.

The Ebnf.atg file used for the examples was originally attributed with a BB version of Pat Terry's PrettyPrint library, using BB StdLog. Prettier is a translation from his PrettyPrint Modula-2 library in his mod2pas.zip (Modula-2 to Turbo-Pascal translator). Prettier is supplied in 2 versions, one with a deferred output buffer and one without the buffer but with text attribute support including hyper-linking.

Thanks to Pat Terry for his permission to use a BB version of his PrettyPrint library module. Thanks to Helmut Zinn for adding hyper-linking to Prettier and attributing the Ebnf.atg grammar accordingly to link together LHS and RHS nonterminals.

Helmut Zinn should receive the thanks of everyone, including me, for his upgrade to BB Coco. I am glad I was able to participate in this effort and appreciate his help and his considerable programming skills.

I am not in a position to individually answer questions about
user-created Coco ATG grammar files. These are more appropriately posted on Google group: comp.compilers. Although I am not necessarily able to answer individual email, I will read all problem reports, and other advice or criticism related to the Bnf7 subsystem example.

Carl





      


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-354374179_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
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CByZWFkIGFsbCBwcm9ibGVtIHJlcG9ydHMsIGFuZCBvdGhlciBhZHZpY2Ugb3Ig
Y3JpdGljaXNtIHJlbGF0ZWQgdG8gdGhlIEJuZjcgc3Vic3lzdGVtIGV4YW1wbGUuXHBhcg0KXHBh
cg0KQ2FybFxwYXINClxwYXINClxwYXINClxwYXINClxwYXINClxwYXINCiAgICAgIFxwYXINClxw
YXINClxwYXINCi0tLS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBi
b2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0h9fQBhUN9+
----boundary-LibPST-iamunique-354374179_-_---
Received on Thu May 27 2010 - 10:12:25 UTC

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