-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hi!
Zulip is a self-hostable open-source team collaborative communication tool.
It has a feature called code playgrounds.
For example, to configure a code playground for code blocks tagged as Rust, you can set:
Language: Rust
Name: Rust playground
URL template: https://play.rust-lang.org/?code={code}
For more examples and technical details, see the help center documentation on adding code playgrounds.
Unfortunately Zulip doesn't support base64 encoding, and can't embed custom metadata that might be present there.
If this playground would allow passing the script code in uri-encoded format. Godot has tools to encode/decode text this way.
Allowing to pass raw code text and have it placed inside the ready function of a Node would mean a user can do
for i in range(0,10):
print("this is the number %d" % [i])
Open it in the playground , and be able to hit Ctrl+Enter to evaluate their code immediatelly.