boson-lang
boson-lang copied to clipboard
Passing `boson::types::object::Object` as input parameters, something like $1 $2 in bash?
BosonLang::eval_buffer()
doesn't let to push any external parameters, if we could send rust types which can be Into<Object>
deeply, it'll be very beneficial to manipulate them from boson...
Same way we can return, we can take parameters (in form of arrays of Object).
Is there anything already present that I'm missing to look at or is it not implemented yet.
Or we could have a serde feature which lets a serialized stateless data to be directly parsed and used as input parameters.
Hi @Animeshz thanks
Seems interesting. Let me know if you want to make a PR!
Okay, I'll try :)