Skip to content

mkhan45/learning_synthesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learning_synthesis

Try it out at https://mkhan45.github.io/learning_synthesis/

check out https://mkhan45.github.io/interactive_vsa/

// generates: (X[X.find('\d', 0)..(1 + X.find(('\d' <> '\b'), 0))]), size = 13
test_str!(
    test_duet_numbers,
    "I have 17 cookies" => "17",
    "Give me at least 3 cookies" => "3",
    "This number is 489" => "489";

    "A string with the number 54234564 in the middle" => "54234564",
    "36" => "36",
    "Number at the end 74" => "74"
);

More examples in tests.rs

Roughly following these to write a string transformation synthesizer

Goals:

Releases

No releases published

Packages

No packages published

Languages