microsoft / prose

Microsoft Program Synthesis using Examples SDK is a framework of technologies for the automatic generation of programs from input-output examples. This repo includes samples and sample data for the Microsoft Program Synthesis using Example SDK.
https://microsoft.github.io/prose/
Other
618 stars 100 forks source link

Error in creating my own DSL #62

Closed VioletLi closed 2 years ago

VioletLi commented 2 years ago

Hello, I try to rewrite tutorial to create my own DSL, and when I run Program.cs, I got a NullReferenceException in var prose = new SynthesisEngine(Grammar, synthesisConfig); and I find Grammar is null. I found I didn't provide score functions for my DSL, but is it neccessary to provide score function for every components in DSL? Can I use some default score function? Thank you!