From 66b27005143ce66d7ecf1a995f1681358abff477 Mon Sep 17 00:00:00 2001 From: David Kerkeslager Date: Sat, 30 Dec 2017 19:38:35 -0500 Subject: [PATCH] Remove support for ternary comparison operators --- ...boolean_operators.fur => 13_boolean_operators.fur} | 0 ...stdout.txt => 13_boolean_operators.fur.stdout.txt} | 0 examples/13_ternary_comparison.fur | 11 ----------- examples/13_ternary_comparison.fur.stdout.txt | 4 ---- examples/{15_varargs.fur => 14_varargs.fur} | 0 ...rargs.fur.stdout.txt => 14_varargs.fur.stdout.txt} | 0 examples/{16_functions.fur => 15_functions.fur} | 0 ...ons.fur.stdout.txt => 15_functions.fur.stdout.txt} | 0 ...7_short_circuiting.fur => 16_short_circuiting.fur} | 0 ....stdout.txt => 16_short_circuiting.fur.stdout.txt} | 0 examples/{18_comments.fur => 17_comments.fur} | 0 ...ents.fur.stdout.txt => 17_comments.fur.stdout.txt} | 0 examples/{19_closures.fur => 18_closures.fur} | 0 ...ures.fur.stdout.txt => 18_closures.fur.stdout.txt} | 0 examples/{20_cycles.fur => 19_cycles.fur} | 0 ...cycles.fur.stdout.txt => 19_cycles.fur.stdout.txt} | 0 examples/{21_arguments.fur => 20_arguments.fur} | 0 ...nts.fur.stdout.txt => 20_arguments.fur.stdout.txt} | 0 ...{22_close_arguments.fur => 21_close_arguments.fur} | 0 ...r.stdout.txt => 21_close_arguments.fur.stdout.txt} | 0 ...d_functions.fur => 22_parenthesized_functions.fur} | 0 ....txt => 22_parenthesized_functions.fur.stdout.txt} | 0 ...ctions.fur => 23_function_calls_for_functions.fur} | 0 ...=> 23_function_calls_for_functions.fur.stdout.txt} | 0 .../{25_if_statements.fur => 24_if_statements.fur} | 0 ...fur.stdout.txt => 24_if_statements.fur.stdout.txt} | 0 .../{26_list_literals.fur => 25_list_literals.fur} | 0 ...fur.stdout.txt => 25_list_literals.fur.stdout.txt} | 0 ..._concatenation.fur => 26_string_concatenation.fur} | 0 ...out.txt => 26_string_concatenation.fur.stdout.txt} | 0 ...uoted_strings.fur => 27_double_quoted_strings.fur} | 0 ...ut.txt => 27_double_quoted_strings.fur.stdout.txt} | 0 examples/{29_structures.fur => 28_structures.fur} | 0 ...es.fur.stdout.txt => 28_structures.fur.stdout.txt} | 0 ...0_division_by_zero.fur => 29_division_by_zero.fur} | 0 ....stderr.txt => 29_division_by_zero.fur.stderr.txt} | 0 36 files changed, 15 deletions(-) rename examples/{14_boolean_operators.fur => 13_boolean_operators.fur} (100%) rename examples/{14_boolean_operators.fur.stdout.txt => 13_boolean_operators.fur.stdout.txt} (100%) delete mode 100644 examples/13_ternary_comparison.fur delete mode 100644 examples/13_ternary_comparison.fur.stdout.txt rename examples/{15_varargs.fur => 14_varargs.fur} (100%) rename examples/{15_varargs.fur.stdout.txt => 14_varargs.fur.stdout.txt} (100%) rename examples/{16_functions.fur => 15_functions.fur} (100%) rename examples/{16_functions.fur.stdout.txt => 15_functions.fur.stdout.txt} (100%) rename examples/{17_short_circuiting.fur => 16_short_circuiting.fur} (100%) rename examples/{17_short_circuiting.fur.stdout.txt => 16_short_circuiting.fur.stdout.txt} (100%) rename examples/{18_comments.fur => 17_comments.fur} (100%) rename examples/{18_comments.fur.stdout.txt => 17_comments.fur.stdout.txt} (100%) rename examples/{19_closures.fur => 18_closures.fur} (100%) rename examples/{19_closures.fur.stdout.txt => 18_closures.fur.stdout.txt} (100%) rename examples/{20_cycles.fur => 19_cycles.fur} (100%) rename examples/{20_cycles.fur.stdout.txt => 19_cycles.fur.stdout.txt} (100%) rename examples/{21_arguments.fur => 20_arguments.fur} (100%) rename examples/{21_arguments.fur.stdout.txt => 20_arguments.fur.stdout.txt} (100%) rename examples/{22_close_arguments.fur => 21_close_arguments.fur} (100%) rename examples/{22_close_arguments.fur.stdout.txt => 21_close_arguments.fur.stdout.txt} (100%) rename examples/{23_parenthesized_functions.fur => 22_parenthesized_functions.fur} (100%) rename examples/{23_parenthesized_functions.fur.stdout.txt => 22_parenthesized_functions.fur.stdout.txt} (100%) rename examples/{24_function_calls_for_functions.fur => 23_function_calls_for_functions.fur} (100%) rename examples/{24_function_calls_for_functions.fur.stdout.txt => 23_function_calls_for_functions.fur.stdout.txt} (100%) rename examples/{25_if_statements.fur => 24_if_statements.fur} (100%) rename examples/{25_if_statements.fur.stdout.txt => 24_if_statements.fur.stdout.txt} (100%) rename examples/{26_list_literals.fur => 25_list_literals.fur} (100%) rename examples/{26_list_literals.fur.stdout.txt => 25_list_literals.fur.stdout.txt} (100%) rename examples/{27_string_concatenation.fur => 26_string_concatenation.fur} (100%) rename examples/{27_string_concatenation.fur.stdout.txt => 26_string_concatenation.fur.stdout.txt} (100%) rename examples/{28_double_quoted_strings.fur => 27_double_quoted_strings.fur} (100%) rename examples/{28_double_quoted_strings.fur.stdout.txt => 27_double_quoted_strings.fur.stdout.txt} (100%) rename examples/{29_structures.fur => 28_structures.fur} (100%) rename examples/{29_structures.fur.stdout.txt => 28_structures.fur.stdout.txt} (100%) rename examples/{30_division_by_zero.fur => 29_division_by_zero.fur} (100%) rename examples/{30_division_by_zero.fur.stderr.txt => 29_division_by_zero.fur.stderr.txt} (100%) diff --git a/examples/14_boolean_operators.fur b/examples/13_boolean_operators.fur similarity index 100% rename from examples/14_boolean_operators.fur rename to examples/13_boolean_operators.fur diff --git a/examples/14_boolean_operators.fur.stdout.txt b/examples/13_boolean_operators.fur.stdout.txt similarity index 100% rename from examples/14_boolean_operators.fur.stdout.txt rename to examples/13_boolean_operators.fur.stdout.txt diff --git a/examples/13_ternary_comparison.fur b/examples/13_ternary_comparison.fur deleted file mode 100644 index 695873a..0000000 --- a/examples/13_ternary_comparison.fur +++ /dev/null @@ -1,11 +0,0 @@ -print('1 < 2 < 2: ') -print(1 < 2 < 2) -print('\n') -print('2 < 2 < 2: ') -print(2 < 2 < 2) -print('\n') -print('1 < 2 < 3: ') -print(1 < 2 < 3) -print('\n') -print('2 < 2 < 3: ') -print(2 < 2 < 3) diff --git a/examples/13_ternary_comparison.fur.stdout.txt b/examples/13_ternary_comparison.fur.stdout.txt deleted file mode 100644 index 1e6d32f..0000000 --- a/examples/13_ternary_comparison.fur.stdout.txt +++ /dev/null @@ -1,4 +0,0 @@ -1 < 2 < 2: false -2 < 2 < 2: false -1 < 2 < 3: true -2 < 2 < 3: false \ No newline at end of file diff --git a/examples/15_varargs.fur b/examples/14_varargs.fur similarity index 100% rename from examples/15_varargs.fur rename to examples/14_varargs.fur diff --git a/examples/15_varargs.fur.stdout.txt b/examples/14_varargs.fur.stdout.txt similarity index 100% rename from examples/15_varargs.fur.stdout.txt rename to examples/14_varargs.fur.stdout.txt diff --git a/examples/16_functions.fur b/examples/15_functions.fur similarity index 100% rename from examples/16_functions.fur rename to examples/15_functions.fur diff --git a/examples/16_functions.fur.stdout.txt b/examples/15_functions.fur.stdout.txt similarity index 100% rename from examples/16_functions.fur.stdout.txt rename to examples/15_functions.fur.stdout.txt diff --git a/examples/17_short_circuiting.fur b/examples/16_short_circuiting.fur similarity index 100% rename from examples/17_short_circuiting.fur rename to examples/16_short_circuiting.fur diff --git a/examples/17_short_circuiting.fur.stdout.txt b/examples/16_short_circuiting.fur.stdout.txt similarity index 100% rename from examples/17_short_circuiting.fur.stdout.txt rename to examples/16_short_circuiting.fur.stdout.txt diff --git a/examples/18_comments.fur b/examples/17_comments.fur similarity index 100% rename from examples/18_comments.fur rename to examples/17_comments.fur diff --git a/examples/18_comments.fur.stdout.txt b/examples/17_comments.fur.stdout.txt similarity index 100% rename from examples/18_comments.fur.stdout.txt rename to examples/17_comments.fur.stdout.txt diff --git a/examples/19_closures.fur b/examples/18_closures.fur similarity index 100% rename from examples/19_closures.fur rename to examples/18_closures.fur diff --git a/examples/19_closures.fur.stdout.txt b/examples/18_closures.fur.stdout.txt similarity index 100% rename from examples/19_closures.fur.stdout.txt rename to examples/18_closures.fur.stdout.txt diff --git a/examples/20_cycles.fur b/examples/19_cycles.fur similarity index 100% rename from examples/20_cycles.fur rename to examples/19_cycles.fur diff --git a/examples/20_cycles.fur.stdout.txt b/examples/19_cycles.fur.stdout.txt similarity index 100% rename from examples/20_cycles.fur.stdout.txt rename to examples/19_cycles.fur.stdout.txt diff --git a/examples/21_arguments.fur b/examples/20_arguments.fur similarity index 100% rename from examples/21_arguments.fur rename to examples/20_arguments.fur diff --git a/examples/21_arguments.fur.stdout.txt b/examples/20_arguments.fur.stdout.txt similarity index 100% rename from examples/21_arguments.fur.stdout.txt rename to examples/20_arguments.fur.stdout.txt diff --git a/examples/22_close_arguments.fur b/examples/21_close_arguments.fur similarity index 100% rename from examples/22_close_arguments.fur rename to examples/21_close_arguments.fur diff --git a/examples/22_close_arguments.fur.stdout.txt b/examples/21_close_arguments.fur.stdout.txt similarity index 100% rename from examples/22_close_arguments.fur.stdout.txt rename to examples/21_close_arguments.fur.stdout.txt diff --git a/examples/23_parenthesized_functions.fur b/examples/22_parenthesized_functions.fur similarity index 100% rename from examples/23_parenthesized_functions.fur rename to examples/22_parenthesized_functions.fur diff --git a/examples/23_parenthesized_functions.fur.stdout.txt b/examples/22_parenthesized_functions.fur.stdout.txt similarity index 100% rename from examples/23_parenthesized_functions.fur.stdout.txt rename to examples/22_parenthesized_functions.fur.stdout.txt diff --git a/examples/24_function_calls_for_functions.fur b/examples/23_function_calls_for_functions.fur similarity index 100% rename from examples/24_function_calls_for_functions.fur rename to examples/23_function_calls_for_functions.fur diff --git a/examples/24_function_calls_for_functions.fur.stdout.txt b/examples/23_function_calls_for_functions.fur.stdout.txt similarity index 100% rename from examples/24_function_calls_for_functions.fur.stdout.txt rename to examples/23_function_calls_for_functions.fur.stdout.txt diff --git a/examples/25_if_statements.fur b/examples/24_if_statements.fur similarity index 100% rename from examples/25_if_statements.fur rename to examples/24_if_statements.fur diff --git a/examples/25_if_statements.fur.stdout.txt b/examples/24_if_statements.fur.stdout.txt similarity index 100% rename from examples/25_if_statements.fur.stdout.txt rename to examples/24_if_statements.fur.stdout.txt diff --git a/examples/26_list_literals.fur b/examples/25_list_literals.fur similarity index 100% rename from examples/26_list_literals.fur rename to examples/25_list_literals.fur diff --git a/examples/26_list_literals.fur.stdout.txt b/examples/25_list_literals.fur.stdout.txt similarity index 100% rename from examples/26_list_literals.fur.stdout.txt rename to examples/25_list_literals.fur.stdout.txt diff --git a/examples/27_string_concatenation.fur b/examples/26_string_concatenation.fur similarity index 100% rename from examples/27_string_concatenation.fur rename to examples/26_string_concatenation.fur diff --git a/examples/27_string_concatenation.fur.stdout.txt b/examples/26_string_concatenation.fur.stdout.txt similarity index 100% rename from examples/27_string_concatenation.fur.stdout.txt rename to examples/26_string_concatenation.fur.stdout.txt diff --git a/examples/28_double_quoted_strings.fur b/examples/27_double_quoted_strings.fur similarity index 100% rename from examples/28_double_quoted_strings.fur rename to examples/27_double_quoted_strings.fur diff --git a/examples/28_double_quoted_strings.fur.stdout.txt b/examples/27_double_quoted_strings.fur.stdout.txt similarity index 100% rename from examples/28_double_quoted_strings.fur.stdout.txt rename to examples/27_double_quoted_strings.fur.stdout.txt diff --git a/examples/29_structures.fur b/examples/28_structures.fur similarity index 100% rename from examples/29_structures.fur rename to examples/28_structures.fur diff --git a/examples/29_structures.fur.stdout.txt b/examples/28_structures.fur.stdout.txt similarity index 100% rename from examples/29_structures.fur.stdout.txt rename to examples/28_structures.fur.stdout.txt diff --git a/examples/30_division_by_zero.fur b/examples/29_division_by_zero.fur similarity index 100% rename from examples/30_division_by_zero.fur rename to examples/29_division_by_zero.fur diff --git a/examples/30_division_by_zero.fur.stderr.txt b/examples/29_division_by_zero.fur.stderr.txt similarity index 100% rename from examples/30_division_by_zero.fur.stderr.txt rename to examples/29_division_by_zero.fur.stderr.txt -- 2.20.1