There are some cases when you cannot just consume the tokenized source but have to drop down and do character look ahead to disambiguate at a certain point. I don't know know how common that is in other languages and it happens in a couple of cases when parsing julia (mostly with characters which are overloaded to have meanings in different contexts) but would love to find out. But as Stephan said it is all look ahead.. I believe there is only one place where you consume a token and backtrack if a condition does not hold.
- [julia-users] Grammar for Julia (whitespace) Matthew Frank
- [julia-users] Grammar for Julia (whitespace) Matt Bauman
- [julia-users] Grammar for Julia (whitespace) Matthew Frank
- Re: [julia-users] Grammar for Julia (whitesp... Stefan Karpinski
- Re: [julia-users] Grammar for Julia (whi... Matthew Frank
- Re: [julia-users] Grammar for Julia... Stefan Karpinski
- Re: [julia-users] Grammar for Julia... Jake Bolewski
- Re: [julia-users] Grammar for J... Stefan Karpinski
- Re: [julia-users] Grammar f... Jake Bolewski
- Re: [julia-users] Grammar f... Matthew Frank
