The reason I want the BNF description is that I want to _attempt_ a java lexer 
and parser that will trace the execution flow of a given subroutine and emit 
some documentation fragments that I can then use to make a flow chart. I am 
particulary interested in documenting all the logical evaluations that occur at 
IF...THEN,  CASE, LOCATE ... THEN,  WHILE, UNTIL, etc that lead to certain 
database actions. I want to be able to say for example for field X of file Y to 
be update in routine ABC conditions 1 2 3 should have been met.



----- Original Message ----
From: Martin Phillips <martinphill...@ladybridge.com>
To: U2 Users List <u2-users@listserver.u2ug.org>
Sent: Wednesday, 5 August, 2009 10:02:01
Subject: Re: [U2] INFO BASIC BNF Spec

Hi Marco,

> Can anyone please help me with the full BNF spec for the structure
> of an INFO BASIC program?

I have never seen the language described in BNF. Perhaps one reason is that is 
is ambiguous in a few places. The most obvious example is
  A = B<C> + 1
where the < > could be field expression delimiters or could be relational 
operators.

Out of interest, why are you looking for a BNF definition?


Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200 
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users



      
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to