Re: Syntax of steve

jon klein <[email protected]>
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On Feb 4, 2004, at 6:19 AM, Jonas Zimmermann wrote:

> is there a definition of steve's syntax, e.g. in Backus-Naur-form? I 
> sometimes run into parse errors which are hard to detect, like in 
> variable declarations:
>
> vecs (CONST1 + CONST2 vectors).

If you download the breve source (currently at version 1.7 -- 1.8 is 
forthcoming), then you can look at the "yacc" file that specifies the 
breve grammar.  The file is called "steveparse.y".

As for the specific error you describe here, it's because you can't 
have any mathematical expressions (CONST1 + CONST2) when giving the 
size of an array.  breve is expecting a single, static number here.

- jon klein

_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.