Closed ghost closed 1 year ago
Not possible, the VM runs programs not functions with programs.
Not possible, the VM runs programs not functions with programs.
Why it's possible with other languages that also run on a VM? Objeck's architecture is anything different?
Take for example: Mozilla Rhino and Java Nashorn, V8 (otherwise there would be no NodeJS and Deno), Python,... Just create a new interpreter object and you could evaluate anything you want. What make Objeck so different?
Again, Objeck executes programs, not functions. It may be possible to execute a function if there is an entry point, i.e., like Main
. Please, understand I do not have time to explore all your suggestions.
It seems interesting. However, porting seems timely.
Discussed in https://github.com/objeck/objeck-lang/discussions/131
Note: This is about calling methods written in Objeck from C++.