[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] inline assembly and optimization passes

From: Sylvain BERTRAND
Subject: Re: [Tinycc-devel] inline assembly and optimization passes
Date: Mon, 23 Sep 2013 14:29:40 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

> Sorry about the delay, I receive digests, so I didn't get this until
> after I'd sent out my last message.
> The reason why C is normally not used as an IL/IC is because you can
> design languages that are easier to parse than C. Simple as that. Your
> stereo typical assembly language, where each line of code corresponds
> to a single discrete action and it's arguments is much easier to parse
> than C. So, C normally doesn't get used in that role, because someone
> who can write a parser for any variant of C is likely to have a much
> easier time writing a parser for some specialized language instead.
> C isn't as difficult to parse as C++, but when you consider that
> you'll be having to parse all of this again in a completely different
> program, it becomes easy to see why you'd favor simplicity of parsing.

The whole point was to re-use the tinycc parser and keep things reasonnable.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]