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

lfortran branch test error #11

Open
lishchgithub opened this issue Apr 21, 2022 · 1 comment
Open

lfortran branch test error #11

lishchgithub opened this issue Apr 21, 2022 · 1 comment
Labels
wontfix This will not be worked on

Comments

@lishchgithub
Copy link

When I try the lfortran test example, got a issue that:
Traceback (most recent call last):
File "/app/conda/bin/lfort", line 3, in
from lfortran.cli import main
File "/app/conda/lib/python3.7/site-packages/lfortran/init.py", line 1, in
from .ast.utils import src_to_ast
File "/app/conda/lib/python3.7/site-packages/lfortran/ast/init.py", line 15, in
from .utils import (src_to_ast, parse_file, dump, print_tree, print_tree_typed,
File "/app/conda/lib/python3.7/site-packages/lfortran/ast/utils.py", line 7, in
from ..parser.parser import antlr_parse
File "/app/conda/lib/python3.7/site-packages/lfortran/parser/parser.py", line 21, in
from .fortranLexer import fortranLexer
File "/app/conda/lib/python3.7/site-packages/lfortran/parser/fortranLexer.py", line 403, in
class fortranLexer(Lexer):
File "/app/conda/lib/python3.7/site-packages/lfortran/parser/fortranLexer.py", line 405, in fortranLexer
atn = ATNDeserializer().deserialize(serializedATN())
File "/app/conda/lib/python3.7/site-packages/antlr4/atn/ATNDeserializer.py", line 28, in deserialize
self.checkVersion()
File "/app/conda/lib/python3.7/site-packages/antlr4/atn/ATNDeserializer.py", line 50, in checkVersion
raise Exception("Could not deserialize ATN with version " + str(version) + " (expected " + str(SERIALIZED_VERSION) + ").")
Exception: Could not deserialize ATN with version (expected 4).
Seems Like Lfortran in conada is disabled.
I also tried run lfort single, also get the same problem.

@StarGate01
Copy link
Owner

Hi, I have not continued to work on the LFortran branch since I got gfortran working - it was one of the many avenues I explored which did not end up working.

However, LFortran has been under active development since, so a second look at it might be something to consider. Also see #7 (comment) .

@StarGate01 StarGate01 added the wontfix This will not be worked on label May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants