yzrun
yzrun
Something is wrong when matching against pure literal rules, such as `pi + 3 --> cos(4)`, `im+(pi+3) --> sin(4)`. The following demo can reproduce the issue. I've tried different versions...
Is it possible to extract the steps needed to produce the final answer? for example. `(a*2)/2` -step1-> `a*(2/2)` -step2-> `a` rule of step1: `(x*y)/z --> x*(y/z)` rule of step2: `x/x...
The following program `thrift_script.go` triggers a panic: ```go package main import ( "context" "github.com/apache/thrift/lib/go/thrift" ) func Invoke(ctx context.Context, iproto thrift.TProtocol, oproto thrift.TProtocol) error { return nil } func main() {...
The following program `invoke.go` gets an `interp.valueInterface`, which should be a reflect.Value instead, according to [#989](https://github.com/traefik/yaegi/issues/989) ```go package main import ( "context" "fmt" "github.com/traefik/yaegi/interp" "github.com/traefik/yaegi/stdlib" "go/build" ) type DTO =...
#### Proposal Retrieve value from valueinterface #### Background ```go type DTO = map[string]interface{} func Invoke(ctx context.Context, req DTO) (*DTO, error) { return &DTO{ "trace_id": req["trace_id"], }, nil } ``` Evaluate...
The following program `go run eval_man.go` triggers a panic: ```console ➜ yaegi_demo go run eval_man.go panic: interface conversion: interp.valueInterface is not main.CanEat: missing method Eat ... ``` The source code...
Does not support image format other than 8-bit png. But they are supported at http://research.swtch.com/qr/draw. It seems that swtch uploads and converts images to 8-bit pngs before generating.
Current trace client is a simple wrapper of `eval`: ```python eval('hunter.trace({})'.format(options)) ``` It works for simple or medium complex situations, such as: - `hunter-trace -p 34313 stdlib=False` - `hunter-trace -p...
**Is your feature request related to a problem? Please describe.** I found some functions in Wolfram Language are missing in Mathics, such as Refine, Reduce, AddSides, SubtractSides, MultiplySides, DivideSides, ApplySides....