-
Notifications
You must be signed in to change notification settings - Fork 167
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
47726f0
commit 66e23be
Showing
14 changed files
with
14 additions
and
14 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
(TranslationUnit (SymbolTable 1 {_lpython_main_program: (Function (SymbolTable 8 {}) _lpython_main_program [test_for] [] [(SubroutineCall 1 test_for () [] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), exit: (ExternalSymbol 1 exit 3 exit sys [] exit Public), main_program: (Program (SymbolTable 7 {}) main_program [] [(SubroutineCall 1 _lpython_main_program () [] ())]), sys: (Module (SymbolTable 3 {exit: (Function (SymbolTable 4 {error_code: (Variable 4 error_code In () () Default (Integer 4 []) Source Public Required .false.)}) exit [] [(Var 4 error_code)] [(Stop (Var 4 error_code))] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.)}) sys [] .false. .false.), test_for: (Function (SymbolTable 5 {i: (Variable 5 i Local () () Default (Integer 4 []) Source Public Required .false.)}) test_for [exit] [] [(DoLoop ((Var 5 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(If (IntegerCompare (Var 5 i) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(Cycle)] []) (If (IntegerCompare (Var 5 i) Gt (IntegerConstant 5 (Integer 4 [])) (Logical 4 []) ()) [(Exit)] []) (If (IntegerCompare (Var 5 i) Eq (IntegerConstant 3 (Integer 4 [])) (Logical 4 []) ()) [(Stop ())] [])]) (SubroutineCall 1 exit () [((IntegerConstant 2 (Integer 4 [])))] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.)}) []) | ||
(TranslationUnit (SymbolTable 1 {_lpython_main_program: (Function (SymbolTable 9 {}) _lpython_main_program [test_for] [] [(SubroutineCall 1 test_for () [] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), exit: (ExternalSymbol 1 exit 3 exit sys [] exit Public), main_program: (Program (SymbolTable 8 {}) main_program [] [(SubroutineCall 1 _lpython_main_program () [] ())]), sys: (Module (SymbolTable 3 {exit: (Function (SymbolTable 4 {error_code: (Variable 4 error_code In () () Default (Integer 4 []) Source Public Required .false.)}) exit [] [(Var 4 error_code)] [(Stop (Var 4 error_code))] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.)}) sys [] .false. .false.), test_for: (Function (SymbolTable 6 {i: (Variable 6 i Local () () Default (Integer 4 []) Source Public Required .false.)}) test_for [exit] [] [(DoLoop ((Var 6 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(If (IntegerCompare (Var 6 i) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(Cycle)] []) (If (IntegerCompare (Var 6 i) Gt (IntegerConstant 5 (Integer 4 [])) (Logical 4 []) ()) [(Exit)] []) (If (IntegerCompare (Var 6 i) Eq (IntegerConstant 3 (Integer 4 [])) (Logical 4 []) ()) [(Stop ())] [])]) (SubroutineCall 1 exit () [((IntegerConstant 2 (Integer 4 [])))] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.)}) []) |
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
(TranslationUnit (SymbolTable 1 {_lpython_main_program: (Function (SymbolTable 9 {}) _lpython_main_program [main0] [] [(SubroutineCall 1 main0 () [] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), f: (ExternalSymbol 1 f 3 f modules_02b [] f Public), main0: (Function (SymbolTable 7 {x: (Variable 7 x Local () () Default (Integer 4 []) Source Public Required .false.)}) main0 [f] [] [(= (Var 7 x) (IntegerBinOp (IntegerBinOp (IntegerConstant 2 (Integer 4 [])) Add (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant 5 (Integer 4 []))) Mul (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant 25 (Integer 4 []))) ()) (Assert (IntegerCompare (Var 7 x) Eq (IntegerConstant 25 (Integer 4 [])) (Logical 4 []) ()) ()) (SubroutineCall 1 f () [] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), main_program: (Program (SymbolTable 8 {}) main_program [] [(SubroutineCall 1 _lpython_main_program () [] ())]), modules_02b: (Module (SymbolTable 3 {f: (Function (SymbolTable 4 {}) f [g] [] [(SubroutineCall 3 g () [] ()) (Print () [(StringConstant "f()" (Character 1 3 () []))] () ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), g: (ExternalSymbol 3 g 5 g modules_02c [] g Public)}) modules_02b [modules_02c] .false. .false.), modules_02c: (Module (SymbolTable 5 {g: (Function (SymbolTable 6 {}) g [] [] [(Print () [(StringConstant "g()" (Character 1 3 () []))] () ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.)}) modules_02c [] .false. .false.)}) []) | ||
(TranslationUnit (SymbolTable 1 {_lpython_main_program: (Function (SymbolTable 12 {}) _lpython_main_program [main0] [] [(SubroutineCall 1 main0 () [] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), f: (ExternalSymbol 1 f 3 f modules_02b [] f Public), main0: (Function (SymbolTable 10 {x: (Variable 10 x Local () () Default (Integer 4 []) Source Public Required .false.)}) main0 [f] [] [(= (Var 10 x) (IntegerBinOp (IntegerBinOp (IntegerConstant 2 (Integer 4 [])) Add (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant 5 (Integer 4 []))) Mul (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant 25 (Integer 4 []))) ()) (Assert (IntegerCompare (Var 10 x) Eq (IntegerConstant 25 (Integer 4 [])) (Logical 4 []) ()) ()) (SubroutineCall 1 f () [] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), main_program: (Program (SymbolTable 11 {}) main_program [] [(SubroutineCall 1 _lpython_main_program () [] ())]), modules_02b: (Module (SymbolTable 3 {f: (Function (SymbolTable 8 {}) f [g] [] [(SubroutineCall 3 g () [] ()) (Print () [(StringConstant "f()" (Character 1 3 () []))] () ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), g: (ExternalSymbol 3 g 5 g modules_02c [] g Public)}) modules_02b [modules_02c] .false. .false.), modules_02c: (Module (SymbolTable 5 {g: (Function (SymbolTable 6 {}) g [] [] [(Print () [(StringConstant "g()" (Character 1 3 () []))] () ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.)}) modules_02c [] .false. .false.)}) []) |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.