HF RL Explorer

I want the Go compiler package to expose a one-shot function CompileToInstructions(input string, pm…

I want the Go compiler package to expose a one-shot function CompileToInstructions(input string, pm…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). For CompileToInstructions("1 + 2", parser.NormalMode) , it should return no error and one ProgramStart instruction…

The task

For `CompileToInstructions("1 + 2", parser.NormalMode)`, it should return no error and one `ProgramStart` instruction set whose first instructions include `putobject` for `1`, `putobject` for `2`, `send` for `+`, followed by `pop` and `leave` on source line 1. For `CompileToInstructions("module Foo\nend\n",…

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.