Top Graphic
Ikayzo.org LogoHomeMissionCriteriaPeopleNews
EnglishJapanese

What's New
SDL
08.11.05 SDL is voted in by the review board.

Ikayzo.org Launch
06.24.05 Ikayzo.org, a global professional open source community is launched!

Beanshell
06.10.05 Beanshell joins BeanShell on the Ikayzo.org project list.
OSS Sites
Other great open source sites
  SourceForge
  CodeHaus
Discussion: [Sdl-developers] ABNF Grammar

[Sdl-developers] ABNF Grammar

J. David Beutel
Mon Jan 8 09:09:08 HST 2007


Java defines two separate grammars: lexical and syntactic.  The comments 
are in the lexical grammar, along with Unicode escapes and whitespace.  
It's applied separately, before the syntactic grammar.

http://java.sun.com/docs/books/jls/third_edition/html/grammars.html#151185

I guess this follows the tradition of Lex and Yacc, and many languages 
do it the same way.  I would have assumed that the distinction was for 
performance reasons, but since performance is so much better nowadays, I 
guess it also makes it easier to understand.

So I wouldn't worry about unifying it for SDL.

Cheers,
11011011

"Jesse Weaver" <pianohacker at gmail.com> wrote on Monday, January 08, 2007 
08:06:27:
> I guess it'll have to be. Thanks for the advice, all.
>
> On 1/8/07, *Daniel Leuck* <dan at ikayzo.com <mailto:dan at ikayzo.com>> wrote:
>
>     Hi Eric,
>
>      
>
>     Thank you for the feedback.  Jesse - perhaps your comment above
>     the definition noting that multi-line comments are not covered is
>     sufficient.
>
>
>
>     _______________________________________________
>     Sdl-developers mailing list
>     Sdl-developers at ikayzo.org <mailto:Sdl-developers at ikayzo.org>
>     http://ml.ikayzo.org/mailman/listinfo/sdl-developers
>
>
>
>
> -- 
> Jesse
>
> -----------
> There is a theory which states that if anybody ever discovers exactly 
> what the Universe is for and why it is here, it will instantly 
> disappear and be replaced by something even more bizarre and 
> inexplicable. There is another theory which states that this has 
> already happened. - Douglas Adams, author of Hitchhiker's Guide to the 
> Galaxy
> ------------------------------------------------------------------------
>
> _______________________________________________
> Sdl-developers mailing list
> Sdl-developers at ikayzo.org
> http://ml.ikayzo.org/mailman/listinfo/sdl-developers
>   




Query: [How to search]

Display: Description: Sort: