Home > Archive > Tcl > June 2007 > Re: tcllib grammar::peg
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: tcllib grammar::peg
|
|
| Nick Hounsome 2007-06-03, 4:17 am |
| On 1 Jun, 11:11, schl...@uni-oldenburg.de wrote:
> Nick Hounsome schrieb:
>
>
>
> IIRC its used in the 'page' application in tcllib/tclapps. The grammar
> stuff is Andreas Kupries baby, he might give advice how to use it.
>
> Michael
I wonder why ActiveState put it in their binary distribution if it is
so little used?
My main motivation for originally posing the question is that I'm
currently playing around on windows and IMHO the main benefit of TCL
is being able to give someone a short script and a pointer to
ActiveState or similar and they can get on with it without any
compilation and without me having to produce any binaries.
What I want it for is this:
I'm playing around with graphviz (www.graphviz.org) and tcldot is not
supported in windows.
Yes I know that there is http://www.isn-oldenburg.de/~schlenk/tcl/tcldot
but I thought that a simpler solution would be to just use the dot
exes as filters as one option (-Tdot) gives the coordinates for
everything so if I parse it then translation to canvas should be easy.
I would LIKE to use the full generality of the dot language
(www.graphviz.org/doc/info/lang.html) but it seems to be too general
for simple regsub tricks although they could work OK for self
generated graphs where I can use a simple form.
| |
| Michael Schlenker 2007-06-03, 10:07 pm |
| Nick Hounsome schrieb:
> On 1 Jun, 11:11, schl...@uni-oldenburg.de wrote:
>
> I wonder why ActiveState put it in their binary distribution if it is
> so little used?
Its part of tcllib and their apps (i don't remember exactly where), and
Andreas is the main maintainer, contributor to tcllib, so its quite
natural thats included (as he is at ActiveState too).
>
> My main motivation for originally posing the question is that I'm
> currently playing around on windows and IMHO the main benefit of TCL
> is being able to give someone a short script and a pointer to
> ActiveState or similar and they can get on with it without any
> compilation and without me having to produce any binaries.
You know about starkits, right?
>
> What I want it for is this:
>
> I'm playing around with graphviz (www.graphviz.org) and tcldot is not
> supported in windows.
>
> Yes I know that there is http://www.isn-oldenburg.de/~schlenk/tcl/tcldot
> but I thought that a simpler solution would be to just use the dot
> exes as filters as one option (-Tdot) gives the coordinates for
> everything so if I parse it then translation to canvas should be easy.
>
> I would LIKE to use the full generality of the dot language
> (www.graphviz.org/doc/info/lang.html) but it seems to be too general
> for simple regsub tricks although they could work OK for self
> generated graphs where I can use a simple form.
Ok, graphviz on windows. I don't have my vc6 setup anymore, but to make
tcldot on windows working in a starkit isn't that hard in principle.
- Build tcldot statically (with the right compiler options) with
freetype and libz included
- your done...
Michael
|
|
|
|
|