Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Error: too many pushed back tokens (internal error) #29

Closed
cdsousa opened this issue Nov 16, 2015 · 6 comments
Closed

Error: too many pushed back tokens (internal error) #29

cdsousa opened this issue Nov 16, 2015 · 6 comments

Comments

@cdsousa
Copy link

cdsousa commented Nov 16, 2015

Hi,

With Julia 0.4.1, I get ERROR: too many pushed back tokens (internal error)
Whenever I try to parse anything, e.g.,

import JuliaParser.Parser
ast = Parser.parse("a=1")
cdsousa added a commit to cdsousa/JuliaParser.jl that referenced this issue Nov 20, 2015
@Ismael-VC Ismael-VC mentioned this issue Dec 19, 2015
4 tasks
@EricForgy
Copy link

Me too (0.4.2)

@eschnett
Copy link

eschnett commented Jan 5, 2016

Would this be easy to correct, or does it require some more fundamental change? Can you give a pointer for where to start looking?

@Ismael-VC
Copy link
Contributor

@eschnett and @EricForgy I have solved that one and 3 other bugs in #33 but I accidentally messed up my PF closed and I don't know what to do to reopen it, @jakebolewski didn't answer back.

This 4 fixes are needed in order to be able to load the module again:

You can see the diff here: https://github.com/jakebolewski/JuliaParser.jl/pull/33/files

I have been able to continue with my Julieta experiment (Julia written in any natural language, currently testing with Spanish and Esperanto) after those changes.

Should I open yet another new PR with the same changes, do anyone else can reopen or merge #33?

There are still lots of errors, but that is because tests compare ASTs with norm_ast which yields different results, even with that, the parsed AST is still able to be evaluated successfully, but that is probably for another issue/PR.

@jakebolewski
Copy link
Member

I have been distracted by life, but hopefully over the next couple of days I can help resolve these issues.

@EricForgy
Copy link

I have been distracted by life

I know the feeling :) Hope all is well @jakebolewski 🙏

@Keno
Copy link
Member

Keno commented Jan 19, 2016

Fixed by #33.

@Keno Keno closed this as completed Jan 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants