[nem-en] indentation syntax ideas
Michal Moskal
michal.moskal at gmail.com
Sun Oct 30 23:34:46 CET 2005
On 10/30/05, Kamil Skalski <kamil.skalski at gmail.com> wrote:
> >
> > As for the second suggestion (the next email), I'm happy with ignoring
> > Semicolon (true) at the top-level, if it's possible.
> >
>
> Actually it would be better to not generate it...
But the pre-parser doesn't know where is the top-level. This needs to
be done at the parser level?
> But this seems quite
> near in ease of implementation as ignoring the existing ones. Though
> maybe the syntax extensions parser could be intelligent here and
> totally ignore the generated tokens (even in all places)
But sometimes the semicolons are needed here. For example:
class C
foo = 13
bar : string
baz : bool
(though I'm not sure if they are properly added here anyway).
--
Michal Moskal,
http://nemerle.org/~malekith/
More information about the devel-en
mailing list