cauldron 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/Gemfile +13 -0
- data/LICENSE.txt +20 -0
- data/README +1 -0
- data/README.rdoc +19 -0
- data/Rakefile +53 -0
- data/VERSION +1 -0
- data/bin/cauldron +10 -0
- data/cauldron/.autotest +23 -0
- data/cauldron/History.txt +6 -0
- data/cauldron/Manifest.txt +8 -0
- data/cauldron/README.txt +57 -0
- data/cauldron/Rakefile +27 -0
- data/cauldron/bin/cauldron +3 -0
- data/cauldron/lib/cauldron.rb +3 -0
- data/cauldron/test/test_cauldron.rb +8 -0
- data/features/cauldron_example_cases.feature +13 -0
- data/features/cauldron_generates_runtime_method.feature +12 -0
- data/features/cauldron_start_terminal.feature +13 -0
- data/features/step_definitions/cauldron_steps.rb +16 -0
- data/features/step_definitions/terminal_steps.rb +34 -0
- data/features/support/env.rb +19 -0
- data/lib/Chain.rb +879 -0
- data/lib/ChainMapping.rb +172 -0
- data/lib/CodeHandler.rb +517 -0
- data/lib/Mapping.rb +26 -0
- data/lib/MappingValues.rb +24 -0
- data/lib/ScopeDependencies.rb +7 -0
- data/lib/Theory.rb +274 -0
- data/lib/UnifiedChain.rb +110 -0
- data/lib/cauldron.rb +6 -0
- data/lib/cauldron/conversion.rb +15 -0
- data/lib/cauldron/pot.rb +134 -0
- data/lib/cauldron/sexp2cauldron.rb +156 -0
- data/lib/cauldron/terminal.rb +120 -0
- data/lib/cauldron/theory_factory.rb +10 -0
- data/lib/core/ActsAsCode.rb +25 -0
- data/lib/core/BlockToken.rb +33 -0
- data/lib/core/CCall.rb +7 -0
- data/lib/core/CTestCase.rb +27 -0
- data/lib/core/ClassMethodCallContainer.rb +45 -0
- data/lib/core/Container.rb +85 -0
- data/lib/core/InstanceCallContainer.rb +272 -0
- data/lib/core/MethodUsage.rb +66 -0
- data/lib/core/PrintVariables.rb +25 -0
- data/lib/core/TheoryGenerator.rb +764 -0
- data/lib/core/Token.rb +7 -0
- data/lib/core/assignment/Assignment.rb +18 -0
- data/lib/core/assignment/Equal.rb +39 -0
- data/lib/core/assignment/Equivalent.rb +20 -0
- data/lib/core/assignment/NotEqual.rb +14 -0
- data/lib/core/call_container/CallContainer.rb +66 -0
- data/lib/core/class_method_call/New.rb +15 -0
- data/lib/core/class_method_call/RuntimeClassMethodCall.rb +31 -0
- data/lib/core/declaration/Declaration.rb +16 -0
- data/lib/core/declaration/LiteralDeclaration.rb +47 -0
- data/lib/core/declaration/VariableDeclaration.rb +59 -0
- data/lib/core/instance_call/ArrayEach.rb +23 -0
- data/lib/core/instance_call/ArrayLength.rb +15 -0
- data/lib/core/instance_call/Chop.rb +28 -0
- data/lib/core/instance_call/Copy.rb +22 -0
- data/lib/core/instance_call/DeclaredVariable.rb +18 -0
- data/lib/core/instance_call/InstanceCall.rb +77 -0
- data/lib/core/instance_call/Params.rb +15 -0
- data/lib/core/instance_call/Push.rb +20 -0
- data/lib/core/instance_call/StringLength.rb +32 -0
- data/lib/core/instance_call/Times.rb +20 -0
- data/lib/core/instance_call/instance_calls.rb +168 -0
- data/lib/core/instance_call/length_equal.rb +15 -0
- data/lib/core/kernal/EvalCall.rb +15 -0
- data/lib/core/kernal/LocalVariablesCall.rb +15 -0
- data/lib/core/literal/Literal.rb +111 -0
- data/lib/core/literal/Raw.rb +23 -0
- data/lib/core/literal/RuntimeMethodLiteral.rb +21 -0
- data/lib/core/literal/StatementLiteral.rb +28 -0
- data/lib/core/method_call/AvailableVariablesCall.rb +25 -0
- data/lib/core/method_call/ClassCall.rb +33 -0
- data/lib/core/method_call/DefCall.rb +72 -0
- data/lib/core/method_call/EvaluateClassCall.rb +29 -0
- data/lib/core/method_call/MethodNameCall.rb +27 -0
- data/lib/core/method_call/ToDeclarationCall.rb +15 -0
- data/lib/core/requirement/Requirement.rb +291 -0
- data/lib/core/runtime_class/ArrayClass.rb +19 -0
- data/lib/core/runtime_class/ClassCallClass.rb +23 -0
- data/lib/core/runtime_class/ClassEvaluationClass.rb +19 -0
- data/lib/core/runtime_class/ClassName.rb +18 -0
- data/lib/core/runtime_class/DefCallClass.rb +21 -0
- data/lib/core/runtime_class/EqualClass.rb +19 -0
- data/lib/core/runtime_class/FixnumClass.rb +15 -0
- data/lib/core/runtime_class/IfStatementClass.rb +12 -0
- data/lib/core/runtime_class/InstanceCallClass.rb +19 -0
- data/lib/core/runtime_class/InstanceCallContainerClass.rb +16 -0
- data/lib/core/runtime_class/InstanceClassCallClass.rb +19 -0
- data/lib/core/runtime_class/LiteralClass.rb +19 -0
- data/lib/core/runtime_class/MethodParameterClass.rb +27 -0
- data/lib/core/runtime_class/MethodUsageClass.rb +27 -0
- data/lib/core/runtime_class/RequirementClass.rb +19 -0
- data/lib/core/runtime_class/ReturnClass.rb +21 -0
- data/lib/core/runtime_class/RuntimeClass.rb +30 -0
- data/lib/core/runtime_class/RuntimeClassClass.rb +19 -0
- data/lib/core/runtime_class/RuntimeMethodClass.rb +34 -0
- data/lib/core/runtime_class/StatementClass.rb +53 -0
- data/lib/core/runtime_class/StringClass.rb +23 -0
- data/lib/core/runtime_class/StringLengthClass.rb +19 -0
- data/lib/core/runtime_class/StringVariableClass.rb +19 -0
- data/lib/core/runtime_class/ThisClass.rb +15 -0
- data/lib/core/runtime_class/UnknownClass.rb +23 -0
- data/lib/core/runtime_class/class_names.rb +95 -0
- data/lib/core/runtime_class/runtime_class.rb +123 -0
- data/lib/core/runtime_method/ActsAsRuntimeMethod.rb +300 -0
- data/lib/core/runtime_method/ParametersContainer.rb +29 -0
- data/lib/core/runtime_method/RealisedRuntimeMethod.rb +94 -0
- data/lib/core/runtime_method/RuntimeMethod.rb +817 -0
- data/lib/core/runtime_method/WriteParameters.rb +35 -0
- data/lib/core/statement/ActsAsStatement.rb +116 -0
- data/lib/core/statement/ArrayAccess.rb +96 -0
- data/lib/core/statement/BlockStatement.rb +348 -0
- data/lib/core/statement/DeclarationStatement.rb +19 -0
- data/lib/core/statement/HackStatement.rb +25 -0
- data/lib/core/statement/HashAccess.rb +18 -0
- data/lib/core/statement/OpenStatement.rb +171 -0
- data/lib/core/statement/RealisedStatement.rb +5 -0
- data/lib/core/statement/SingleLineBlockStatement.rb +39 -0
- data/lib/core/statement/Statement.rb +1223 -0
- data/lib/core/statement/StatementDependencies.rb +271 -0
- data/lib/core/statement/StatementGroup.rb +157 -0
- data/lib/core/statement/StatementStructure2.rb +224 -0
- data/lib/core/statement/TheoryStatement.rb +60 -0
- data/lib/core/statement/TopologicalStatements.rb +34 -0
- data/lib/core/structure/DeclareNewInstanceStructure.rb +49 -0
- data/lib/core/structure/DeclareRuntimeMethodStructure.rb +34 -0
- data/lib/core/structure/DeclareVariableAsLiteralStructure.rb +31 -0
- data/lib/core/structure/DeclareVariableAsVariableStructure.rb +52 -0
- data/lib/core/structure/FixnumAdditionStructure.rb +56 -0
- data/lib/core/structure/InstanceCallContainerStructure.rb +50 -0
- data/lib/core/structure/InstanceCallStructure.rb +53 -0
- data/lib/core/structure/InstanceMethodCallStructure.rb +21 -0
- data/lib/core/structure/ReturnStructure.rb +20 -0
- data/lib/core/structure/StatementStructure.rb +11 -0
- data/lib/core/syntax/Addition.rb +25 -0
- data/lib/core/syntax/BlockContainer.rb +130 -0
- data/lib/core/syntax/Boolean.rb +15 -0
- data/lib/core/syntax/Code.rb +11 -0
- data/lib/core/syntax/Do.rb +20 -0
- data/lib/core/syntax/False.rb +12 -0
- data/lib/core/syntax/If.rb +28 -0
- data/lib/core/syntax/IfContainer.rb +100 -0
- data/lib/core/syntax/Nil.rb +15 -0
- data/lib/core/syntax/Return.rb +33 -0
- data/lib/core/syntax/Subtract.rb +19 -0
- data/lib/core/syntax/This.rb +40 -0
- data/lib/core/syntax/True.rb +20 -0
- data/lib/core/syntax/syntax.rb +24 -0
- data/lib/core/tracking/ActsAsTrackable.rb +65 -0
- data/lib/core/tracking/History.rb +167 -0
- data/lib/core/tracking/RuntimeTrackingMethod.rb +32 -0
- data/lib/core/tracking/Step.rb +52 -0
- data/lib/core/variable/ArrayVariable.rb +76 -0
- data/lib/core/variable/BaseVariable.rb +154 -0
- data/lib/core/variable/BlockVariable.rb +92 -0
- data/lib/core/variable/FixnumVariable.rb +36 -0
- data/lib/core/variable/HistoryVariable.rb +8 -0
- data/lib/core/variable/MethodParameter.rb +206 -0
- data/lib/core/variable/MethodUsageVariable.rb +60 -0
- data/lib/core/variable/NilVariable.rb +29 -0
- data/lib/core/variable/RuntimeMethodParameter.rb +67 -0
- data/lib/core/variable/StatementVariable.rb +72 -0
- data/lib/core/variable/StepVariable.rb +7 -0
- data/lib/core/variable/StringVariable.rb +46 -0
- data/lib/core/variable/TypeVariable.rb +72 -0
- data/lib/core/variable/Unknown.rb +116 -0
- data/lib/core/variable/UnknownVariable.rb +29 -0
- data/lib/core/variable/Variable.rb +70 -0
- data/lib/core/variable/VariableContainer.rb +28 -0
- data/lib/core/variable/VariableIncluded.rb +27 -0
- data/lib/core/variable/VariableReference.rb +85 -0
- data/lib/error/FailedToFindStatementContainerError.rb +7 -0
- data/lib/error/FailedToFindStatementError.rb +7 -0
- data/lib/error/FailedToFindVariableError.rb +7 -0
- data/lib/error/FailedToLiteraliseError.rb +7 -0
- data/lib/error/FailedVariableMatch.rb +7 -0
- data/lib/error/ImproperStatementUsageError.rb +7 -0
- data/lib/error/IncompatiableRequirementsError.rb +7 -0
- data/lib/error/InvalidStatementError.rb +7 -0
- data/lib/error/MethodSizeError.rb +7 -0
- data/lib/error/RuntimeSyntaxError.rb +7 -0
- data/lib/error/UnexpectedStatementTypeError.rb +7 -0
- data/lib/error/UnknownStatementType.rb +7 -0
- data/lib/error/UnliteralisableError.rb +7 -0
- data/lib/implemented_chain.rb +34 -0
- data/lib/intrinsic/IntrinsicLastRuntimeMethod.rb +20 -0
- data/lib/intrinsic/IntrinsicLiteral.rb +26 -0
- data/lib/intrinsic/IntrinsicObject.rb +22 -0
- data/lib/intrinsic/IntrinsicRuntimeMethod.rb +27 -0
- data/lib/intrinsic/IntrinsicTestCases.rb +17 -0
- data/lib/logger/StandardLogger.rb +62 -0
- data/lib/required.rb +236 -0
- data/lib/ruby_code/Array.rb +95 -0
- data/lib/ruby_code/Fixnum.rb +39 -0
- data/lib/ruby_code/Hash.rb +25 -0
- data/lib/ruby_code/NilClass.rb +19 -0
- data/lib/ruby_code/Object.rb +24 -0
- data/lib/ruby_code/String.rb +86 -0
- data/lib/ruby_code/Symbol.rb +7 -0
- data/lib/standard_library/Tasks.rb +12 -0
- data/lib/theories.rb +143 -0
- data/lib/theory/ActionImplementation.rb +17 -0
- data/lib/theory/TheoryAction.rb +70 -0
- data/lib/theory/TheoryChainValidator.rb +101 -0
- data/lib/theory/TheoryComponent.rb +42 -0
- data/lib/theory/TheoryConnector.rb +755 -0
- data/lib/theory/TheoryDependent.rb +135 -0
- data/lib/theory/TheoryImplementation.rb +74 -0
- data/lib/theory/TheoryResult.rb +131 -0
- data/lib/theory/TheoryVariable.rb +63 -0
- data/lib/theory/theory_collection.rb +62 -0
- data/lib/util/ClassEvaluation.rb +68 -0
- data/lib/util/CodeEvaluation.rb +35 -0
- data/lib/util/DeclarationStatementEvaluation.rb +31 -0
- data/lib/util/MethodEvaluation.rb +49 -0
- data/lib/util/MethodTester.rb +71 -0
- data/lib/util/MethodValidation.rb +145 -0
- data/lib/util/MethodWriter.rb +66 -0
- data/lib/util/Parser.rb +299 -0
- data/lib/util/StatementCheck.rb +42 -0
- data/lib/util/StringToTheory.rb +119 -0
- data/lib/util/System.rb +8 -0
- data/spec/cauldron/pot_spec.rb +6 -0
- data/spec/cauldron/runtime_method_spec.rb +36 -0
- data/spec/cauldron/sexp_2_cauldron_spec.rb +26 -0
- data/spec/cauldron/terminal_spec.rb +38 -0
- data/spec/cauldron/theory_action_spec.rb +5 -0
- data/spec/spec_helper.rb +4 -0
- data/test/fixtures/chains/1/declaration.txt +26 -0
- data/test/fixtures/chains/1/dump +0 -0
- data/test/fixtures/chains/2/declaration.txt +26 -0
- data/test/fixtures/chains/2/dump +0 -0
- data/test/fixtures/chains/3/declaration.txt +26 -0
- data/test/fixtures/chains/3/dump +0 -0
- data/test/fixtures/implementation_results/0/declaration.txt +3 -0
- data/test/fixtures/implementation_results/0/dump +0 -0
- data/test/fixtures/theories/0/declaration.txt +9 -0
- data/test/fixtures/theories/0/desc +10 -0
- data/test/fixtures/theories/0/dump +0 -0
- data/test/fixtures/theories/1/declaration.txt +15 -0
- data/test/fixtures/theories/1/desc +11 -0
- data/test/fixtures/theories/1/dump +0 -0
- data/test/fixtures/theories/10/declaration.txt +23 -0
- data/test/fixtures/theories/10/desc +17 -0
- data/test/fixtures/theories/10/dump +0 -0
- data/test/fixtures/theories/11/declaration.txt +20 -0
- data/test/fixtures/theories/11/desc +14 -0
- data/test/fixtures/theories/11/dump +0 -0
- data/test/fixtures/theories/12/declaration.txt +18 -0
- data/test/fixtures/theories/12/desc +12 -0
- data/test/fixtures/theories/12/dump +0 -0
- data/test/fixtures/theories/13/declaration.txt +24 -0
- data/test/fixtures/theories/13/desc +20 -0
- data/test/fixtures/theories/13/dump +0 -0
- data/test/fixtures/theories/14/declaration.txt +26 -0
- data/test/fixtures/theories/14/desc +20 -0
- data/test/fixtures/theories/14/dump +0 -0
- data/test/fixtures/theories/15/declaration.txt +20 -0
- data/test/fixtures/theories/15/desc +14 -0
- data/test/fixtures/theories/15/dump +0 -0
- data/test/fixtures/theories/16/declaration.txt +30 -0
- data/test/fixtures/theories/16/desc +14 -0
- data/test/fixtures/theories/16/dump +0 -0
- data/test/fixtures/theories/17/declaration.txt +25 -0
- data/test/fixtures/theories/17/desc +11 -0
- data/test/fixtures/theories/17/dump +0 -0
- data/test/fixtures/theories/18/declaration.txt +23 -0
- data/test/fixtures/theories/18/desc +11 -0
- data/test/fixtures/theories/18/dump +0 -0
- data/test/fixtures/theories/19/declaration.txt +23 -0
- data/test/fixtures/theories/19/desc +11 -0
- data/test/fixtures/theories/19/dump +0 -0
- data/test/fixtures/theories/2/declaration.txt +12 -0
- data/test/fixtures/theories/2/desc +10 -0
- data/test/fixtures/theories/2/dump +0 -0
- data/test/fixtures/theories/20/declaration.txt +23 -0
- data/test/fixtures/theories/20/desc +17 -0
- data/test/fixtures/theories/20/dump +0 -0
- data/test/fixtures/theories/3/declaration.txt +19 -0
- data/test/fixtures/theories/3/desc +11 -0
- data/test/fixtures/theories/3/dump +0 -0
- data/test/fixtures/theories/4/declaration.txt +11 -0
- data/test/fixtures/theories/4/desc +11 -0
- data/test/fixtures/theories/4/dump +0 -0
- data/test/fixtures/theories/5/declaration.txt +6 -0
- data/test/fixtures/theories/5/desc +9 -0
- data/test/fixtures/theories/5/dump +0 -0
- data/test/fixtures/theories/6/declaration.txt +13 -0
- data/test/fixtures/theories/6/desc +11 -0
- data/test/fixtures/theories/6/dump +0 -0
- data/test/fixtures/theories/7/declaration.txt +19 -0
- data/test/fixtures/theories/7/desc +11 -0
- data/test/fixtures/theories/7/dump +0 -0
- data/test/fixtures/theories/8/declaration.txt +21 -0
- data/test/fixtures/theories/8/desc +11 -0
- data/test/fixtures/theories/8/dump +0 -0
- data/test/fixtures/theories/9/declaration.txt +24 -0
- data/test/fixtures/theories/9/desc +20 -0
- data/test/fixtures/theories/9/dump +0 -0
- data/test/fixtures/theory_implementations/0/declaration.txt +11 -0
- data/test/fixtures/theory_implementations/0/desc.txt +9 -0
- data/test/fixtures/theory_implementations/0/dump +0 -0
- data/test/fixtures/theory_implementations/0/theory_id +1 -0
- data/test/fixtures/theory_implementations/1/desc.txt +9 -0
- data/test/fixtures/theory_implementations/1/dump +0 -0
- data/test/fixtures/theory_implementations/1/theory_id +1 -0
- data/test/fixtures/theory_implementations/2/desc.txt +9 -0
- data/test/fixtures/theory_implementations/2/dump +0 -0
- data/test/fixtures/theory_implementations/2/theory_id +1 -0
- data/test/output/simple_method.txt +6 -0
- data/test/output/test_method/first_possible_method.txt +6 -0
- data/test/output/test_simple_cases/simple_case_01.txt +8 -0
- data/test/output/test_simple_cases/simple_case_02.txt +7 -0
- data/test/output/test_simple_cases/simple_case_03.txt +8 -0
- data/test/output/test_simple_cases/simple_case_04.txt +8 -0
- data/test/output/test_simple_cases/simple_case_05.txt +8 -0
- data/test/output/test_simple_cases/simple_case_06.txt +9 -0
- data/test/output/test_simple_cases/simple_case_07.txt +9 -0
- data/test/output/test_simple_cases/simple_case_08.txt +9 -0
- data/test/tc_contextual_variables.rb +87 -0
- data/test/tc_describe.rb +47 -0
- data/test/tc_method.rb +133 -0
- data/test/tc_requirement.rb +30 -0
- data/test/tc_suite_complete.rb +26 -0
- data/test/tc_variable.rb +52 -0
- data/test/ts_complete.rb +84 -0
- data/test/ts_stable.rb +81 -0
- data/test/unit/core/declaration/tc_literal_declaration.rb +34 -0
- data/test/unit/core/method_call/tc_class_call.rb +20 -0
- data/test/unit/core/runtime_method/tc_realised_runtime_method.rb +129 -0
- data/test/unit/core/runtime_method/tc_runtime_method.rb +616 -0
- data/test/unit/core/statement/tc_array_access.rb +63 -0
- data/test/unit/core/statement/tc_block_statement.rb +51 -0
- data/test/unit/core/statement/tc_hack_statement.rb +26 -0
- data/test/unit/core/statement/tc_open_statement.rb +70 -0
- data/test/unit/core/statement/tc_statement.rb +681 -0
- data/test/unit/core/statement/tc_statement_dependencies.rb +146 -0
- data/test/unit/core/statement/tc_statement_group.rb +35 -0
- data/test/unit/core/statement/tc_statement_replace_variable.rb +61 -0
- data/test/unit/core/statement/tc_theory_statement.rb +51 -0
- data/test/unit/core/structure/tc_declare_new_instance_structure.rb +41 -0
- data/test/unit/core/structure/tc_declare_variable_as_literal_structure.rb +41 -0
- data/test/unit/core/structure/tc_declare_variable_as_variable_structure.rb +66 -0
- data/test/unit/core/structure/tc_instance_call_container_structure.rb +41 -0
- data/test/unit/core/structure/tc_return_structure.rb +32 -0
- data/test/unit/core/syntax/tc_block_container.rb +32 -0
- data/test/unit/core/syntax/tc_if_container.rb +39 -0
- data/test/unit/core/tc_class_method_call.rb +34 -0
- data/test/unit/core/tc_container.rb +41 -0
- data/test/unit/core/tc_ctest_case.rb +25 -0
- data/test/unit/core/tc_instance_call_container.rb +93 -0
- data/test/unit/core/tc_literal.rb +30 -0
- data/test/unit/core/tc_theory_generator.rb +336 -0
- data/test/unit/core/tc_theory_generator_heavy.rb +42 -0
- data/test/unit/core/tracking/tc_history.rb +102 -0
- data/test/unit/core/tracking/tc_step.rb +65 -0
- data/test/unit/core/variable/tc_array_variable.rb +61 -0
- data/test/unit/core/variable/tc_block_variable.rb +17 -0
- data/test/unit/core/variable/tc_fixnum_variable.rb +54 -0
- data/test/unit/core/variable/tc_method_parameter_variable.rb +22 -0
- data/test/unit/core/variable/tc_runtime_method_variable.rb +32 -0
- data/test/unit/core/variable/tc_string_variable.rb +37 -0
- data/test/unit/core/variable/tc_unknown.rb +24 -0
- data/test/unit/core/variable/tc_variable_reference.rb +28 -0
- data/test/unit/ruby_code/tc_array.rb +64 -0
- data/test/unit/ruby_code/tc_fixnum.rb +18 -0
- data/test/unit/ruby_code/tc_hash.rb +41 -0
- data/test/unit/ruby_code/tc_string.rb +38 -0
- data/test/unit/tc_chain.rb +434 -0
- data/test/unit/tc_chain_mapping.rb +62 -0
- data/test/unit/tc_chain_with_case_1.rb +169 -0
- data/test/unit/tc_instance_call.rb +40 -0
- data/test/unit/tc_instance_call_structure.rb +35 -0
- data/test/unit/tc_method_usage.rb +35 -0
- data/test/unit/tc_pot.rb +124 -0
- data/test/unit/tc_runtime_tracking_method.rb +40 -0
- data/test/unit/tc_statement_structure_2.rb +43 -0
- data/test/unit/tc_theory.rb +533 -0
- data/test/unit/tc_variable_declaration.rb +32 -0
- data/test/unit/theory/tc_theory_action.rb +80 -0
- data/test/unit/theory/tc_theory_action_implementation.rb +23 -0
- data/test/unit/theory/tc_theory_chain_validator.rb +340 -0
- data/test/unit/theory/tc_theory_connector.rb +396 -0
- data/test/unit/theory/tc_theory_dependent.rb +151 -0
- data/test/unit/theory/tc_theory_implementation.rb +133 -0
- data/test/unit/theory/tc_theory_result.rb +111 -0
- data/test/unit/theory/tc_theory_variable.rb +45 -0
- data/test/unit/util/tc_method_validation.rb +98 -0
- data/test/unit/util/tc_parser.rb +108 -0
- data/test/unit/util/tc_string_to_theory.rb +299 -0
- data/test/unit/variable/tc_method_usage_variable.rb +25 -0
- data/tmp/runtime_method_evaluation.rb +10 -0
- metadata +522 -0
@@ -0,0 +1,299 @@
|
|
1
|
+
require 'required'
|
2
|
+
require 'test/unit'
|
3
|
+
|
4
|
+
|
5
|
+
class TestStringToTheory < Test::Unit::TestCase
|
6
|
+
|
7
|
+
def setup
|
8
|
+
|
9
|
+
end
|
10
|
+
|
11
|
+
def teardown
|
12
|
+
System.reset
|
13
|
+
RuntimeMethod.reset_global_id
|
14
|
+
end
|
15
|
+
|
16
|
+
def test_run_1
|
17
|
+
assert(StringToTheory.run('var6 = 8').kind_of?(Statement))
|
18
|
+
assert_equal("#{TheoryVariable.variable_colour(4)}var4#{TheoryVariable::NORMAL} = 7",StringToTheory.run('var4 = 7').describe)
|
19
|
+
assert_equal(9,StringToTheory.run('var8 = 9')[2].value)
|
20
|
+
assert(StringToTheory.run('var8 = 9')[0].kind_of?(TheoryVariable))
|
21
|
+
assert_equal(8,StringToTheory.run('var8 = 9')[0].theory_variable_id)
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_run_2
|
25
|
+
assert_equal(
|
26
|
+
"#{TheoryVariable.variable_colour(5)}var5#{TheoryVariable::NORMAL} = 'enterprise'",
|
27
|
+
StringToTheory.run("var5 = 'enterprise'").describe
|
28
|
+
)
|
29
|
+
assert_equal(5,StringToTheory.run("var5 = 'enterprise'")[0].theory_variable_id)
|
30
|
+
assert_equal("'enterprise'",StringToTheory.run("var5 = 'enterprise'")[2].describe)
|
31
|
+
assert_equal(3,StringToTheory.run("var5 = 'enterprise'").length)
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_run_3
|
35
|
+
assert_raises(StandardError){StringToTheory.run("var4 = sadfasfdsa")}
|
36
|
+
end
|
37
|
+
|
38
|
+
def test_run_4
|
39
|
+
assert_equal(
|
40
|
+
'runtime_method.params[0].length',
|
41
|
+
StringToTheory.run('runtime_method.params[0].length').write
|
42
|
+
)
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_run_instance_calls
|
46
|
+
assert_equal(
|
47
|
+
"#{TheoryVariable.variable_colour(8)}var8#{TheoryVariable::NORMAL} = #{TheoryVariable.variable_colour(6)}var9#{TheoryVariable::NORMAL}.chop",
|
48
|
+
StringToTheory.run("var8 = var9.chop").describe
|
49
|
+
)
|
50
|
+
assert_equal(
|
51
|
+
"#{TheoryVariable.variable_colour(8)}var8#{TheoryVariable::NORMAL} = #{TheoryVariable.variable_colour(9)}var9#{TheoryVariable::NORMAL}.length",
|
52
|
+
StringToTheory.run("var8 = var9.length").describe
|
53
|
+
)
|
54
|
+
end
|
55
|
+
|
56
|
+
# NOTE I need to create the theories like real statements since I'm
|
57
|
+
# using the Racc:Parser.
|
58
|
+
#
|
59
|
+
def test_run_with_if_statement
|
60
|
+
assert_equal(
|
61
|
+
"#{TheoryVariable.variable_colour(6)}var6#{TheoryVariable::NORMAL}[7]",
|
62
|
+
StringToTheory.run("var6[7]").describe
|
63
|
+
)
|
64
|
+
assert_equal(
|
65
|
+
"#{TheoryVariable.variable_colour(6)}var6#{TheoryVariable::NORMAL} == 7",
|
66
|
+
StringToTheory.run("var6 == 7").describe
|
67
|
+
)
|
68
|
+
assert_equal(
|
69
|
+
"if(#{TheoryVariable.variable_colour(6)}var6#{TheoryVariable::NORMAL} == 7)\nend\n",
|
70
|
+
StringToTheory.run("if(var6 == 7)\nend").describe
|
71
|
+
)
|
72
|
+
assert_equal(
|
73
|
+
"if(#{TheoryVariable.variable_colour(1)}var1#{TheoryVariable::NORMAL} == #{TheoryVariable.variable_colour(2)}var2#{TheoryVariable::NORMAL})\nend\n",
|
74
|
+
StringToTheory.run("if(var1 == var2)\nend").describe
|
75
|
+
)
|
76
|
+
assert_equal(
|
77
|
+
"if(#{TheoryVariable.variable_colour(1)}var1#{TheoryVariable::NORMAL}.length == #{TheoryVariable.variable_colour(2)}var2#{TheoryVariable::NORMAL}.length)\nend\n",
|
78
|
+
StringToTheory.run("if(var1.length == var2.length)\nend").describe
|
79
|
+
)
|
80
|
+
assert(StringToTheory.run("if(var1.length == var2.length)\nend\n").kind_of?(OpenStatement))
|
81
|
+
end
|
82
|
+
|
83
|
+
def test_run_with_a_return
|
84
|
+
assert_equal(
|
85
|
+
"return #{TheoryVariable.variable_colour(8)}var8#{TheoryVariable::NORMAL}",
|
86
|
+
StringToTheory.run('return var8').describe
|
87
|
+
)
|
88
|
+
assert_equal(
|
89
|
+
'TheoryStatement',
|
90
|
+
StringToTheory.run('return var8').class.to_s
|
91
|
+
)
|
92
|
+
end
|
93
|
+
|
94
|
+
def test_variable_assignment
|
95
|
+
# var1.length = var2.length
|
96
|
+
assert_equal(
|
97
|
+
"#{TheoryVariable.variable_colour(1)}var1#{TheoryVariable::NORMAL}.length = #{TheoryVariable.variable_colour(2)}var2#{TheoryVariable::NORMAL}.length",
|
98
|
+
StringToTheory.run("var1.length = var2.length").describe
|
99
|
+
)
|
100
|
+
end
|
101
|
+
|
102
|
+
def test_run_with_action_1
|
103
|
+
assert_equal(
|
104
|
+
"Statement.new(Return.new, #{TheoryVariable.variable_colour(1)}var1#{TheoryVariable::NORMAL}.params[0])",
|
105
|
+
StringToTheory.run('Statement.new(Return.new, var1.params[0])').describe
|
106
|
+
)
|
107
|
+
end
|
108
|
+
|
109
|
+
def test_run_instance_declaration
|
110
|
+
assert_equal(
|
111
|
+
"Statement.new(Return.new, InstanceCallContainer.new(#{TheoryVariable.variable_colour(1)}var1#{TheoryVariable::NORMAL}.params[0], StringLength.new))",
|
112
|
+
StringToTheory.run('Statement.new(Return.new,InstanceCallContainer.new(var1.params[0], StringLength.new))').describe
|
113
|
+
)
|
114
|
+
end
|
115
|
+
|
116
|
+
def test_run_with_a_addition_statement
|
117
|
+
assert_equal(
|
118
|
+
'Statement.new(Parser.run)',
|
119
|
+
StringToTheory.run('Statement.new(Parser.run)').write
|
120
|
+
)
|
121
|
+
assert_equal(
|
122
|
+
"Statement.new(Parser.run('var1 = var3'))",
|
123
|
+
StringToTheory.run('Statement.new(Parser.run("var1 = var3"))').write
|
124
|
+
)
|
125
|
+
assert_equal(
|
126
|
+
"Statement.new(Parser.run('var1 = var3 + var4'))",
|
127
|
+
StringToTheory.run("Statement.new(Parser.run(\"var1 = var3 + var4\"))").write
|
128
|
+
)
|
129
|
+
end
|
130
|
+
|
131
|
+
def test_run_with_inline_declarations
|
132
|
+
assert_equal(
|
133
|
+
"Parser.run('var = var1 + var2')",
|
134
|
+
StringToTheory.run('Parser.run("var = var1 + var2")').write
|
135
|
+
)
|
136
|
+
assert_equal(
|
137
|
+
true,
|
138
|
+
StringToTheory.run('Parser.run("var = var1 + var2")').kind_of?(ClassMethodCallContainer)
|
139
|
+
)
|
140
|
+
theory_statement = TheoryStatement.new(StringToTheory.run('Parser.run("var = var1 + var2")'))
|
141
|
+
#
|
142
|
+
# TODO Currently this wouldn't be true because 'var = var1 + var2' is parsed as
|
143
|
+
# a single string. I'm not sure I want to go down that road.
|
144
|
+
#assert_equal(2,theory_statement.select_all?({|x| x.kind_of?(TheoryVariable)})
|
145
|
+
end
|
146
|
+
|
147
|
+
def test_run_with_addition_statement_declaration
|
148
|
+
assert_equal(
|
149
|
+
"Statement.new(Unknown.new, Equal.new, #{TheoryVariable.variable_colour(4)}var4#{TheoryVariable::NORMAL}.params[0], Addition.new, #{TheoryVariable.variable_colour(4)}var4#{TheoryVariable::NORMAL}.params[1])",
|
150
|
+
StringToTheory.run('Statement.new(Unknown.new, Equal.new, var4.params[0], Addition.new, var4.params[1])').describe
|
151
|
+
)
|
152
|
+
end
|
153
|
+
|
154
|
+
def test_run_with_kind_of_statement
|
155
|
+
assert_nothing_raised(){
|
156
|
+
StringToTheory.run("if(var1.kind_of?(RuntimeMethod))\nend")
|
157
|
+
}
|
158
|
+
assert_equal(
|
159
|
+
"if(#{TheoryVariable.variable_colour(1)}var1#{TheoryVariable::NORMAL}.kind_of?(RuntimeMethod))\nend\n",
|
160
|
+
StringToTheory.run("if(var1.kind_of?(RuntimeMethod))\nend").describe
|
161
|
+
)
|
162
|
+
assert_nothing_raised(){
|
163
|
+
StringToTheory.run("if(var1.kind_of?(Fixnum))\nend")
|
164
|
+
}
|
165
|
+
end
|
166
|
+
|
167
|
+
def test_run_with_history_calls
|
168
|
+
# <history>.any? { |var1| var1.include? <statement>.id }
|
169
|
+
assert_nothing_raised(){ StringToTheory.run("var1.any? { |var3| var2.include? var3.statement_id }") }
|
170
|
+
end
|
171
|
+
|
172
|
+
def test_run_with_complex_block_statement
|
173
|
+
assert_nothing_raised() {
|
174
|
+
StringToTheory.run("var1.any? do |var3|\nvar2 = var1.chop\nend")
|
175
|
+
}
|
176
|
+
assert_equal(
|
177
|
+
"#{TheoryVariable.variable_colour(1)}var1#{TheoryVariable::NORMAL}.any?{ |#{TheoryVariable.variable_colour(3)}var3#{TheoryVariable::NORMAL}| #{TheoryVariable.variable_colour(2)}var2#{TheoryVariable::NORMAL} = #{TheoryVariable.variable_colour(1)}var1#{TheoryVariable::NORMAL}.chop} ",
|
178
|
+
StringToTheory.run("var1.any? do |var3|\nvar2 = var1.chop\nend").describe
|
179
|
+
)
|
180
|
+
end
|
181
|
+
|
182
|
+
def test_run_with_kind_of_ctest_case
|
183
|
+
assert_nothing_raised(){
|
184
|
+
StringToTheory.run("var1.kind_of?(CTestCase)")
|
185
|
+
}
|
186
|
+
assert_equal(
|
187
|
+
"#{TheoryVariable.variable_colour(1)}var1#{TheoryVariable::NORMAL}.kind_of?(CTestCase)",
|
188
|
+
StringToTheory.run("var1.kind_of?(CTestCase)").describe
|
189
|
+
)
|
190
|
+
end
|
191
|
+
|
192
|
+
def test_statements_are_not_equal
|
193
|
+
|
194
|
+
assert_nothing_raised(){
|
195
|
+
StringToTheory.run("var1 != var2")
|
196
|
+
}
|
197
|
+
|
198
|
+
# e.g. <var2>[<var3>][:params][<var6>] != <var2>[<var4>][:params][<var6>]
|
199
|
+
assert_nothing_raised(){
|
200
|
+
StringToTheory.run("var2[var3][:params][var6] != var2[var4][:params][var6]")
|
201
|
+
}
|
202
|
+
assert_equal(
|
203
|
+
"#{TheoryVariable.variable_colour(2)}var2#{TheoryVariable::NORMAL}[#{TheoryVariable.variable_colour(3)}var3#{TheoryVariable::NORMAL}][:params][#{TheoryVariable.variable_colour(6)}var6#{TheoryVariable::NORMAL}] != #{TheoryVariable.variable_colour(2)}var2#{TheoryVariable::NORMAL}[#{TheoryVariable.variable_colour(4)}var4#{TheoryVariable::NORMAL}][:params][#{TheoryVariable.variable_colour(6)}var6#{TheoryVariable::NORMAL}]",
|
204
|
+
StringToTheory.run("var2[var3][:params][var6] != var2[var4][:params][var6]").describe
|
205
|
+
)
|
206
|
+
end
|
207
|
+
|
208
|
+
def test_not_pass
|
209
|
+
# assert_equal(
|
210
|
+
# "if(!var1.pass?(var2[var4]))\nend",
|
211
|
+
|
212
|
+
# TODO Doesn't appear to differentiate - is it a problem with the parser
|
213
|
+
# StringToTheory.run("if(!var1.pass?(var2[var4]))\nend").write
|
214
|
+
# StringToTheory.run("if(var1.pass?(var2[var4]))\nend").write
|
215
|
+
#)
|
216
|
+
assert_nothing_raised(){StringToTheory.run("if(var1.pass?(var2[var4])==false)\nend")}
|
217
|
+
assert_equal(
|
218
|
+
"if(var1.pass?(var2[var4]) == false)\nend",
|
219
|
+
StringToTheory.run("if(var1.pass?(var2[var4])==false)\nend").write
|
220
|
+
)
|
221
|
+
|
222
|
+
end
|
223
|
+
|
224
|
+
def test_double_negative
|
225
|
+
assert_equal(
|
226
|
+
"if((var2 == var3) == false)\n\treturn true\nend",
|
227
|
+
StringToTheory.run("if((var2 == var3)== false)\nreturn true\nend").write
|
228
|
+
)
|
229
|
+
assert_equal(
|
230
|
+
"if((var1.history(var2[var4][:params]).any?{ |x| x.statement_id == var8.statement_id} ) == false)\nend",
|
231
|
+
StringToTheory.run("if((var1.history(var2[var4][:params]).any?{ |x| x.statement_id == var8.statement_id})==false )\nend").write
|
232
|
+
)
|
233
|
+
assert_equal(
|
234
|
+
"if(var1.history(var2[var4][:params]).any?{ |x| x.statement_id != var8.statement_id} )\nend",
|
235
|
+
StringToTheory.run("if(var1.history(var2[var4][:params]).any? { |x| x.statement_id != var8.statement_id })\nend").write
|
236
|
+
)
|
237
|
+
end
|
238
|
+
|
239
|
+
def test_custom_statements_1
|
240
|
+
# e.g. <var9> == (<var5>[:params][<var6>].length+1)
|
241
|
+
assert_nothing_raised(){
|
242
|
+
StringToTheory.run("var9 == (var5[:params][var6].length+1)")
|
243
|
+
}
|
244
|
+
assert_nothing_raised(){
|
245
|
+
StringToTheory.run("if(var9 == (var5[:params][var6].length+1))\nend")
|
246
|
+
}
|
247
|
+
assert_nothing_raised(){
|
248
|
+
StringToTheory.run("IfStatement.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output])")
|
249
|
+
}
|
250
|
+
assert_equal(
|
251
|
+
5,
|
252
|
+
StringToTheory.run("IfStatement.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output])").select_all {|x| x.kind_of?(ArrayAccess)}.length
|
253
|
+
)
|
254
|
+
# <var1>.history(<var2>[<var3>][:params]).any? { |x| x.statement_id == <var8>.statement_id }
|
255
|
+
assert_nothing_raised(){
|
256
|
+
StringToTheory.run("var1.history(var2[var3][:params]).any? { |x| x.statement_id == var8.statement_id }")
|
257
|
+
}
|
258
|
+
assert_nothing_raised(){
|
259
|
+
StringToTheory.run("if(var1.history(var2[var3][:params]).any? { |x| x.statement_id == var8.statement_id })\nend")
|
260
|
+
}
|
261
|
+
# <var1>.history(<var2>[<var4>][:params]).any? { |x| x.statement_id != <var8>.statement_id }
|
262
|
+
assert_nothing_raised(){
|
263
|
+
StringToTheory.run("var1.history(var2[var4][:params]).any? { |x| x.statement_id != var8.statement_id }")
|
264
|
+
}
|
265
|
+
assert_nothing_raised(){
|
266
|
+
StringToTheory.run("if(var1.history(var2[var4][:params]).any? { |x| x.statement_id != var8.statement_id })\nend")
|
267
|
+
}
|
268
|
+
assert_equal(
|
269
|
+
"if(var1.history(var2[var4][:params]).any?{ |x| x.statement_id != var8.statement_id} )\nend",
|
270
|
+
StringToTheory.run("if(var1.history(var2[var4][:params]).any? { |x| x.statement_id != var8.statement_id })\nend").write
|
271
|
+
)
|
272
|
+
assert_equal(
|
273
|
+
"if((var1.history(var2[var4][:params]).any?{ |x| x.statement_id == var8.statement_id} ) == false)\nend",
|
274
|
+
StringToTheory.run("if((var1.history(var2[var4][:params]).any?{ |x| x.statement_id == var8.statement_id})==false )\nend").write
|
275
|
+
)
|
276
|
+
assert_equal(
|
277
|
+
"Statement.new(Return.new, var2[var3][:output])",
|
278
|
+
StringToTheory.run("Statement.new(Return.new,var2[var3][:output])").write
|
279
|
+
)
|
280
|
+
assert_equal(
|
281
|
+
"var1.pass?(var2[var3])",
|
282
|
+
StringToTheory.run("var1.pass?(var2[var3])").write
|
283
|
+
)
|
284
|
+
assert_not_equal(
|
285
|
+
"var1.pass?(var2[var3])",
|
286
|
+
StringToTheory.run("var1.pass?(var2[var4])").write
|
287
|
+
)
|
288
|
+
# The parser doesn't seem to support the ! syntax here
|
289
|
+
assert_not_equal(
|
290
|
+
"if(!var1.pass?(var2[var4]))\nend",
|
291
|
+
StringToTheory.run("if(!var1.pass?(var2[var4]))\nend").write
|
292
|
+
)
|
293
|
+
assert_equal(
|
294
|
+
"if((var2[var3] == var2[var4]) == false)\n\treturn true\nend",
|
295
|
+
StringToTheory.run("if((var2[var3] == var2[var4])== false)\nreturn true\nend").write
|
296
|
+
)
|
297
|
+
end
|
298
|
+
|
299
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'required'
|
2
|
+
require 'test/unit'
|
3
|
+
|
4
|
+
class TestMethodUsageVariable < Test::Unit::TestCase
|
5
|
+
|
6
|
+
def setup
|
7
|
+
@empty_method_usage = MethodUsage.new.to_var
|
8
|
+
end
|
9
|
+
|
10
|
+
def teardown
|
11
|
+
System.reset
|
12
|
+
RuntimeMethod.reset_global_id
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_to_declaration
|
16
|
+
assert(@empty_method_usage.to_declaration.kind_of?(VariableDeclaration))
|
17
|
+
assert_not_nil(@empty_method_usage.to_declaration.write,'Should write out command to create array variable')
|
18
|
+
assert_equal('MethodUsageVariable.new()',@empty_method_usage.to_declaration.write)
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_copy
|
22
|
+
assert_equal(@empty_method_usage.variable_id,@empty_method_usage.copy.variable_id)
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,522 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cauldron
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Warren Sangster
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-06-09 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
22
|
+
none: false
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
hash: 3
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
version: "0"
|
30
|
+
type: :development
|
31
|
+
requirement: *id001
|
32
|
+
prerelease: false
|
33
|
+
name: shoulda
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
hash: 9
|
41
|
+
segments:
|
42
|
+
- 1
|
43
|
+
- 0
|
44
|
+
- 15
|
45
|
+
version: 1.0.15
|
46
|
+
type: :development
|
47
|
+
requirement: *id002
|
48
|
+
prerelease: false
|
49
|
+
name: bundler
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 11
|
57
|
+
segments:
|
58
|
+
- 1
|
59
|
+
- 6
|
60
|
+
- 2
|
61
|
+
version: 1.6.2
|
62
|
+
type: :development
|
63
|
+
requirement: *id003
|
64
|
+
prerelease: false
|
65
|
+
name: jeweler
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
76
|
+
type: :development
|
77
|
+
requirement: *id004
|
78
|
+
prerelease: false
|
79
|
+
name: rcov
|
80
|
+
description: Cauldron generates a methd from a number of examples that describe the input and the expected output. It is still at a very early stage of development right now so you're unlikely to get much practical use out of it.
|
81
|
+
email: warrensangster@yahoo.com
|
82
|
+
executables:
|
83
|
+
- cauldron
|
84
|
+
extensions: []
|
85
|
+
|
86
|
+
extra_rdoc_files:
|
87
|
+
- LICENSE.txt
|
88
|
+
- README
|
89
|
+
- README.rdoc
|
90
|
+
files:
|
91
|
+
- .document
|
92
|
+
- Gemfile
|
93
|
+
- LICENSE.txt
|
94
|
+
- README
|
95
|
+
- README.rdoc
|
96
|
+
- Rakefile
|
97
|
+
- VERSION
|
98
|
+
- bin/cauldron
|
99
|
+
- cauldron/.autotest
|
100
|
+
- cauldron/History.txt
|
101
|
+
- cauldron/Manifest.txt
|
102
|
+
- cauldron/README.txt
|
103
|
+
- cauldron/Rakefile
|
104
|
+
- cauldron/bin/cauldron
|
105
|
+
- cauldron/lib/cauldron.rb
|
106
|
+
- cauldron/test/test_cauldron.rb
|
107
|
+
- features/cauldron_example_cases.feature
|
108
|
+
- features/cauldron_generates_runtime_method.feature
|
109
|
+
- features/cauldron_start_terminal.feature
|
110
|
+
- features/step_definitions/cauldron_steps.rb
|
111
|
+
- features/step_definitions/terminal_steps.rb
|
112
|
+
- features/support/env.rb
|
113
|
+
- lib/Chain.rb
|
114
|
+
- lib/ChainMapping.rb
|
115
|
+
- lib/CodeHandler.rb
|
116
|
+
- lib/Mapping.rb
|
117
|
+
- lib/MappingValues.rb
|
118
|
+
- lib/ScopeDependencies.rb
|
119
|
+
- lib/Theory.rb
|
120
|
+
- lib/UnifiedChain.rb
|
121
|
+
- lib/cauldron.rb
|
122
|
+
- lib/cauldron/conversion.rb
|
123
|
+
- lib/cauldron/pot.rb
|
124
|
+
- lib/cauldron/sexp2cauldron.rb
|
125
|
+
- lib/cauldron/terminal.rb
|
126
|
+
- lib/cauldron/theory_factory.rb
|
127
|
+
- lib/core/ActsAsCode.rb
|
128
|
+
- lib/core/BlockToken.rb
|
129
|
+
- lib/core/CCall.rb
|
130
|
+
- lib/core/CTestCase.rb
|
131
|
+
- lib/core/ClassMethodCallContainer.rb
|
132
|
+
- lib/core/Container.rb
|
133
|
+
- lib/core/InstanceCallContainer.rb
|
134
|
+
- lib/core/MethodUsage.rb
|
135
|
+
- lib/core/PrintVariables.rb
|
136
|
+
- lib/core/TheoryGenerator.rb
|
137
|
+
- lib/core/Token.rb
|
138
|
+
- lib/core/assignment/Assignment.rb
|
139
|
+
- lib/core/assignment/Equal.rb
|
140
|
+
- lib/core/assignment/Equivalent.rb
|
141
|
+
- lib/core/assignment/NotEqual.rb
|
142
|
+
- lib/core/call_container/CallContainer.rb
|
143
|
+
- lib/core/class_method_call/New.rb
|
144
|
+
- lib/core/class_method_call/RuntimeClassMethodCall.rb
|
145
|
+
- lib/core/declaration/Declaration.rb
|
146
|
+
- lib/core/declaration/LiteralDeclaration.rb
|
147
|
+
- lib/core/declaration/VariableDeclaration.rb
|
148
|
+
- lib/core/instance_call/ArrayEach.rb
|
149
|
+
- lib/core/instance_call/ArrayLength.rb
|
150
|
+
- lib/core/instance_call/Chop.rb
|
151
|
+
- lib/core/instance_call/Copy.rb
|
152
|
+
- lib/core/instance_call/DeclaredVariable.rb
|
153
|
+
- lib/core/instance_call/InstanceCall.rb
|
154
|
+
- lib/core/instance_call/Params.rb
|
155
|
+
- lib/core/instance_call/Push.rb
|
156
|
+
- lib/core/instance_call/StringLength.rb
|
157
|
+
- lib/core/instance_call/Times.rb
|
158
|
+
- lib/core/instance_call/instance_calls.rb
|
159
|
+
- lib/core/instance_call/length_equal.rb
|
160
|
+
- lib/core/kernal/EvalCall.rb
|
161
|
+
- lib/core/kernal/LocalVariablesCall.rb
|
162
|
+
- lib/core/literal/Literal.rb
|
163
|
+
- lib/core/literal/Raw.rb
|
164
|
+
- lib/core/literal/RuntimeMethodLiteral.rb
|
165
|
+
- lib/core/literal/StatementLiteral.rb
|
166
|
+
- lib/core/method_call/AvailableVariablesCall.rb
|
167
|
+
- lib/core/method_call/ClassCall.rb
|
168
|
+
- lib/core/method_call/DefCall.rb
|
169
|
+
- lib/core/method_call/EvaluateClassCall.rb
|
170
|
+
- lib/core/method_call/MethodNameCall.rb
|
171
|
+
- lib/core/method_call/ToDeclarationCall.rb
|
172
|
+
- lib/core/requirement/Requirement.rb
|
173
|
+
- lib/core/runtime_class/ArrayClass.rb
|
174
|
+
- lib/core/runtime_class/ClassCallClass.rb
|
175
|
+
- lib/core/runtime_class/ClassEvaluationClass.rb
|
176
|
+
- lib/core/runtime_class/ClassName.rb
|
177
|
+
- lib/core/runtime_class/DefCallClass.rb
|
178
|
+
- lib/core/runtime_class/EqualClass.rb
|
179
|
+
- lib/core/runtime_class/FixnumClass.rb
|
180
|
+
- lib/core/runtime_class/IfStatementClass.rb
|
181
|
+
- lib/core/runtime_class/InstanceCallClass.rb
|
182
|
+
- lib/core/runtime_class/InstanceCallContainerClass.rb
|
183
|
+
- lib/core/runtime_class/InstanceClassCallClass.rb
|
184
|
+
- lib/core/runtime_class/LiteralClass.rb
|
185
|
+
- lib/core/runtime_class/MethodParameterClass.rb
|
186
|
+
- lib/core/runtime_class/MethodUsageClass.rb
|
187
|
+
- lib/core/runtime_class/RequirementClass.rb
|
188
|
+
- lib/core/runtime_class/ReturnClass.rb
|
189
|
+
- lib/core/runtime_class/RuntimeClass.rb
|
190
|
+
- lib/core/runtime_class/RuntimeClassClass.rb
|
191
|
+
- lib/core/runtime_class/RuntimeMethodClass.rb
|
192
|
+
- lib/core/runtime_class/StatementClass.rb
|
193
|
+
- lib/core/runtime_class/StringClass.rb
|
194
|
+
- lib/core/runtime_class/StringLengthClass.rb
|
195
|
+
- lib/core/runtime_class/StringVariableClass.rb
|
196
|
+
- lib/core/runtime_class/ThisClass.rb
|
197
|
+
- lib/core/runtime_class/UnknownClass.rb
|
198
|
+
- lib/core/runtime_class/class_names.rb
|
199
|
+
- lib/core/runtime_class/runtime_class.rb
|
200
|
+
- lib/core/runtime_method/ActsAsRuntimeMethod.rb
|
201
|
+
- lib/core/runtime_method/ParametersContainer.rb
|
202
|
+
- lib/core/runtime_method/RealisedRuntimeMethod.rb
|
203
|
+
- lib/core/runtime_method/RuntimeMethod.rb
|
204
|
+
- lib/core/runtime_method/WriteParameters.rb
|
205
|
+
- lib/core/statement/ActsAsStatement.rb
|
206
|
+
- lib/core/statement/ArrayAccess.rb
|
207
|
+
- lib/core/statement/BlockStatement.rb
|
208
|
+
- lib/core/statement/DeclarationStatement.rb
|
209
|
+
- lib/core/statement/HackStatement.rb
|
210
|
+
- lib/core/statement/HashAccess.rb
|
211
|
+
- lib/core/statement/OpenStatement.rb
|
212
|
+
- lib/core/statement/RealisedStatement.rb
|
213
|
+
- lib/core/statement/SingleLineBlockStatement.rb
|
214
|
+
- lib/core/statement/Statement.rb
|
215
|
+
- lib/core/statement/StatementDependencies.rb
|
216
|
+
- lib/core/statement/StatementGroup.rb
|
217
|
+
- lib/core/statement/StatementStructure2.rb
|
218
|
+
- lib/core/statement/TheoryStatement.rb
|
219
|
+
- lib/core/statement/TopologicalStatements.rb
|
220
|
+
- lib/core/structure/DeclareNewInstanceStructure.rb
|
221
|
+
- lib/core/structure/DeclareRuntimeMethodStructure.rb
|
222
|
+
- lib/core/structure/DeclareVariableAsLiteralStructure.rb
|
223
|
+
- lib/core/structure/DeclareVariableAsVariableStructure.rb
|
224
|
+
- lib/core/structure/FixnumAdditionStructure.rb
|
225
|
+
- lib/core/structure/InstanceCallContainerStructure.rb
|
226
|
+
- lib/core/structure/InstanceCallStructure.rb
|
227
|
+
- lib/core/structure/InstanceMethodCallStructure.rb
|
228
|
+
- lib/core/structure/ReturnStructure.rb
|
229
|
+
- lib/core/structure/StatementStructure.rb
|
230
|
+
- lib/core/syntax/Addition.rb
|
231
|
+
- lib/core/syntax/BlockContainer.rb
|
232
|
+
- lib/core/syntax/Boolean.rb
|
233
|
+
- lib/core/syntax/Code.rb
|
234
|
+
- lib/core/syntax/Do.rb
|
235
|
+
- lib/core/syntax/False.rb
|
236
|
+
- lib/core/syntax/If.rb
|
237
|
+
- lib/core/syntax/IfContainer.rb
|
238
|
+
- lib/core/syntax/Nil.rb
|
239
|
+
- lib/core/syntax/Return.rb
|
240
|
+
- lib/core/syntax/Subtract.rb
|
241
|
+
- lib/core/syntax/This.rb
|
242
|
+
- lib/core/syntax/True.rb
|
243
|
+
- lib/core/syntax/syntax.rb
|
244
|
+
- lib/core/tracking/ActsAsTrackable.rb
|
245
|
+
- lib/core/tracking/History.rb
|
246
|
+
- lib/core/tracking/RuntimeTrackingMethod.rb
|
247
|
+
- lib/core/tracking/Step.rb
|
248
|
+
- lib/core/variable/ArrayVariable.rb
|
249
|
+
- lib/core/variable/BaseVariable.rb
|
250
|
+
- lib/core/variable/BlockVariable.rb
|
251
|
+
- lib/core/variable/FixnumVariable.rb
|
252
|
+
- lib/core/variable/HistoryVariable.rb
|
253
|
+
- lib/core/variable/MethodParameter.rb
|
254
|
+
- lib/core/variable/MethodUsageVariable.rb
|
255
|
+
- lib/core/variable/NilVariable.rb
|
256
|
+
- lib/core/variable/RuntimeMethodParameter.rb
|
257
|
+
- lib/core/variable/StatementVariable.rb
|
258
|
+
- lib/core/variable/StepVariable.rb
|
259
|
+
- lib/core/variable/StringVariable.rb
|
260
|
+
- lib/core/variable/TypeVariable.rb
|
261
|
+
- lib/core/variable/Unknown.rb
|
262
|
+
- lib/core/variable/UnknownVariable.rb
|
263
|
+
- lib/core/variable/Variable.rb
|
264
|
+
- lib/core/variable/VariableContainer.rb
|
265
|
+
- lib/core/variable/VariableIncluded.rb
|
266
|
+
- lib/core/variable/VariableReference.rb
|
267
|
+
- lib/error/FailedToFindStatementContainerError.rb
|
268
|
+
- lib/error/FailedToFindStatementError.rb
|
269
|
+
- lib/error/FailedToFindVariableError.rb
|
270
|
+
- lib/error/FailedToLiteraliseError.rb
|
271
|
+
- lib/error/FailedVariableMatch.rb
|
272
|
+
- lib/error/ImproperStatementUsageError.rb
|
273
|
+
- lib/error/IncompatiableRequirementsError.rb
|
274
|
+
- lib/error/InvalidStatementError.rb
|
275
|
+
- lib/error/MethodSizeError.rb
|
276
|
+
- lib/error/RuntimeSyntaxError.rb
|
277
|
+
- lib/error/UnexpectedStatementTypeError.rb
|
278
|
+
- lib/error/UnknownStatementType.rb
|
279
|
+
- lib/error/UnliteralisableError.rb
|
280
|
+
- lib/implemented_chain.rb
|
281
|
+
- lib/intrinsic/IntrinsicLastRuntimeMethod.rb
|
282
|
+
- lib/intrinsic/IntrinsicLiteral.rb
|
283
|
+
- lib/intrinsic/IntrinsicObject.rb
|
284
|
+
- lib/intrinsic/IntrinsicRuntimeMethod.rb
|
285
|
+
- lib/intrinsic/IntrinsicTestCases.rb
|
286
|
+
- lib/logger/StandardLogger.rb
|
287
|
+
- lib/required.rb
|
288
|
+
- lib/ruby_code/Array.rb
|
289
|
+
- lib/ruby_code/Fixnum.rb
|
290
|
+
- lib/ruby_code/Hash.rb
|
291
|
+
- lib/ruby_code/NilClass.rb
|
292
|
+
- lib/ruby_code/Object.rb
|
293
|
+
- lib/ruby_code/String.rb
|
294
|
+
- lib/ruby_code/Symbol.rb
|
295
|
+
- lib/standard_library/Tasks.rb
|
296
|
+
- lib/theories.rb
|
297
|
+
- lib/theory/ActionImplementation.rb
|
298
|
+
- lib/theory/TheoryAction.rb
|
299
|
+
- lib/theory/TheoryChainValidator.rb
|
300
|
+
- lib/theory/TheoryComponent.rb
|
301
|
+
- lib/theory/TheoryConnector.rb
|
302
|
+
- lib/theory/TheoryDependent.rb
|
303
|
+
- lib/theory/TheoryImplementation.rb
|
304
|
+
- lib/theory/TheoryResult.rb
|
305
|
+
- lib/theory/TheoryVariable.rb
|
306
|
+
- lib/theory/theory_collection.rb
|
307
|
+
- lib/util/ClassEvaluation.rb
|
308
|
+
- lib/util/CodeEvaluation.rb
|
309
|
+
- lib/util/DeclarationStatementEvaluation.rb
|
310
|
+
- lib/util/MethodEvaluation.rb
|
311
|
+
- lib/util/MethodTester.rb
|
312
|
+
- lib/util/MethodValidation.rb
|
313
|
+
- lib/util/MethodWriter.rb
|
314
|
+
- lib/util/Parser.rb
|
315
|
+
- lib/util/StatementCheck.rb
|
316
|
+
- lib/util/StringToTheory.rb
|
317
|
+
- lib/util/System.rb
|
318
|
+
- spec/cauldron/pot_spec.rb
|
319
|
+
- spec/cauldron/runtime_method_spec.rb
|
320
|
+
- spec/cauldron/sexp_2_cauldron_spec.rb
|
321
|
+
- spec/cauldron/terminal_spec.rb
|
322
|
+
- spec/cauldron/theory_action_spec.rb
|
323
|
+
- spec/spec_helper.rb
|
324
|
+
- test/fixtures/chains/1/declaration.txt
|
325
|
+
- test/fixtures/chains/1/dump
|
326
|
+
- test/fixtures/chains/2/declaration.txt
|
327
|
+
- test/fixtures/chains/2/dump
|
328
|
+
- test/fixtures/chains/3/declaration.txt
|
329
|
+
- test/fixtures/chains/3/dump
|
330
|
+
- test/fixtures/implementation_results/0/declaration.txt
|
331
|
+
- test/fixtures/implementation_results/0/dump
|
332
|
+
- test/fixtures/theories/0/declaration.txt
|
333
|
+
- test/fixtures/theories/0/desc
|
334
|
+
- test/fixtures/theories/0/dump
|
335
|
+
- test/fixtures/theories/1/declaration.txt
|
336
|
+
- test/fixtures/theories/1/desc
|
337
|
+
- test/fixtures/theories/1/dump
|
338
|
+
- test/fixtures/theories/10/declaration.txt
|
339
|
+
- test/fixtures/theories/10/desc
|
340
|
+
- test/fixtures/theories/10/dump
|
341
|
+
- test/fixtures/theories/11/declaration.txt
|
342
|
+
- test/fixtures/theories/11/desc
|
343
|
+
- test/fixtures/theories/11/dump
|
344
|
+
- test/fixtures/theories/12/declaration.txt
|
345
|
+
- test/fixtures/theories/12/desc
|
346
|
+
- test/fixtures/theories/12/dump
|
347
|
+
- test/fixtures/theories/13/declaration.txt
|
348
|
+
- test/fixtures/theories/13/desc
|
349
|
+
- test/fixtures/theories/13/dump
|
350
|
+
- test/fixtures/theories/14/declaration.txt
|
351
|
+
- test/fixtures/theories/14/desc
|
352
|
+
- test/fixtures/theories/14/dump
|
353
|
+
- test/fixtures/theories/15/declaration.txt
|
354
|
+
- test/fixtures/theories/15/desc
|
355
|
+
- test/fixtures/theories/15/dump
|
356
|
+
- test/fixtures/theories/16/declaration.txt
|
357
|
+
- test/fixtures/theories/16/desc
|
358
|
+
- test/fixtures/theories/16/dump
|
359
|
+
- test/fixtures/theories/17/declaration.txt
|
360
|
+
- test/fixtures/theories/17/desc
|
361
|
+
- test/fixtures/theories/17/dump
|
362
|
+
- test/fixtures/theories/18/declaration.txt
|
363
|
+
- test/fixtures/theories/18/desc
|
364
|
+
- test/fixtures/theories/18/dump
|
365
|
+
- test/fixtures/theories/19/declaration.txt
|
366
|
+
- test/fixtures/theories/19/desc
|
367
|
+
- test/fixtures/theories/19/dump
|
368
|
+
- test/fixtures/theories/2/declaration.txt
|
369
|
+
- test/fixtures/theories/2/desc
|
370
|
+
- test/fixtures/theories/2/dump
|
371
|
+
- test/fixtures/theories/20/declaration.txt
|
372
|
+
- test/fixtures/theories/20/desc
|
373
|
+
- test/fixtures/theories/20/dump
|
374
|
+
- test/fixtures/theories/3/declaration.txt
|
375
|
+
- test/fixtures/theories/3/desc
|
376
|
+
- test/fixtures/theories/3/dump
|
377
|
+
- test/fixtures/theories/4/declaration.txt
|
378
|
+
- test/fixtures/theories/4/desc
|
379
|
+
- test/fixtures/theories/4/dump
|
380
|
+
- test/fixtures/theories/5/declaration.txt
|
381
|
+
- test/fixtures/theories/5/desc
|
382
|
+
- test/fixtures/theories/5/dump
|
383
|
+
- test/fixtures/theories/6/declaration.txt
|
384
|
+
- test/fixtures/theories/6/desc
|
385
|
+
- test/fixtures/theories/6/dump
|
386
|
+
- test/fixtures/theories/7/declaration.txt
|
387
|
+
- test/fixtures/theories/7/desc
|
388
|
+
- test/fixtures/theories/7/dump
|
389
|
+
- test/fixtures/theories/8/declaration.txt
|
390
|
+
- test/fixtures/theories/8/desc
|
391
|
+
- test/fixtures/theories/8/dump
|
392
|
+
- test/fixtures/theories/9/declaration.txt
|
393
|
+
- test/fixtures/theories/9/desc
|
394
|
+
- test/fixtures/theories/9/dump
|
395
|
+
- test/fixtures/theory_implementations/0/declaration.txt
|
396
|
+
- test/fixtures/theory_implementations/0/desc.txt
|
397
|
+
- test/fixtures/theory_implementations/0/dump
|
398
|
+
- test/fixtures/theory_implementations/0/theory_id
|
399
|
+
- test/fixtures/theory_implementations/1/desc.txt
|
400
|
+
- test/fixtures/theory_implementations/1/dump
|
401
|
+
- test/fixtures/theory_implementations/1/theory_id
|
402
|
+
- test/fixtures/theory_implementations/2/desc.txt
|
403
|
+
- test/fixtures/theory_implementations/2/dump
|
404
|
+
- test/fixtures/theory_implementations/2/theory_id
|
405
|
+
- test/output/simple_method.txt
|
406
|
+
- test/output/test_method/first_possible_method.txt
|
407
|
+
- test/output/test_simple_cases/simple_case_01.txt
|
408
|
+
- test/output/test_simple_cases/simple_case_02.txt
|
409
|
+
- test/output/test_simple_cases/simple_case_03.txt
|
410
|
+
- test/output/test_simple_cases/simple_case_04.txt
|
411
|
+
- test/output/test_simple_cases/simple_case_05.txt
|
412
|
+
- test/output/test_simple_cases/simple_case_06.txt
|
413
|
+
- test/output/test_simple_cases/simple_case_07.txt
|
414
|
+
- test/output/test_simple_cases/simple_case_08.txt
|
415
|
+
- test/tc_contextual_variables.rb
|
416
|
+
- test/tc_describe.rb
|
417
|
+
- test/tc_method.rb
|
418
|
+
- test/tc_requirement.rb
|
419
|
+
- test/tc_suite_complete.rb
|
420
|
+
- test/tc_variable.rb
|
421
|
+
- test/ts_complete.rb
|
422
|
+
- test/ts_stable.rb
|
423
|
+
- test/unit/core/declaration/tc_literal_declaration.rb
|
424
|
+
- test/unit/core/method_call/tc_class_call.rb
|
425
|
+
- test/unit/core/runtime_method/tc_realised_runtime_method.rb
|
426
|
+
- test/unit/core/runtime_method/tc_runtime_method.rb
|
427
|
+
- test/unit/core/statement/tc_array_access.rb
|
428
|
+
- test/unit/core/statement/tc_block_statement.rb
|
429
|
+
- test/unit/core/statement/tc_hack_statement.rb
|
430
|
+
- test/unit/core/statement/tc_open_statement.rb
|
431
|
+
- test/unit/core/statement/tc_statement.rb
|
432
|
+
- test/unit/core/statement/tc_statement_dependencies.rb
|
433
|
+
- test/unit/core/statement/tc_statement_group.rb
|
434
|
+
- test/unit/core/statement/tc_statement_replace_variable.rb
|
435
|
+
- test/unit/core/statement/tc_theory_statement.rb
|
436
|
+
- test/unit/core/structure/tc_declare_new_instance_structure.rb
|
437
|
+
- test/unit/core/structure/tc_declare_variable_as_literal_structure.rb
|
438
|
+
- test/unit/core/structure/tc_declare_variable_as_variable_structure.rb
|
439
|
+
- test/unit/core/structure/tc_instance_call_container_structure.rb
|
440
|
+
- test/unit/core/structure/tc_return_structure.rb
|
441
|
+
- test/unit/core/syntax/tc_block_container.rb
|
442
|
+
- test/unit/core/syntax/tc_if_container.rb
|
443
|
+
- test/unit/core/tc_class_method_call.rb
|
444
|
+
- test/unit/core/tc_container.rb
|
445
|
+
- test/unit/core/tc_ctest_case.rb
|
446
|
+
- test/unit/core/tc_instance_call_container.rb
|
447
|
+
- test/unit/core/tc_literal.rb
|
448
|
+
- test/unit/core/tc_theory_generator.rb
|
449
|
+
- test/unit/core/tc_theory_generator_heavy.rb
|
450
|
+
- test/unit/core/tracking/tc_history.rb
|
451
|
+
- test/unit/core/tracking/tc_step.rb
|
452
|
+
- test/unit/core/variable/tc_array_variable.rb
|
453
|
+
- test/unit/core/variable/tc_block_variable.rb
|
454
|
+
- test/unit/core/variable/tc_fixnum_variable.rb
|
455
|
+
- test/unit/core/variable/tc_method_parameter_variable.rb
|
456
|
+
- test/unit/core/variable/tc_runtime_method_variable.rb
|
457
|
+
- test/unit/core/variable/tc_string_variable.rb
|
458
|
+
- test/unit/core/variable/tc_unknown.rb
|
459
|
+
- test/unit/core/variable/tc_variable_reference.rb
|
460
|
+
- test/unit/ruby_code/tc_array.rb
|
461
|
+
- test/unit/ruby_code/tc_fixnum.rb
|
462
|
+
- test/unit/ruby_code/tc_hash.rb
|
463
|
+
- test/unit/ruby_code/tc_string.rb
|
464
|
+
- test/unit/tc_chain.rb
|
465
|
+
- test/unit/tc_chain_mapping.rb
|
466
|
+
- test/unit/tc_chain_with_case_1.rb
|
467
|
+
- test/unit/tc_instance_call.rb
|
468
|
+
- test/unit/tc_instance_call_structure.rb
|
469
|
+
- test/unit/tc_method_usage.rb
|
470
|
+
- test/unit/tc_pot.rb
|
471
|
+
- test/unit/tc_runtime_tracking_method.rb
|
472
|
+
- test/unit/tc_statement_structure_2.rb
|
473
|
+
- test/unit/tc_theory.rb
|
474
|
+
- test/unit/tc_variable_declaration.rb
|
475
|
+
- test/unit/theory/tc_theory_action.rb
|
476
|
+
- test/unit/theory/tc_theory_action_implementation.rb
|
477
|
+
- test/unit/theory/tc_theory_chain_validator.rb
|
478
|
+
- test/unit/theory/tc_theory_connector.rb
|
479
|
+
- test/unit/theory/tc_theory_dependent.rb
|
480
|
+
- test/unit/theory/tc_theory_implementation.rb
|
481
|
+
- test/unit/theory/tc_theory_result.rb
|
482
|
+
- test/unit/theory/tc_theory_variable.rb
|
483
|
+
- test/unit/util/tc_method_validation.rb
|
484
|
+
- test/unit/util/tc_parser.rb
|
485
|
+
- test/unit/util/tc_string_to_theory.rb
|
486
|
+
- test/unit/variable/tc_method_usage_variable.rb
|
487
|
+
- tmp/runtime_method_evaluation.rb
|
488
|
+
homepage: http://github.com/theinbetweens/cauldron
|
489
|
+
licenses:
|
490
|
+
- MIT
|
491
|
+
post_install_message:
|
492
|
+
rdoc_options: []
|
493
|
+
|
494
|
+
require_paths:
|
495
|
+
- lib
|
496
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
497
|
+
none: false
|
498
|
+
requirements:
|
499
|
+
- - ">="
|
500
|
+
- !ruby/object:Gem::Version
|
501
|
+
hash: 3
|
502
|
+
segments:
|
503
|
+
- 0
|
504
|
+
version: "0"
|
505
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
506
|
+
none: false
|
507
|
+
requirements:
|
508
|
+
- - ">="
|
509
|
+
- !ruby/object:Gem::Version
|
510
|
+
hash: 3
|
511
|
+
segments:
|
512
|
+
- 0
|
513
|
+
version: "0"
|
514
|
+
requirements: []
|
515
|
+
|
516
|
+
rubyforge_project:
|
517
|
+
rubygems_version: 1.8.5
|
518
|
+
signing_key:
|
519
|
+
specification_version: 3
|
520
|
+
summary: Generate simple ruby methods from the input(s) and expected output
|
521
|
+
test_files: []
|
522
|
+
|