From dev-return-6039-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Thu May 19 21:31:28 2005 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 34398 invoked from network); 19 May 2005 21:31:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 May 2005 21:31:27 -0000 Received: (qmail 45478 invoked by uid 500); 19 May 2005 21:23:07 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 45408 invoked by uid 500); 19 May 2005 21:23:07 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 45367 invoked by uid 99); 19 May 2005 21:23:07 -0000 X-ASF-Spam-Status: No, hits=-8.1 required=10.0 tests=ALL_TRUSTED,HTML_40_50,HTML_MESSAGE,HTML_TITLE_EMPTY,RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ss53.shared.server-system.net (HELO ss53.shared.server-system.net) (72.10.34.2) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 19 May 2005 14:22:16 -0700 Received: from [192.168.1.100] (cpe-66-108-84-172.nyc.res.rr.com [66.108.84.172]) (authenticated (0 bits)) by ss53.shared.server-system.net (8.11.6/8.11.6) with ESMTP id j4JLLoF16572 for ; Thu, 19 May 2005 14:21:50 -0700 Message-ID: <428D0345.3090605@toolazydogs.com> Date: Thu, 19 May 2005 17:21:09 -0400 From: "Alan D. Cabrera" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: Stub compiler... References: <73A906E674C914469932E3AE90010A97E380B6@postman.smarttrust.com> In-Reply-To: <73A906E674C914469932E3AE90010A97E380B6@postman.smarttrust.com> Content-Type: multipart/alternative; boundary="------------030909030008060708050808" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------030909030008060708050808 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit On 5/19/2005 11:35 AM, Jesper Söderlund wrote: > Hi All, > I know I was adviced by some people on this list to do BER coding / > decoding by hand, but I tried to make it run with the stub compiler > nontheless. > > Needless to say I was not successful :( > > I made a pretty simple approach in running the test since I could find > no main-class driving the stub compiler I piggy backed on one of the > unittestest "CompilerTest" and changed to my grammar instread. > > The error I received was > > ------------- Standard Error ----------------- > line 5:1: unexpected token: EXPORTS > ------------- ---------------- --------------- > > so it choked right at the beginning. > > So I wanted to get your advice on whether it's feasible to get the > following grammar through the stub-compiler or if it's totally out of > scope. > > Perhaps there's a better way to run the stub-compiler than from the > unit test which would make it more compliant? > The stub compiler is not complete and represents my good intentions. Seriously, we welcome anyone who is remotely interested in helping out w/ this. Regards, Alan --------------030909030008060708050808 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 5/19/2005 11:35 AM, Jesper Söderlund wrote:
Stub compiler...

Hi All,
I know I was adviced by some people on this list to do BER coding / decoding by hand, but I tried to make it run with the stub compiler nontheless.

Needless to say I was not successful :(

I made a pretty simple approach in running the test since I could find no main-class driving the stub compiler I piggy backed on one of the unittestest "CompilerTest" and changed to my grammar instread.

The error I received was

------------- Standard Error -----------------
line 5:1: unexpected token: EXPORTS
------------- ---------------- ---------------

so it choked right at the beginning.

So I wanted to get your advice on whether it's feasible to get the following grammar through the stub-compiler or if it's totally out of scope.

Perhaps there's a better way to run the stub-compiler than from the unit test which would make it more compliant?

The stub compiler is not complete and represents my good intentions.

Seriously, we welcome anyone who is remotely interested in helping out w/ this.


Regards,
Alan


--------------030909030008060708050808--