Project

cauldron

0.0
No release in over 3 years
Low commit activity in last 3 years
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

~> 1.2.5
 Project Readme

Code Climate

Build Status

Usage

Cauldron can generate a very limited range of simple ruby functions to solve supplied problem. The following example will print the following ruby code.

def function(var0)
  var0 + 1
end
require 'cauldron'

pot = Cauldron::Pot.new
result = pot.solve(
  [
    {arguments: [7], response: 8},
    {arguments: [10], response: 11}
  ]
)
puts result