Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support under Julia 0.4 #1

Open
AlainLich opened this issue May 16, 2015 · 2 comments
Open

Support under Julia 0.4 #1

AlainLich opened this issue May 16, 2015 · 2 comments

Comments

@AlainLich
Copy link

Hi,
I wonder whether you intend to support Parsimonious under Julia 0.4 (recent versions with multiple
incompatibilities like Tuple type syntax).

Using :

Version 0.4.0-dev+4704 (2015-05-07 03:55 UTC)
Commit cd2c363* (9 days old master)
x86_64-linux-gnu

I get the following

Julia4 run_tests.jl

WARNING: deprecated syntax "{a=>b, ...}" at /home/alain/.julia/v0.4/Parsimonious/src/Parsimonious.jl:145.
Use "Dict{Any,Any}(a=>b, ...)" instead.

WARNING: deprecated syntax "{a=>b for (a,b) in c}" at /home/alain/.julia/v0.4/Parsimonious/src/Parsimonious.jl:319.
Use "Dict{Any,Any}([a=>b for (a,b) in c])" instead.
ERROR: LoadError: LoadError: LoadError: MethodError: `start` has no method matching start(::Type{Parsimonious.Expression})
 in append_any at ./base.jl:200
 in include at ./boot.jl:252
 in include_from_node1 at ./loading.jl:134
 in include at ./boot.jl:252
 in include_from_node1 at ./loading.jl:134
 in reload_path at ./loading.jl:158
 in _require at ./loading.jl:70
 in require at ./loading.jl:53
 in include at ./boot.jl:252
 in include_from_node1 at loading.jl:134
 in process_options at ./client.jl:310
 in _start at ./client.jl:409
while loading /home/alain/.julia/v0.4/Parsimonious/src/Expressions.jl, in expression starting on line 402
while loading /home/alain/.julia/v0.4/Parsimonious/src/Parsimonious.jl, in expression starting on line 7
while loading /home/alain/src/Julia/Parsimonious.jl/run_tests.jl, in expression starting on line 8
@gitfoxi
Copy link
Owner

gitfoxi commented May 20, 2015

I'll take a look but I should say that this approach doesn't have great performance. I'd probably use a simpler approach like juliaparsec.

@AlainLich
Copy link
Author

Thanks for this indication, I suppose it is safer for me to look at alternatives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants