Announcing Dryverl: an Erlang-to-C binding compiler

Romain Lenglet rlenglet@REDACTED
Tue May 30 03:43:17 CEST 2006


David Hopwood wrote:
> Romain Lenglet wrote:
> > 1- Dryverl is in fact composed of *six* "sub-"languages:
> >
> > - One structured, declarative language for specifying value
> > maps, etc. Yes, this simple language could be specified
> > using Leex and Yecc.
> >
> > - *Two* distinct "Erlang + markup" dialects.  Using Yecc,
> > you would have to specify *twice* the complete Erlang
> > grammar + extensions.
> >
> > - *Three* distinct "C + markup" dialects.  Using Yecc, you
> > would have to specify *thrice* the complete C grammar (!) +
> > extensions.
>
> and this counters Richard's critique how, exactly??

This counters the "small language" argument.

As Vlad Dimitrescu confirmed, using Yecc you would have to define 
all those 6 grammars, separately (mostly duplicated...). This is 
no more a "small language".

-- 
Romain LENGLET



More information about the erlang-questions mailing list