[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is a lightweight language
> Don Blaheta wrote:
> > And I haven't even gotten started on how much easier sexps are to parse
> > than XML. They're a simple READ statement in Scheme, of course, but
> > even in C, a page of lex and yacc will do the trick.
Paul Prescod <firstname.lastname@example.org> writes:
> In my experience it takes roughly one line in C, Perl, Python or almost
> any language. Typically the line instantiates a parser object and hands
> it a filename. Not unlike READ.
It may take one line to *invoke* the reader, but to implement it? On
my windows2000 machine msxml3.dll is a megabyte of code. On the
other hand, CormanLispServer.dll is 300 K.