Thanks Paul
I will be going over your code today. I started looking at Pyparsing
last night
and it just got to late and my brain started to fog over. I would
really like
to thank you for taking the time to provide me with the code sample
I'm sure it
will really help. Again thank you very much.
On Nov 16, 9:57 pm, Lawrence D'Oliveiro <[EMAIL PROTECTED]
central.gen.new_zealand> wrote:
> len wrote:
> > if fieldline.count('COMP.') > 0:
>
> I take it you're only handling a particular subset of COBOL constructs: thus,
> "COMP" is never "COMPUTATIONAL" or "USAGE IS COMPUTATIONAL", and it a
On Nov 16, 12:53 pm, len <[EMAIL PROTECTED]> wrote:
> On Nov 16, 12:40 pm, "Mark Tolonen" <[EMAIL PROTECTED]> wrote:
>
>
> > You might want to check out the pyparsing library.
>
> > -Mark
>
> Thanks Mark I will check in out right now.
>
> Len
Len -
Here is a rough pyparsing starter for your probl
On Nov 17, 7:11 pm, Lawrence D'Oliveiro <[EMAIL PROTECTED]
central.gen.new_zealand> wrote:
> Mark Tolonen wrote:
> > Point taken...or I could top post ;^)
>
> A: A Rolls seats six.
> Q: What's the saddest thing about seeing a Rolls with five top-posters in it
> going over a cliff?
+1 but you forg
Mark Tolonen wrote:
> Point taken...or I could top post ;^)
A: A Rolls seats six.
Q: What's the saddest thing about seeing a Rolls with five top-posters in it
going over a cliff?
--
http://mail.python.org/mailman/listinfo/python-list
"Steve Holden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Mark Tolonen wrote:
"len" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[...]
You might want to check out the pyparsing library.
And you might want to trim your messages to avoid quoting irrelevant
s
len wrote:
> if fieldline.count('COMP.') > 0:
I take it you're only handling a particular subset of COBOL constructs: thus,
"COMP" is never "COMPUTATIONAL" or "USAGE IS COMPUTATIONAL", and it always
occurs just before the full-stop (can't remember enough COBOL syntax to be
sure if anythin
Mark Tolonen wrote:
>
> "len" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
[...]
>
> You might want to check out the pyparsing library.
>
And you might want to trim your messages to avoid quoting irrelevant
stuff. This is not directed personally at Mark, but at all readers.
Loa
On Nov 16, 12:40 pm, "Mark Tolonen" <[EMAIL PROTECTED]> wrote:
> "len" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
>
>
>
>
> >I have created the following program to read a text file which happens
> > to be a cobol filed definition. The program then outputs to a file
> > what
"len" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I have created the following program to read a text file which happens
to be a cobol filed definition. The program then outputs to a file
what is essentially a file which is a list definition which I can
later
copy and past into
I have created the following program to read a text file which happens
to be a cobol filed definition. The program then outputs to a file
what is essentially a file which is a list definition which I can
later
copy and past into a python program. I will eventually expand the
program
to also outpu
11 matches
Mail list logo