-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3fb4d26
commit 016da52
Showing
7 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"basename": "python-complex1-f676023", | ||
"cmd": "lpython --no-color --show-python {infile}", | ||
"infile": "tests/complex1.py", | ||
"infile_hash": "60b45de7b88ec768d70a3122b36545e9604a86504ed6e5d9d813c719", | ||
"outfile": null, | ||
"outfile_hash": null, | ||
"stdout": "python-complex1-f676023.stdout", | ||
"stdout_hash": "dd0d13182e8c14c21aeb38bab81105cb1b973c6f0c0f39d019198970", | ||
"stderr": null, | ||
"stderr_hash": null, | ||
"returncode": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
def __main__(): | ||
|
||
|
||
def lpython_builtin(): | ||
|
||
|
||
def main0(): | ||
main_program() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"basename": "python-expr2-6b69018", | ||
"cmd": "lpython --no-color --show-python {infile}", | ||
"infile": "tests/expr2.py", | ||
"infile_hash": "52d7d4d33553138f2cf55b9900047e5310c54d62e54b3ca1fa394024", | ||
"outfile": null, | ||
"outfile_hash": null, | ||
"stdout": "python-expr2-6b69018.stdout", | ||
"stdout_hash": "80f84c6042272b02da27b09a41c342a510a0e1cad85c7882dfe595b7", | ||
"stderr": null, | ||
"stderr_hash": null, | ||
"returncode": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
def __main__(): | ||
|
||
|
||
def main0(): | ||
main_program() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"basename": "python-expr_01-123410e", | ||
"cmd": "lpython --no-color --show-python {infile}", | ||
"infile": "tests/expr_01.py", | ||
"infile_hash": "4284fe3a1b4dd3e5d1de1357a79e9a25b426ca245b4cc91cf99e8547", | ||
"outfile": null, | ||
"outfile_hash": null, | ||
"stdout": null, | ||
"stdout_hash": null, | ||
"stderr": "python-expr_01-123410e.stderr", | ||
"stderr_hash": "c48bf3950a62f0ef47f60bffcd24fab81f76a02560b590ddda0e574f", | ||
"returncode": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Internal Compiler Error: Unhandled exception | ||
Traceback (most recent call last): | ||
[2m Binary file "[0m[1m[35m$DIR/src/bin/lpython[39m[0m[2m", in _start()[0m | ||
[2m File "[0m[1m[35m./csu/../csu/libc-start.c[39m[0m[2m", line 392, in __libc_start_main_impl()[0m | ||
[2m File "[0m[1m[35m./csu/../sysdeps/nptl/libc_start_call_main.h[39m[0m[2m", line 58, in __libc_start_call_main()[0m | ||
[2m File "[0m[1m[35m$DIR/src/bin/lpython.cpp[39m[0m[2m", line 1845, in ??[0m | ||
return emit_python(arg_file, runtime_library_dir, compiler_options); | ||
[2m File "[0m[1m[35m$DIR/src/bin/lpython.cpp[39m[0m[2m", line 429, in ??[0m | ||
LCompilers::Result<std::string> res = LCompilers::asr_to_lpython(al, *asr, diagnostics, compiler_options, color, indent); | ||
[2m File "[0m[1m[35m$DIR/src/libasr/codegen/asr_to_python.cpp[39m[0m[2m", line 273, in LCompilers::asr_to_lpython[abi:cxx11](Allocator&, LCompilers::ASR::TranslationUnit_t&, LCompilers::diag::Diagnostics&, LCompilers::CompilerOptions&, bool, int)[0m | ||
v.visit_TranslationUnit(asr); | ||
[2m File "[0m[1m[35m$DIR/src/libasr/codegen/asr_to_python.cpp[39m[0m[2m", line 183, in LCompilers::ASRToLpythonVisitor::visit_TranslationUnit(LCompilers::ASR::TranslationUnit_t const&)[0m | ||
visit_symbol(*item.second); | ||
[2m File "[0m[1m[35m$DIR/src/libasr/../libasr/asr.h[39m[0m[2m", line 5060, in LCompilers::ASR::BaseVisitor<LCompilers::ASRToLpythonVisitor>::visit_symbol(LCompilers::ASR::symbol_t const&)[0m | ||
void visit_symbol(const symbol_t &b) { visit_symbol_t(b, self()); } | ||
[2m File "[0m[1m[35m$DIR/src/libasr/../libasr/asr.h[39m[0m[2m", line 4774, in ??[0m | ||
case symbolType::Program: { v.visit_Program((const Program_t &)x); return; } | ||
[2m File "[0m[1m[35m$DIR/src/libasr/codegen/asr_to_python.cpp[39m[0m[2m", line 252, in LCompilers::ASRToLpythonVisitor::visit_Program(LCompilers::ASR::Program_t const&)[0m | ||
visit_body(x, r, true); | ||
[2m File "[0m[1m[35m$DIR/src/libasr/codegen/asr_to_python.cpp[39m[0m[2m", line 120, in void LCompilers::ASRToLpythonVisitor::visit_body<LCompilers::ASR::Program_t>(LCompilers::ASR::Program_t const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool)[0m | ||
visit_stmt(*x.m_body[i]); | ||
[2m File "[0m[1m[35m$DIR/src/libasr/../libasr/asr.h[39m[0m[2m", line 5077, in LCompilers::ASR::BaseVisitor<LCompilers::ASRToLpythonVisitor>::visit_stmt(LCompilers::ASR::stmt_t const&)[0m | ||
void visit_stmt(const stmt_t &b) { visit_stmt_t(b, self()); } | ||
[2m File "[0m[1m[35m$DIR/src/libasr/../libasr/asr.h[39m[0m[2m", line 4826, in ??[0m | ||
case stmtType::SubroutineCall: { v.visit_SubroutineCall((const SubroutineCall_t &)x); return; } | ||
LCompilersException: visit_SubroutineCall() not implemented |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters