Larry Clapp

Results 31 issues of Larry Clapp

The readme says > So, for example, if you have a time-series with samples once per second, and you want to get the moving average over the previous minute, you...

### The following test case in `interp/interp_eval_test.go` triggers an unexpected result ```go func TestIssue1632(t *testing.T) { var j int i := interp.New(interp.Options{}) if err := i.Use(interp.Exports{ "pkg/pkg": map[string]reflect.Value{ "J": reflect.ValueOf(&j).Elem(),...

bug

Many updates. As the PR title says, get the project going again. Read the commit msgs, but be advised that I made no effort to clean up the commit log,...

enhancement
yaegi

We copy the entire source module to $TMPDIR and then run from there. Create some way to ignore some paths in the source module so they're not copied, e.g. .git,...

We copy the source module to $TMPDIR and then run from there. This breaks `replace` directives in `go.mod` with relative paths. Rewrite them to be absolute paths.

Yaegi won't interpret some legal Go constructs (see #2 & #3). That can be frustrating to discover at runtime. Add the ability to run each generated replacement function during the...

enhancement

(Yaegi issue.) See https://github.com/gioui/gio-example/blob/d6ec266262f41bfc815c4c7bea0f33a2468f9167/kitchen/kitchen.go#L240: ```go if e, ok := e.(widget.SubmitEvent); ok ``` `e` is a `widget.EditorEvent`: ```go type EditorEvent interface { isEditorEvent() } ``` SubmitEvent: ```go type SubmitEvent struct {...

bug
yaegi

Provide a network API so you can connect to a program and send new code to it.

enhancement

When you're all done troubleshooting or whatever you're doing, you should be able to reassign all the function pointers back to their original values.

enhancement

There should be some locking around when the function pointers are assigned. There may need to be some larger coordination in the face of multiple function redefinitions at the same...

enhancement