-
Hi, I've been trying out Risor as an embedded language for a pet project. I'm happy with Risor so far and it seems to fit my needs. However I need to be able to keep the Risor state between different
This fails, since the second |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Had a look in:
It seems to be working, but I have no idea how Well, I'm satisified, but IMHO Risor would benefit for a nicer API for this kind of usecase. |
Beta Was this translation helpful? Give feedback.
Had a look in:
cmd/risor/repl/repl.go
and got a short example working (error checks removed):It seems to be working, but I have no idea how
print(b); print(value())
gets loaded into the vm. Perhalps viactx
?Well, I'm satisified, but IMHO Risor would benefit for a …