RE: The Perl 6 Summary -- preprocessors

2003-07-23 Thread Austin Hastings
> We're not quite in the world of ACME::DWIM, so you can't just replace > the important stuff with ... . :-) Maybe, but the C preprocessor isn't important, here, for itself. Otherwise I could cheat: grammar Grammar::Language::C::Preprocessor { rule CompilationUnit { FIRST { static

Re: Protocols

2003-07-23 Thread chromatic
On Saturday, July 19, 2003, at 04:25 AM, Luke Palmer wrote: In Objective-C: id untyped = somefunction(); id typed = otherfunction(); If you send a message to C which isn't in the C protocol definition, you get warnings. Depending on the implementation, that assignment might be dynamicall

Re: The Perl 6 Summary -- preprocessors

2003-07-23 Thread Benjamin Goldberg
Luke Palmer wrote: > > > grammar Grammars::Languages::C::Preprocessor { > > rule CompilationUnit { > > ( | )* > > } > > > > rule Directive { > > ( Include > >| Line > >| Conditional > >| Define > > ) * > > } > > > > rule Hash { /^\s*#\s*