[ibis-macro] Re: FW: AMI BNF issue

  • From: Mike Steinberger <msteinb@xxxxxxxxxx>
  • To: Arpad_Muranyi@xxxxxxxxxx
  • Date: Mon, 06 Jul 2009 22:16:25 -0400

Short answer: They're right that the Table format as defined doesn't quite work. To be compliant with the BNF definition of the syntax, the word "Format" needs to be removed at the very least. Beyond that, it takes a pretty contorted interpretation to get the rest of the construction to comply with the syntax. Let's face it- We didn't get this one quite right the first time around.


Mike S.

Muranyi, Arpad wrote:
Here is another question the parser developer is
asking us to resolve. I will put this on the
agenda for our next meeting.
Thanks,
Arpad
=================================================

*From:* Atul Agarwal [mailto:atul@xxxxxxxxxxxxxxx]
*Sent:* Thursday, July 02, 2009 8:32 AM
*To:* Mirmak, Michael
*Subject:* AMI BNF issue

Hello Michael

The AMI BNF in the spec is as follows:

| <tree>:

| <branch>

|

| <branch>:

| ( <branch name> <leaf list> )

|

| <leaf list>:

| <branch>

| <leaf>

| <leaf list> <branch>

| <leaf list> <leaf>

|

| <leaf>:

| ( <parameter name> whitespace <value list> )

|

| <value list>:

| <value>

| <value list> whitespace <value>

| <value>:

| <string literals>

| <decimal number>

| <decimal number>e<exponent>

| <decimal number>E<exponent>

As per the above BNF, the Format = Table syntax is invalid. The “Table” token is unacceptable. A list is expected in its place.

(Format Table

(Labels Row_No Time Probability)

(-5 -5e-12 1e-10)

(-4 -4e-12 3e-7)

(4 4e-12 3e-7)

(5 5e-12 1e-10)

)

I am holding off the Table implementation until this is resolved. Hope that is OK.

Atul


---------------------------------------------------------------------
IBIS Macro website  :  http://www.eda.org/pub/ibis/macromodel_wip/
IBIS Macro reflector:  //www.freelists.org/list/ibis-macro
To unsubscribe send an email:
 To: ibis-macro-request@xxxxxxxxxxxxx
 Subject: unsubscribe

Other related posts: