The sequence is:

parser -> takes raw characters and builds the abstract syntax tree
namer -> scans the syntax tree to build a symbol table (identifying classes,
methods, etc.)
typer -> assigns types to nodes on the AST
etc...

Paul is quite right when he states that the code won't "parse", that's
exactly where the problem occurs.



On 29 September 2010 10:27, Ricky Clarkson <ricky.clark...@gmail.com> wrote:

> The phase you're talking about is named 'typer', as far as I know.
>
> Parsing happens without knowledge of what each token means, otherwise
> you can get into exponential time/memory.
>
> On Wed, Sep 29, 2010 at 10:18 AM, Kevin Wright <kev.lee.wri...@gmail.com>
> wrote:
> > About the Reddit post...
> > Truth is, all languages (except lisp) have some potential for
> > misunderstanding when it comes to precedence, associativity, etc.
> > If in doubt, use brackets - that's what they're for!
> >
> > About the rest of this thread...
> > Obviously I can't speak for anyone else here, but I'm not on a mission to
> > force the world to love Scala.
> > On the other hand, I *do* find it very frustrating when I see frequent
> > unsubstantiated claims that:
> > Scala is complex
> > Scala is too hard for the "average" developer
> > Functional programming is academic, and not something for the "real
> world"
> > Lombok and LambdaJ can do everything Scala can do
> > Java is absolutely the least complex language in the whole world, ever
> > Scala programmers don't use or understand Java
> > Code needs to be long and heavy on boilerplate so it can be understood
> > ...ad nauseum
> > All of these being highly subjective and/or completely false.
> > This is totally unfair to other developers who, after reading such a
> claim,
> > reverse a previous decision and choose not to investigate Scala.
> > So no, I'm not out to "convert" everyone, I only ever want to bring
> balance
> > to the discussion so that anyone with a potential interest won't be
> > misinformed.
> > If you look back over the history of this mailing list you'll see that
> all
> > the heated debates over Scala started when the language was first
> mentioned
> > in a demeaning anti-Scala comment.  Such comments usually demonstrate
> that
> > the Scala objector doesn't understand the language, and hasn't used it
> > enough to give a fair evaluation.  It's at this point where anyone who
> does
> > have the experience must step in and correct the error.
> > This isn't evangelism... it's peer-review!
> >
> > <making a point>
> > The Scala compiler doesn't even have a "resolver" phase.
> > Referring to such a phase just demonstrates a lack of
> familiarity/authority
> > with regards to Scala
> > </making a point>
> >
> >
> > 2010/9/29 Cédric Beust ♔ <ced...@beust.com>
> >>
> >>
> >> On Wed, Sep 29, 2010 at 12:04 AM, Casper Bang <casper.b...@gmail.com>
> >> wrote:
> >>>
> >>> > What is it about Scala that causes so many to loathe it?
> >>>
> >>> I feel compelled to turn it around on yourself. Why MUST everyone
> >>> absolutely love it?
> >>
> >> I think this is the key point.
> >> I have seen a lot of language advocacy over these past twenty years
> >> (comp.lang.advocacy ftw!) but none has come even remotely close to the
> >> intolerance and aggressiveness shown by Scala advocates. Yup, not even
> Lisp
> >> nor Smalltalk zealots. That should tell you something :-)
> >> To paraphrase a saying, "I like your language, I just don't like its
> >> followers" :-)
> >>
> >> --
> >> Cédric
> >>
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "The Java Posse" group.
> >> To post to this group, send email to javapo...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> javaposse+unsubscr...@googlegroups.com<javaposse%2bunsubscr...@googlegroups.com>
> .
> >> For more options, visit this group at
> >> http://groups.google.com/group/javaposse?hl=en.
> >
> >
> >
> > --
> > Kevin Wright
> >
> > mail / gtalk / msn : kev.lee.wri...@gmail.com
> > pulse / skype: kev.lee.wright
> > twitter: @thecoda
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "The Java Posse" group.
> > To post to this group, send email to javapo...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > javaposse+unsubscr...@googlegroups.com<javaposse%2bunsubscr...@googlegroups.com>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/javaposse?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To post to this group, send email to javapo...@googlegroups.com.
> To unsubscribe from this group, send email to
> javaposse+unsubscr...@googlegroups.com<javaposse%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
>
>


-- 
Kevin Wright

mail / gtalk / msn : kev.lee.wri...@gmail.com
pulse / skype: kev.lee.wright
twitter: @thecoda

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to javapo...@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to